Skip to content

superuser5/wgetsh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

wgetsh

Very expirmental PoC for a reverse shell requiring only wget and sh on the remote machine

Usage

First run the server:

sudo python3 server.py

Default port is 80. If needed change in the code.

Then modify the client.sh to set ths fqdn or the server (and the code if required) then run it.

sh client.sh

The client should connect to the server. Use the server's console to run the command and display the results. Type exit on the console to stop the client. If the client is not stopped, it will try to reconnect forever.

Example

$sudo python3 server.py 
Welcome to the wgetsh.

(wgetsh) Http Server Serving at port 80

(wgetsh) pwd
(wgetsh) /tmp/test

About

Reverse shell framework using only wget and sh on the remote machine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 51.4%
  • Python 48.6%