Msmap is a Memory WebShell Generator. Compatible with various Containers, Components, Encoder, WebShell / Proxy / Killer and Management Clients.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkH6dBAUHliKLt9CSYTqX7kjArYVjrEw9RaJkBVjXK2r74FNgyNKAX5rAC7QlggUzSNQefXSqIrtkzuIwLjw8uEvSFG2HrDhz2fxEBrNYEmuytoWd39Egl2cLisey51s3DjYkvGQLPX4ze_jx3pRekNIwptIbUGoZW5ojDqi1WwRIpZUiotXvca1TG/s1409/MSMAP1.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQn_G06V8SpF48MutZxRr7KBxLNsdpB9NwPJn1PwbTo7whLCv6N2H76zAsifs8M6N3x23oxZZaBs_THru6pusGSnhtFcof3qEN2JMlyF5IaMpzpoIjyaLG8lYEz9JZouv7HprF2uAFoKBu89FEodcb89NakESgAo7geqIwn8rHFZbrSVpJLabSdt1l/s1409/MSMAP2.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqubn7t5SJL_h1oXho8tuoZqpHDaj4xeFj6baWB6joIGjOLz4Dm39yOyf24GTa_xp3JM3r4bLw0R5yMPwfv6ihRH6_SzHdpgELenSzTCFaTmoDNjkjykAmHYnq2DpvqvCEKgC21Bd7b1_v_OaI9GQn3RSrjD8Olk4mRuxaFYSG_HFtP1TwMh5olHgi/s1409/MSMAP3.png)
Function
- Dynamic Menu
- Automatic Compilation
- Generate Script
- Lite Mode
- Graphical Interface
Container
- Java
- Tomcat7
- Tomcat8
- Tomcat9
- Tomcat10
- Resin3
- Resin4
- WebSphere
- GlassFish
- WebLogic
- JBoss
- Spring*
- Netty
- JVM*
- .NET
- IIS
- PHP
- Python
*: SpringHandler only support for JDK8+
*: Default support for Linux Tomcat 8/9
, more versions can be adapted according to the advanced guide.
WebShell / Proxy / Killer
- WebShell
- CMD / SH
- AntSword
- JSPJS
- Behinder
- Godzilla
- No need for modularity
Proxy: Neo-reGeorg, wsproxy
Killer: java-memshell-scanner, ASP.NET-Memshell-Scanner
Decoder / Decryptor / Hasher
- Decoder
- Base64
- Hex
- Decryptor
- XOR
- RC4
- AES128
- AES256
- RSA
- Hasher
- MD5
- SHA128
- SHA256
Usage
git clone git@github.com:hosch3n/msmap.git cd msmap python generator.py
[Warning] MUST set a unique password, Options are case sensitive.
Advanced
Edit config/environment.py
# Auto Compile auto_build = True # Base64 Encode Class File b64_class = True # Generate Script File generate_script = True # Compiler Absolute Path java_compiler_path = r"~/jdk1.6.0_04/bin/javac" dotnet_compiler_path = r"C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe"
Edit gist/java/container/tomcat/servlet.py
// Servlet Path Pattern private static String pattern = "*.xml";
If an encryption encoder is used in WsFilter, the password needs to be the same as the path (eg /passwd
)
gist/java/container/jdk/javax.py
with lib/servlet-api.jar
can be replaced depending on the target container.
pip3 install pyperclip
to support automatic copying to clipboard.
Example
CMD / SH
AntSword
Behinder
Godzilla