zzz_exploit.py - enable smb copy of file and execute.
Pr1vEsc opened this issue · 1 comments
I would like to enable this in the file instead of the shell
smbConn = conn.get_smbconnection()
smb_send_file(smbConn, 'shell.exe', 'C', '/test.exe')
service_exec(conn, r'c:\test.exe')
Is this possible because I am testing with a WinXP host and scripts do not work against that machine.
In theory any function supported by SMB/the smb library in this project is "possible" to use against targets. Your compatibility may vary based on your target's architecture and feature support, but as long as both sides support it then it should work.
That said, I don't maintain or support anything beyond the baseline functionality. I am happy to take PRs for enhancements that enable such features, but the primary focus of this variant of the public exploit code is to just maintain a stable proof of concept for getting remote code execution. This is not intended to be an all encompassing "eternal blue exploit framework" so incidentally it will be pretty bare bones unless further contributions are made. At this time I do not intend to add any further features on my own outside of general maintenance and support for the baseline functionality.
Anything extra is up to the user of the scripts. If you'd like it to be more officially supported then I would recommend doing the research to get the feature working yourself and submitting a PR.