fickling icon indicating copy to clipboard operation
fickling copied to clipboard

Crash when solving CTF chall

Open Peter774 opened this issue 10 months ago • 0 comments

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

Peter774 avatar Feb 05 '25 13:02 Peter774