Jump to content

Anti_SS

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Anti_SS

  1. 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!

×
×
  • Create New...