Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiiagoms/payload-example
A little (simple) tool to execute commands on remote machine :bow_and_arrow:
https://github.com/thiiagoms/payload-example
hack-the-world network pentest python shell shell-server
Last synced: 27 days ago
JSON representation
A little (simple) tool to execute commands on remote machine :bow_and_arrow:
- Host: GitHub
- URL: https://github.com/thiiagoms/payload-example
- Owner: thiiagoms
- License: 0bsd
- Created: 2019-08-13T01:57:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-31T19:19:59.000Z (over 3 years ago)
- Last Synced: 2024-11-15T20:41:01.203Z (3 months ago)
- Topics: hack-the-world, network, pentest, python, shell, shell-server
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Simple payload with Python! :rocket:
Execute commands, get info about system with this little pythonic example. You **MUST** use this example **ONLY** for educational purposes.
- [Dependencies](#dependencies)
- [Use:](#use)### Dependencies
* Python 3.5+### Use:
1 - Clone the repository:
```bash
$ git clone https://github.com/thiiagoms/shell-server,
```2 - Change host and port on `payload.py` and then execute on target machine:
```python
$ sudo python payload.py
```3 - You can use netcat for example, to connect on host and port:
```bash
$ netcat[*] Username: root
[*] Password: 123456$
```4 - You have two commands on payload: `shell, server-info and exit`
* First: `shell` to execute commands on target machine
```bash
Welcome to socket server panel.
$ shell
shell >>: lsassets
LICENSE
payload.py
README.mdshell >>: whoami
root
```
* Second: `server-info` to get info about machine
```bash
$ server infoLinux codex 5.13.19-2-MANJARO #1 SMP PREEMPT Sun Sep 19 21:31:53 UTC 2021 x86_64 GNU/Linux
```
* Third: `exit` to exit payload and close connection:
```bash
$ exit
```