mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add nmap file-read via -iL optio
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
0f3294204e
commit
41fdcdd27e
@ -96,6 +96,9 @@ functions:
|
|||||||
TF=$(mktemp)
|
TF=$(mktemp)
|
||||||
echo 'local f=io.open("file_to_read", "rb"); print(f:read("*a")); io.close(f);' > $TF
|
echo 'local f=io.open("file_to_read", "rb"); print(f:read("*a")); io.close(f);' > $TF
|
||||||
nmap --script=$TF
|
nmap --script=$TF
|
||||||
|
- description: The file is actually parsed as a list of hosts/networks, lines are leaked through error messages.
|
||||||
|
code: |
|
||||||
|
nmap -iL file_to_read
|
||||||
sudo:
|
sudo:
|
||||||
- description: Input echo is disabled.
|
- description: Input echo is disabled.
|
||||||
code: |
|
code: |
|
||||||
|
Loading…
Reference in New Issue
Block a user