TeNeX Posted January 14, 2014 Share Posted January 14, 2014 hi, well i'm new about it and i saw that many people want to bruteforce windows login screen, so i was trying to create a script to do this but the script don't compile :( root@kali:/tmp# java -jar duckencode.jar -i bruter.txtException in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)Caused by: java.lang.NullPointerException at Encoder.main(Encoder.java:111) ... 5 moreroot@kali:/tmp# wc -l bruter.txt73664533 bruter.txt root@kali:/tmp# head bruter.txtSTRING DELAY 5000DELAY 1000ENTERENTERSTRING aaaaaDELAY 1000ENTERENTERSTRING aaaabDELAY 1000root@kali:/tmp# tail bruter.txtENTERDELAY 5000ENTERDELAY 1000ENTERENTERSTRING zzzzzDELAY 1000ENTERENTERroot@kali:/tmp# can anyone help me, i think or accidentally found a vuln, or :P the encoder can't support long files than X KB or MB Quote Link to comment Share on other sites More sharing options...
no42 Posted January 14, 2014 Share Posted January 14, 2014 ? What version of the Encoder? and we need to see the full error message. Quote Link to comment Share on other sites More sharing options...
TeNeX Posted January 15, 2014 Author Share Posted January 15, 2014 i don't know which version is but i check it, so this is the complete error Quote Link to comment Share on other sites More sharing options...
TeNeX Posted January 16, 2014 Author Share Posted January 16, 2014 ok i checked and its 1.5 encoder version Quote Link to comment Share on other sites More sharing options...
MB60893 Posted January 19, 2014 Share Posted January 19, 2014 Try working with the online Duck Toolkit by 411. Click Online Encoder and see if that works there. If I've missed my guess, I'd say that you haven't specified the output. This just generates the inject.bin and it will save you from going through the command line/terminal with multiple errors. Quote Link to comment Share on other sites More sharing options...
TeNeX Posted February 3, 2014 Author Share Posted February 3, 2014 root@kali:/media/A87B-A154# java -jar duckencode.jarHak5 Duck Encoder 1.2usage: duckencode -i [file ..] encode specified file or: duckencode -i [file ..] -o [file ..] encode to specified fileArguments: -i [file ..] Input File -o [file ..] Output FileScript Commands: ALT [Char | END | (ESCAPE | ESC) | F1...F12 | SPACE | TAB] BREAK | PAUSE CAPSLOCK CONTROL | CTRL [(BREAK | PAUSE) | Char | F1...F12 | (ESCAPE | ESC)] and with the new encoder: root@kali:/media/A87B-A154# cd DuckEncoder_2_6_3/root@kali:/media/A87B-A154/DuckEncoder_2_6_3# lsencoder.jar README resourcesroot@kali:/media/A87B-A154/DuckEncoder_2_6_3# java -jar encoder.jarException in thread "main" java.lang.UnsupportedClassVersionError: Encoder : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266)Could not find the main class: Encoder. Program will exit.root@kali:/media/A87B-A154/DuckEncoder_2_6_3# java -versionjava version "1.6.0_27"OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1~deb7u1)OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)root@kali:/media/A87B-A154/DuckEncoder_2_6_3# Quote Link to comment Share on other sites More sharing options...
Solution TeNeX Posted February 3, 2014 Author Solution Share Posted February 3, 2014 ok i found the mistake: the new compiler CAN'T RUN WITH OPENJDK, only works with sun java i test it on a windows machine with oracle java :( F:\DuckEncoder_2_5>java -jar encoder.jarHak5 Duck Encoder 2.6.2Usage: duckencode -i [file ..] encode specified file or: duckencode -i [file ..] -o [file ..] encode to specified fileArguments: -i [file ..] Input File -o [file ..] Output File -l [file ..] Keyboard Layout (us/fr/pt or a path to aScript Commands: ALT [key name] (ex: ALT F4, ALT SPACE) CTRL | CONTROL [key name] (ex: CTRL ESC) CTRL-ALT [key name] (ex: CTRL-ALT DEL) CTRL-SHIFT [key name] (ex: CTRL-SHIFT ESC) DEFAULT_DELAY | DEFAULTDELAY [Time in millisecond * 10] (change the de DELAY [Time in millisecond * 10] (used to overide temporary the defaul Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.