Anti_SS Posted December 28, 2016 Share Posted December 28, 2016 Hi, I'm new to using the Rubber Ducky, and when i compile the script I wrote, this is the output I get: Hak5 Duck Encoder 2.6.4 Loading File ..... [ OK ] Loading Keyboard File ..... [ OK ] Loading Language File ..... [ OK ] Loading DuckyScript ..... [ OK ] Error on Line: 8 java.lang.NumberFormatException: For input string: "3500\" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at Encoder.encodeToFile(Encoder.java:240) at Encoder.main(Encoder.java:134) Error on Line: 11 java.lang.NumberFormatException: For input string: "100\" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at Encoder.encodeToFile(Encoder.java:240) at Encoder.main(Encoder.java:134) Error on Line: 13 java.lang.NumberFormatException: For input string: "100\" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at Encoder.encodeToFile(Encoder.java:240) at Encoder.main(Encoder.java:134) Error on Line: 15 java.lang.NumberFormatException: For input string: "100\" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at Encoder.encodeToFile(Encoder.java:240) at Encoder.main(Encoder.java:134) Error on Line: 17 java.lang.NumberFormatException: For input string: "3100\" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at Encoder.encodeToFile(Encoder.java:240) at Encoder.main(Encoder.java:134) Error on Line: 19 java.lang.NumberFormatException: For input string: "100\" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at Encoder.encodeToFile(Encoder.java:240) at Encoder.main(Encoder.java:134) Error on Line: 21 java.lang.NumberFormatException: For input string: "100\" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at Encoder.encodeToFile(Encoder.java:240) at Encoder.main(Encoder.java:134) Error on Line: 23 java.lang.NumberFormatException: For input string: "100\" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at Encoder.encodeToFile(Encoder.java:240) at Encoder.main(Encoder.java:134) DuckyScript Complete..... [ OK ] Here's the script itself, it's quite simple. REM this script is for OSX. DELAY 3500 GUI M GUI SPACE DELAY 100 STRING photo booth DELAY 100 ENTER DELAY 100 ENTER DELAY 3100 GUI SPACE DELAY 100 STRING terminal DELAY 100 STRING say you just got your picture taken DELAY 100 ENTER I am using OSX. When I compile the .txt file, it still saves as inject.bin. However, when I put the sd in the ducky and try to run it, nothing happens. I'm assuming it's because of the errors when I compile, so how would I fix these? Thank you in advance! Quote Link to comment Share on other sites More sharing options...
Anti_SS Posted December 28, 2016 Author Share Posted December 28, 2016 Update: I never flashed my Ducky. However, I'm encountering a separate error now. When I flash it, I get: There was an error flashing, make sure your Ducky is in DFU mode However, it is in DFU mode. I inserted it with the button held down, and the light is red. How can I fix that? 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.