kali@kali:~/tools/rmiscout$ ./rmiscout.sh wordlist -i lists/prototypes.txt 127.0.0.1 1099
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
[INFO] Adding missing dummy parameter names to signature
[INFO] Auto-corrected signature: java.lang.Boolean[] wrapperBooleanArrayTest(java.lang.Boolean[] v a)
[ERROR] Dummy parameter names are required for method signature (e.g., -s 'boolean login(java.lang.String a, java.lang.String b)')
Full Stacktrace:
javassist.CannotCompileException: [source error] syntax error near "ean[] v a) throws ja"
at javassist.CtNewMethod.make(CtNewMethod.java:79)
at javassist.CtNewMethod.make(CtNewMethod.java:45)
at com.bishopfox.rmiscout.RMIConnector.generateStubs(RMIConnector.java:197)
at com.bishopfox.rmiscout.RMIConnector.(RMIConnector.java:124)
at com.bishopfox.rmiscout.RMIScout.process(RMIScout.java:198)
at com.bishopfox.rmiscout.RMIScout.main(RMIScout.java:136)
Caused by: compile error: syntax error near "ean[] v a) throws ja"
at javassist.compiler.Parser.parseFormalParam(Parser.java:210)
at javassist.compiler.Parser.parseMethod1(Parser.java:114)
at javassist.compiler.Parser.parseMember1(Parser.java:65)
at javassist.compiler.Javac.compile(Javac.java:90)
at javassist.CtNewMethod.make(CtNewMethod.java:74)
... 5 more
Pull from latest, that should be working now. I added a new signature auto-correct feature that had a bad regexp. Let me know if that push works for you.
New version throw an Exception:
kali@kali:~/tools/rmiscout$ ./rmiscout.sh wordlist -i lists/prototypes.txt 127.0.0.1 1099 Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true [INFO] Adding missing dummy parameter names to signature [INFO] Auto-corrected signature: java.lang.Boolean[] wrapperBooleanArrayTest(java.lang.Boolean[] v a)
[ERROR] Dummy parameter names are required for method signature (e.g., -s 'boolean login(java.lang.String a, java.lang.String b)')
Full Stacktrace:
javassist.CannotCompileException: [source error] syntax error near "ean[] v a) throws ja" at javassist.CtNewMethod.make(CtNewMethod.java:79) at javassist.CtNewMethod.make(CtNewMethod.java:45) at com.bishopfox.rmiscout.RMIConnector.generateStubs(RMIConnector.java:197) at com.bishopfox.rmiscout.RMIConnector.(RMIConnector.java:124)
at com.bishopfox.rmiscout.RMIScout.process(RMIScout.java:198)
at com.bishopfox.rmiscout.RMIScout.main(RMIScout.java:136)
Caused by: compile error: syntax error near "ean[] v a) throws ja"
at javassist.compiler.Parser.parseFormalParam(Parser.java:210)
at javassist.compiler.Parser.parseMethod1(Parser.java:114)
at javassist.compiler.Parser.parseMember1(Parser.java:65)
at javassist.compiler.Javac.compile(Javac.java:90)
at javassist.CtNewMethod.make(CtNewMethod.java:74)
... 5 more