ShawnDEvans / smbmap

SMBMap is a handy SMB enumeration tool
GNU General Public License v3.0
1.75k stars 343 forks source link

Releasing a Windows executable ? #7

Open maaaaz opened 9 years ago

maaaaz commented 9 years ago

Hello Shawn,

Well first let me thank you for developing this cool script. I wished to have the very same features directly from metasploit modules (hello issue 3994) but it seems that the implementation is not yet available :(

Anyway, I wanted to ask you whether you plan to release "one-file" windows executable for your script, as you can do with py2exe (take a look at that link and that one). The idea is to be able to easily deploy it on pwned Windows boxes during internal engagements for pivoting purposes...without going through the tedious phase of installing Python binaries + dependencies.

ShawnDEvans commented 9 years ago

Hey Thomas,

Thanks a bunch for taking interest in the project! I'm very pleased (and surprised) about the warm reception it has received. Developing it has been a pleasure, and using it on internal network assessments has been very beneficial. In all honesty I hadn't even considered releasing this tool as a one-file windows binary, but I don't see any reason that it wouldn't be possible. One of the contributors to the project is currently working on a pretty significant re-work of the original code. All of the functionality will remain intact, but all execution will be performed asynchronously (i.e multi threaded). The speed increase is prety incredible, an also opens the door for SMB brute force attacks (along the lines of smb_login_domain). In addition, I'm going to be adding a function that will auto copy SAM hives, which would compliment a "one-file" Windows executable version quite nicely. I'll def keep this idea in mind once we get a stable multi-threaded version released. In the mean time, I hope the version in it's current guise is working for you. Be sure to check back for updates (or even check out the branch started by byt3bl33d3r https://github.com/byt3bl33d3r https://github.com/ShawnDEvans/smbmap/pull/6 for the infant multi-threaded release). Thanks again man!!

-Shawn

On Mon, May 4, 2015 at 4:03 PM Thomas D. notifications@github.com wrote:

Hello Shawn,

Well first let me thank you for developing this cool script. I wished to have the very same features directly from metasploit modules (hello issue 3994 https://github.com/rapid7/metasploit-framework/issues/3994) but it seems that the implementation is not yet available :(

Anyway, I wanted to ask you whether you plan to release "one-file" windows executable for your script, as you can do with py2exe (take a look at that link http://docs.python-guide.org/en/latest/shipping/freezing/ and that one https://freepythontips.wordpress.com/2014/03/03/using-py2exe-the-right-way/).

The idea is to be able to easily deploy it on pwned Windows boxes during internal engagements for pivoting purposes...without going through the tedious phase of installing Python binaries + dependencies.

— Reply to this email directly or view it on GitHub https://github.com/ShawnDEvans/smbmap/issues/7.

maaaaz commented 9 years ago

That a bunch of good news, thank you !

bubbsi commented 8 years ago

smbmap.zip

successfully compiled with pyinstaller on windows 10, 64 bit.