triant wrote:
curious, though, what you used to decompile the code (never know when i might need to tackle something like this again). my version of uncompyler only works on python 2.7 code, which the remote scripts were evidently not written in.
Well, this took me a bit to figure out as I'm not a python coder. I used this decompiler:
https://code.google.com/p/fupy/
But the issue I was running into wasn't the decompiler, it was the fact that I wasn't using the right version of python to do the decompile. I found this page to help me out:
http://stackoverflow.com/questions/7807 ... s-compiled
This showed me that the version of python the .pyc was created in was 2.5c2. So i went here to download that specific version:
http://www.python.org/ftp/python/2.5/prev/
Was working in a windows VM, so I downloaded
python-2.5c2.msi and used that to run the script.
I did have to comment out a couple lines at the bottom of the decompiler script as they were blowing it up:
# except PythonDecompilerError as z:
# print("Error: " + str(z))