Skip to content

Commit 6f1a3ba

Browse files
S@2gS@2g
authored andcommitted
提交项目
1 parent 3db3f1e commit 6f1a3ba

17 files changed

+54
-830
lines changed

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 51 additions & 52 deletions
Large diffs are not rendered by default.

src/main/java/com/nu1r/jndi/controllers/SerializedDataController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void process(String base) throws UnSupportedPayloadTypeException, Incorre
4242
int firstIndex = base.indexOf("/");
4343
int secondIndex = base.indexOf("/", firstIndex + 1);
4444
try {
45-
gadgetType = GadgetType.valueOf(base.substring(firstIndex + 1, secondIndex).toLowerCase());
45+
gadgetType = GadgetType.valueOf(base.substring(firstIndex + 1, secondIndex));
4646
System.out.println("[+] GaddgetType >> " + gadgetType);
4747
} catch (IllegalArgumentException e) {
4848
throw new UnSupportedGadgetTypeException("UnSupportGaddgetType >> " + base.substring(firstIndex + 1, secondIndex));
@@ -58,7 +58,7 @@ public void process(String base) throws UnSupportedPayloadTypeException, Incorre
5858
int thirdIndex = base.indexOf("/", secondIndex + 1);
5959
if (thirdIndex < 0) thirdIndex = base.length();
6060
try {
61-
payloadType = PayloadType.valueOf(base.substring(secondIndex + 1, thirdIndex).toLowerCase());
61+
payloadType = PayloadType.valueOf(base.substring(secondIndex + 1, thirdIndex));
6262
System.out.println("[+] PayloadType >> " + payloadType);
6363
} catch (IllegalArgumentException e) {
6464
throw new UnSupportedPayloadTypeException("UnSupportedPayloadType: " + base.substring(secondIndex + 1, thirdIndex));

src/main/java/com/nu1r/jndi/gadgets/Jre8u20.java

Lines changed: 0 additions & 93 deletions
This file was deleted.

src/main/java/com/nu1r/jndi/gadgets/utils/jre/HandleContainer.java

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/main/java/com/nu1r/jndi/gadgets/utils/jre/ReferencableObject.java

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/main/java/com/nu1r/jndi/gadgets/utils/jre/Serialization.java

Lines changed: 0 additions & 144 deletions
This file was deleted.

src/main/java/com/nu1r/jndi/gadgets/utils/jre/SerializedElement.java

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/main/java/com/nu1r/jndi/gadgets/utils/jre/TCBlockData.java

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)