worawit / MS17-010

MS17-010
2.14k stars 1.1k forks source link

PyInstaller or Py2Exe #10

Closed GGGunrunner closed 7 years ago

GGGunrunner commented 7 years ago

Thanks for this PoC!

I'm trying to build a fully working .exe for easy deployment (obviously, I cant install Python and tons of dependencies everywhere).

Tried pyinstaller with Python 2.7, it builds the binary, but after running it, I get:

File "C:\PyInstaller-3.2.1\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module exec(bytecode, module.dict) File "socket.py", line 47, in ImportError: No module named _socket Failed to execute script zzz_exploit

=== Any suggestions about which of the python->exe compilers might work? I can foresee alot of trouble fixing all these missing modules, deps, and dlls... but at least I'd give it a try ... :)

worawit commented 7 years ago

No support issue