Experiments it --Recursive

Environment: win10 , Kali virtual machine

Tools: ida

 

VM open look and found that ELF file, run it, no amount of discovery.

 

 

Ida open look, found to be running in internal documents python interpreter, Baidu search can find a basically Py_FrozenMain , follow up

 

 

Looking down, found there are two variables, then invokes _getenv function:

 

Function that returns the contents, indicating there are two variables that should presumably will have something to return to the Linux inside to continue

 

View Folder will find more than a few files

I guess the flag should be on one of them

String search using regular expressions

 

flag{python_taken_2_far}

Guess you like

Origin www.cnblogs.com/chuxinbubian/p/10962636.html