b1ackc4t / assassin Goto Github PK
View Code? Open in Web Editor NEWAssassin是一款精简的基于命令行的webshell管理工具,它有着多种payload发送方式和编码方式,以及精简的payload代码,使得它成为隐蔽的暗杀者,难以被很好的防御。
License: Apache License 2.0
Assassin是一款精简的基于命令行的webshell管理工具,它有着多种payload发送方式和编码方式,以及精简的payload代码,使得它成为隐蔽的暗杀者,难以被很好的防御。
License: Apache License 2.0
./startup.sh: line 3: PAUSE: command not found
Assassin>new java 123 get
Assassin>add http://10.37.200.6:8099/javaget.jsp 123 java get
Assassin>show
|ID|URL |pass |type |method |reqencode|resencode|status|
|1 |http://10.37.200.6:8099/javaget.jsp |123 |java |get |base64 |base64 |1 |
Assassin|java >session 1
send payload size: 44 Byte
OK
Assassin|java >back
OK
Assassin >set 1 resencode raw
OK
Assassin >show
|ID|URL |pass |type |method |reqencode|resencode|status|
|1 |http://10.37.200.6:8099/javaget.jsp |123 |java |get |base64 |raw |1 |
Assassin >session 1
send payload size: 64 Byte
send payload size: 64 Byte javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher at java.base/com.sun.crypto.provider.CipherCore.prepareInputBuffer(CipherCore.java:1005) at java.base/com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:848) at java.base/com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:446) at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2202) at org.b1ackc4t.sender.Crypt.decrypt(Crypt.java:32) at org.b1ackc4t.sender.Sender.attack(Sender.java:249) at org.b1ackc4t.sender.Sender.print(Sender.java:310) at org.b1ackc4t.sender.Sender.testCon(Sender.java:288) at org.b1ackc4t.main.Console.doSession(Console.java:336) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.b1ackc4t.util.Cmd.oneCmd(Cmd.java:54) at org.b1ackc4t.util.Cmd.cmdLoop(Cmd.java:81) at org.b1ackc4t.main.Main.main(Main.java:16) java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.b1ackc4t.util.Cmd.oneCmd(Cmd.java:54) at org.b1ackc4t.util.Cmd.cmdLoop(Cmd.java:81) at org.b1ackc4t.main.Main.main(Main.java:16) Caused by: java.lang.NullPointerException at org.b1ackc4t.sender.Sender.testCon(Sender.java:289) at org.b1ackc4t.main.Console.doSession(Console.java:336) ... 7 more
看说明是 其中响应的编码方式可以动态修改,不知道我这样修改对不对,不管res修改为什么类型,除了base64 其他的都会报错。
Assassin >new java pass2022 cookie reqEncode=base36 tamper=tomcat8_filter.txt
saved -> /Users/mac/webshell/Assassin/./2048.jsp
Assassin >add http://127.0.0.1:8090/p2022/2022.jsp pass2022 java cookie base36
send payload size: 1462 Byte
send payload size: 1461 Byte
send payload size: 1461 Byte
java.lang.IllegalArgumentException: Illegal base64 character 21
at java.util.Base64$Decoder.decode0(Base64.java:714)
at java.util.Base64$Decoder.decode(Base64.java:526)
at org.b1ackc4t.sender.Sender.resDecodeFun(Sender.java:217)
at org.b1ackc4t.sender.Sender.attack(Sender.java:249)
at org.b1ackc4t.sender.Sender.print(Sender.java:310)
at org.b1ackc4t.sender.Sender.testCon(Sender.java:288)
at org.b1ackc4t.main.Console.doAdd(Console.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.b1ackc4t.util.Cmd.oneCmd(Cmd.java:54)
at org.b1ackc4t.util.Cmd.cmdLoop(Cmd.java:81)
at org.b1ackc4t.main.Main.main(Main.java:16)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.b1ackc4t.util.Cmd.oneCmd(Cmd.java:54)
at org.b1ackc4t.util.Cmd.cmdLoop(Cmd.java:81)
at org.b1ackc4t.main.Main.main(Main.java:16)
Caused by: java.lang.NullPointerException
at org.b1ackc4t.sender.Sender.testCon(Sender.java:289)
at org.b1ackc4t.main.Console.doAdd(Console.java:77)
... 7 more
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.