Skip to content

Crash when solving CTF chall #125

@Peter774

Description

@Peter774

https://github.com/Thread-in-the-Needle/NTUAH4CK-3.0/blob/main/reverse/onelinerev/challenge/challenge.py

$ fickling file
Traceback (most recent call last):
  File "/home/kali/env/bin/fickling", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/kali/env/lib/python3.12/site-packages/fickling/cli.py", line 184, in main
    print(unparse(interpreter.to_ast()))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ast.py", line 1791, in unparse
    return unparser.visit(ast_obj)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ast.py", line 860, in visit
    return "".join(self._source)
           ^^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 109: expected str instance, Name found

fickling version 0.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions