-
Posts
43 -
Joined
-
Last visited
Posts posted by xcoder
-
-
you need java installed or portable version
duckencode.jar
Write Your Script and encode itjava -jar "C:\tmp\encoder.jar" -i "C:\tmp\source.txt"
-
java -jar "C:\tmp\encoder.jar" -i "C:\tmp\source.txt"
-
Beginning with Windows 8.1, the plaintext of a user's password is usually no longer kept in memory
-
DEFAULT_DELAY 100 DELAY 5000 GUI r DELAY 50 STRING cmd /Q /D /T:FE /F:OFF /V:ON /K mode con lines=1 cols=10 ENTER DELAY 200 STRING for /f %d in ('wmic volume get driveletter^, label ^| findstr "DUCKY"') do set usb=%d ENTER DELAY 300 STRING %usb% ENTER DELAY 100 STRING START HelloWorld.exe ENTER DELAY 100 STRING Exit ENTER
This is my short way to run file from SD
folks
share us your Creative -
Thank you for sharing
I wish try it, but my windows currently only Have Ctrl+R !, its need format -
you miss something
I flashed with first try -
you need change USB Rubber Ducky Firmware
Check This Post: -
DEFAULT_DELAY 100 DELAY 5000 GUI r DELAY 100 STRING cmd /Q /D /T:FE /F:OFF /V:ON /K mode con lines=1 cols=10 ENTER DELAY 200 STRING for /f %d in ('wmic volume get driveletter^, label ^| findstr "DUCKY"') do set usb=%d ENTER DELAY 300 STRING %usb% ENTER DELAY 200 STRING powershell Set-ExecutionPolicy 'Unrestricted' -Scope CurrentUser -Confirm:$false ENTER DELAY 200 STRING powershell.exe -File %usb%\config-21642.ps1 ENTER DELAY 200 STRING Exit ENTER
Rubber Ducky Twin Duck Firmware
Your PowerShell inside [USB FLASH DISK] config-21642.ps1 -
you code is not Correct!
Copy script and past it in notepad
remove DELAY STRING ENTER etc.....
select all and past it in PowerShell
Fix it as You like
I`ll Give New Short Way for run your Script -
I guesses you need use Twin Duck Firmware
-
recheck your script
you can post it here and I will check it for you -
-
if you are windows user you can try my application
it can helping youHAPPY NEW YEAR!
-
Use:
DEFAULT_DELAY 100
first Line of Script -
Execute Script Need Fix
try it to console windows it`s dos`t work
ALT SPACE " send Alt+space to console window"
You Need
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Private Const KEYEVENTF_KEYUP = &H2
Private Const VK_LMENU = &HA4
Private Const VK_SPACE = &H20
and Pass Command Like This:
keybd_event(VK_LMENU, 56, 0, 0)
keybd_event(VK_SPACE, 57, 0, 0)
keybd_event(VK_SPACE, 57, KEYEVENTF_KEYUP, 0)
keybd_event(VK_LMENU, 56, KEYEVENTF_KEYUP, 0) -
##btnEncodeForm_Click
File.Copy(FilePath, AppDomain.CurrentDomain.BaseDirectory + "script.txt", true);//copy the script to
formEncoding formEncoding = new formEncoding();
formEncoding.ShowDialog(); //show encoding form##EncodeToBin
string outputfilename = txtboxFileName.Text;
Process JavaProc = new Process();
ProcessStartInfo JavaProcInfo = new ProcessStartInfo("java", "-jar " + '\"' + AppDomain.CurrentDomain.BaseDirectory + "duckencode.jar" + '\"' + " -i " + '\"' + AppDomain.CurrentDomain.BaseDirectory + "script.txt" + '\"' + " -o " + '\"' + outPutFilePath + '\"');JavaProcInfo.UseShellExecute = false;
JavaProcInfo.RedirectStandardError = true;
JavaProcInfo.CreateNoWindow = true;JavaProc.StartInfo = JavaProcInfo;
JavaProc.Start();
JavaProc.WaitForExit();string sOutput;
using (System.IO.StreamReader sReader = JavaProc.StandardError)
{
sOutput = sReader.ReadToEnd();
}if (sOutput.Length > 0)
{
MessageBox.Show(sOutput);
}
else
{
MessageBox.Show("Success");}
-
Hey
You Do Great Jobfirst of all
I take tow part from Your early project I make some change and convent it t vb.net and Add it to my Project
Validate Code _ Credit to HayDenM
Execute Script _ Credit to HayDenM
Do You Mind ?
I`ll Check Your project and give you rview -
This is Last Update
I'm working on another project
so no more update
if there is something need fix just leave Comment
Happy New Year! -
To Do:
- Change All Error Message To Flat Message UI Style
- Show Where Error Line are
- Add Effect FlashWindow
- Add DragDrop
- Add ALT SPACE " send Alt+space to console window"
- Add REPEAT,REPLAY
- Add CAPSLOCK,NUMLOCK
- Add SCROLLOCK,COMMAND = NOTHING
- Always Encode From Script.txt (All code will save it in "App.Path\Script.txt" and then Encode it)
- Relase Caps Lock
- Fix CopyToUSB
all suggestions are welcome
-
9 hours ago, HaydenM said:
Did you copy and paste my code? lol
Yes C# to VB.NET
Validate Code _ Credit to HayDenM
Execute Script _ Credit to HayDenM -
you can try MetroSuite.dll its look amazing
Right-click on toolbar then click on "choose item" in context menu. A dialog with components pops up. in this dialog click "Browse" to select your assembly with the usercontrol you want to use.
-
Thank you for sharing
I like Validation idea
I added to my project All credits goes to you -
1 hour ago, Tamasco said:
This is the second project I see about Ducky Encoder! I love this community. Guess I wasn´t the only one that thought about building one I haven´t finish the multi language UI yet (just Spanish and English).
Good Work VB.NET
I got error because didn't chose language
let "us" Lang is default
You Can Hide dos command if use this:
Dim JavaProcInfo As New ProcessStartInfo("Java", "-jar " & Chr(34) & directorioTemporal + encoderPath & Chr(34) & " -i " & Chr(34) & FilePathInput & Chr(34) & " -o " & Chr(34) & sfd.FileName & Chr(34) & " -l " & languagePath )
With JavaProcInfo
.UseShellExecute = False
.CreateNoWindow = True
End WithWith JavaProc
.StartInfo = JavaProcInfo
.Start()
.WaitForExit()
End With -
56 minutes ago, HaydenM said:
Can I ask how you did the darker looking UI in .net?
its Windows 10 without theme just dark color
WINDOWS r opening ctrl alt delete
in Classic USB Rubber Ducky
Posted
ReCheck Your Script
GUI r DELAY 200 STRING notepad.exe ENTER