Nov-04-2017, 03:44 AM
i would like to know what facilities might exist to translate a .pyc file back to some form of python source.
here's my case:
i found a package installed on my computer that i had not installed. so maybe it was a dependency of something else, although i cannot find any references in all of the files in /etc, /usr, and /var. the thing that attracted my attention to this package was the combination of some kind of packaging description files and it having the same name as some code i write and put online. further, there was the oddity, that these packaging description files are dated just one day after i released my code. i am not considering this as stolen since i released my code under an MIT-like license. this package appears to have only a .pyc file. the name is not found under pip or apt-get (for Ubuntu). but i am curious if my code was used.
here is my code:
http://linuxhomepage.com/free/columnize.py
here is a gzipped tarball of the package files i found on my laptop:
http://linuxhomepage.com/free/columnize-0.3.9.tar.gz
if i could just get some idea of the order of logic they used, it would help. so rough decompiler could help.
here's my case:
i found a package installed on my computer that i had not installed. so maybe it was a dependency of something else, although i cannot find any references in all of the files in /etc, /usr, and /var. the thing that attracted my attention to this package was the combination of some kind of packaging description files and it having the same name as some code i write and put online. further, there was the oddity, that these packaging description files are dated just one day after i released my code. i am not considering this as stolen since i released my code under an MIT-like license. this package appears to have only a .pyc file. the name is not found under pip or apt-get (for Ubuntu). but i am curious if my code was used.
here is my code:
http://linuxhomepage.com/free/columnize.py
here is a gzipped tarball of the package files i found on my laptop:
http://linuxhomepage.com/free/columnize-0.3.9.tar.gz
if i could just get some idea of the order of logic they used, it would help. so rough decompiler could help.