master
Mr. Robot 3 years ago committed by GitHub
parent 74434cd90d
commit bab9479df1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,7 +44,7 @@
], ],
"file-write": [ "file-write": [
{ {
"code": "TF=$(mktemp)\necho 'lua -e 'local f=io.open(\"[file]\", \"wb\"); f:write(\"[data]\"); io.close(f);' > $TF\nnmap --script=$TF\n" "code": "TF=$(mktemp)\necho 'local f=io.open(\"[file]\", \"wb\"); f:write(\"[data]\"); io.close(f);' > $TF\nnmap --script=$TF\n"
}, },
{ {
"description": "The payload appears inside the regular nmap output.", "description": "The payload appears inside the regular nmap output.",
@ -53,7 +53,7 @@
], ],
"file-read": [ "file-read": [
{ {
"code": "TF=$(mktemp)\necho 'lua -e 'local f=io.open(\"[file]\", \"rb\"); print(f:read(\"*a\")); io.close(f);' > $TF\nnmap --script=$TF\n" "code": "TF=$(mktemp)\necho 'local f=io.open(\"[file]\", \"rb\"); print(f:read(\"*a\")); io.close(f);' > $TF\nnmap --script=$TF\n"
} }
], ],
"sudo": [ "sudo": [

Loading…
Cancel
Save