Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: XhstormR <[email protected]>
  • Loading branch information
XhstormR committed Jul 14, 2020
1 parent 650e9e5 commit 520562a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion proguard/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
public static **[] values();
}

-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
}

-keepclasseswithmembers class * {
public static void main(java.lang.String[]);
}

-keepclasseswithmembers class org.apache.commons.** {
-keepclasseswithmembernames class org.apache.commons.** {
<fields>;
}

Expand All @@ -30,4 +34,5 @@
-dontwarn javax.**
-dontwarn org.apache.catalina.**

-printusage ../build/usage.txt
-printmapping ../build/mapping.txt
4 changes: 2 additions & 2 deletions src/main/kotlin/com/xhstormr/app/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ object App : CliktCommand(printHelpOnEmptyArgs = true) {
private val payload by option(help = "Password: xhstormr").enum<Payload>().required()

override fun run() {
// exploit(CommonsCollections2ObjectPayload, clazz<TemplatesImplPayload1>())
// exploit(CommonsCollections2ObjectPayload, clazz<TemplatesImplPayload2>())
// exploit(CommonsCollections2ObjectPayload, clazz<TomcatShellFilterTemplatesImpl>())
// exploit(CommonsCollections2ObjectPayload, clazz<TomcatBehinderFilterTemplatesImpl>())

CommonsCollections2ObjectPayload
.getObject(payload.clazz)
Expand Down

0 comments on commit 520562a

Please sign in to comment.