Jump to content
Tuts 4 You

Edit History

Extreme Coders

Extreme Coders

15 hours ago, shadow.Walker said:

do u mind explaining how to do that? how to dump the bytes from _PyEval_EvalFrameDefault

_PyEval_EvalFrameDefault executes a code object on the Python frame.
To dump the code object to a file you need to use PyMarshal_WriteObjectToFile / PyMarshal_WriteObjectToString at an appropriate place within the function.

 

15 hours ago, shadow.Walker said:

what Dnspy got to do with a python compiled program!! would u explain how u managed to modified the _PyEval_EvalFrameDefault function!

DnSpy has nothing to do with Python. It's just a piece of string inserted there on purpose.

Extreme Coders

Extreme Coders

15 hours ago, shadow.Walker said:

do u mind explaining how to do that? how to dump the bytes from _PyEval_EvalFrameDefault

_PyEval_EvalFrameDefault executes a code object on the Python frame.
To dump the code object to a file you need to use PyMarshal_WriteObjectToFile / PyMarshal_WriteObjectToString at the appropriate place within the function.

 

15 hours ago, shadow.Walker said:

what Dnspy got to do with a python compiled program!! would u explain how u managed to modified the _PyEval_EvalFrameDefault function!

DnSpy has nothing to do with Python. It's just a piece of string inserted there on purpose.

×
×
  • Create New...