Skip to content

wintrmvte/epic_shell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Epic Shell

This is just a dumb project to improve my coding skills. The goal was to create a webshell that isn't a pain to work with, and one that won't get immediately detected by IPS solutions (work in progress).

Usage

usage: beta.py [-h] [-c CONNECT] [-k KEY] [-g] [-pk PKEY]

Web Shell

optional arguments:
  -h, --help                     show this help message and exit
  -g, --generate                 Generate new key and webshell.
  -c CONNECT, --connect CONNECT  URL of web shell to connect to.
  -k KEY, --key KEY              Auth key for the generated web shell.
  -pk PKEY, --payload-key PKEY   Payload key for webshell.

It is highly recommended to wrap the keys in double-quotes or single-quotes on your terminal to prevent issues connecting.

Examples

screenshot

Use the -g option to generate a web shell and an accompanying authentication key. There's probably a sneakier way to do it, but this currently requires a specific cookie header to interact with.

screenshot

Alternatively, if you have the generated shell loaded onto a server, you can interact with it by specifying the --connect <URL>, -k KEY, and -pk PAYLOAD_KEY arguments. This shell supports terminal clearing via the "clear" command. There may be some risks with using os.system to do this, but w/e. Baby project, don't care at the moment.

Payload traffic is base64 & XOR encoded. The session HMAC and XOR schemes are polymorphic, and the values will change everytime you generate a shell. I will try to make this beefier as I get better with PHP. Enjoy!

screenshot

Anyone trying to access the shell without the accompanying keys should see this page (might need some work to make it more believable).

About

An epic web shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%