As far as I am concerned, python is wide-used for writing hacking tools such as RATS ( currently I am working on some sort of this) …etc
For sure when I send my gift to the victim I won’t ask him first to install python to hack him
so, the way I know is to fool him by an executable that -should not- require any python more to work
by exploring the various solutions found to go from python to an exe, I found that firstly I can use something like py2exe,pyinstaller…etc
The problem is that they result in huge exe which sure rises suspicions
The Other solution is to to compile python to C - using cython or nuitka - and then go to exe.
I have tried this solution and found tons of problems all due to imports I made, spending some time, I reached my first exe (+ python dll un-fortunately )
and unfortunately again , it didn’t work outside my pc
I hope here to get any solution or detailed guide on how to solve this problem ( how to get a very very small-standalone that can be used like in real hacking situations )
or how real hackers who use python deal with this.
And thanks in advance