ropnop / impacket_static_binaries Goto Github PK
View Code? Open in Web Editor NEWStandalone binaries for Linux/Windows of Impacket's examples
License: Other
Standalone binaries for Linux/Windows of Impacket's examples
License: Other
This seems to be out of date. Is there a way to make this build automatically from https://github.com/SecureAuthCorp/impacket repo once new version comes out?
Hello dear @ropnop,
Thanks for the shout out, and great job for broadening the concept by providing the whole build chain and even support Linux :)
Keep up that awesome work !
Best regards,
Thomas.
First of all good work on this! Downloading all binaries would be much easier if they were inside a single zip though
Impacket v0.9.17 - Copyright 2002-2018 Core Security Technologies
Traceback (most recent call last):
File "ntlmrelayx.py", line 271, in
File "c:\users\admin\appdata\local\temp\pip-install-7erh71\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 396, in load_module
File "build\bdist.win32\egg\impacket\examples\ntlmrelayx\clients_init_.py", line 79, in
File "site-packages\pkg_resources_init_.py", line 1154, in resource_listdir
File "site-packages\pkg_resources_init_.py", line 1416, in resource_listdir
File "site-packages\pkg_resources_init_.py", line 1458, in _listdir
NotImplementedError: Can't perform this operation for unregistered loader type
[8872] Failed to execute script ntlmrelayx
After the first success, I hit Ctrl+ C and run the prompt again
smbexec_windows.exe -hashes :ae···························· rootkit/[email protected]
Cannot determine Impacket version. If running from source you should at least run "python setup.py egg_info"
Impacket v? - Copyright 2020 SecureAuth Corporation
[-] SCMR SessionError: code: 0x431 - ERROR_SERVICE_EXISTS - The specified service already exists.
Hi ropnop,
thank you very much for this awesome work.
Unfortunately I have discovered, that the compiled Windows binaries are not working as intended, since the last 4 to 5 releases.
I think this is due to the used python version you use to compile the binaries.
###This is the output on a Windows system, when running your compiled impacket Windows binaries:
wmiexec_windows.exe
Traceback (most recent call last):
File "wmiexec.py", line 32, in
File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 391, in load_module
File "impacket\version.py", line 11, in
File "site-packages\pkg_resources_init_.py", line 535, in get_distribution
File "site-packages\pkg_resources_init_.py", line 415, in get_provider
File "site-packages\pkg_resources_init_.py", line 943, in require
File "site-packages\pkg_resources_init_.py", line 829, in resolve
pkg_resources.DistributionNotFound: The 'impacket' distribution was not found and is required by the application
[3576] Failed to execute script wmiexec
I have compiled the most actual impacket build (v0.9.22.dev1+20200804.145312.110b886c) myself via PyInstaller and explicitely using Python3 as follows:
python3 -O -m PyInstaller --clean --onefile wmiexec.py
Did this on a Windows OS natively with installed Python and impacket distribution. You have to add a hook for PyInstaller still, if you compile this way. The hook must contain the following:
from PyInstaller.utils.hooks import copy_metadata
datas = copy_metadata('impacket')
When compiled via the method described above, all binaries seem to work well.
this is a real godsend!!! is there a way to run the linux binaries on an Android phone?
Hi,
for anyone wondering it's;
python ./setup.py install
, I had issues with virtualenv
not sure what's needed to build, will have a poke around
C:\Tools>mssqlclient_windows.exe test/webadm:@192.168.151.131 -port 1433 -db master -windows-auth
Traceback (most recent call last):
File "mssqlclient.py", line 25, in
File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 391, in load_module
exec(bytecode, module.dict)
File "impacket\version.py", line 11, in
File "site-packages\pkg_resources_init_.py", line 535, in get_distribution
File "site-packages\pkg_resources_init_.py", line 415, in get_provider
File "site-packages\pkg_resources_init_.py", line 943, in require
File "site-packages\pkg_resources_init_.py", line 829, in resolve
pkg_resources.DistributionNotFound: The 'impacket' distribution was not found and is required by the application
[5204] Failed to execute script mssqlclient
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.