PDA

View Full Version : How to pass arguments to the x64dbg debugger


RCER
July 26th, 2015, 19:44
I am trying find the encryption seeds from a 64bit daemon, and have only experience using Ollydbg, which doesn't debug x64 binaries.

So I started using x64_dbg, but this debugger does not have a field where you can input any arguments such as "-t computer-name 4 –c license.lic"

I tried

x64_dgb "C:\FullPathTo\File.exe" parm1 parm2 -3 -4 -debug


x64_dgb "C:\FullPathTo\File.exe" -t computer-name 4 –c license.lic

and using InitDebug & setcommandline, but none of these pass the arguments -t computer_name 4 -c license.lic to the debugger

Can anybody tell me how to pass on arguments to this debugger?

rgds

ZaiRoN
July 27th, 2015, 07:10
Use the "Arguments" field inside "Open Executable" dialog.

RCER
July 27th, 2015, 19:43
ZaiRoN,

Thanks, but x64_dbg does not have an "Arguments" field inside "Open Executable" dialog, so I cannot input anything

BanMe_2
July 27th, 2015, 21:30
https://github.com/x64dbg/x64dbg/issues/210 :}

Quote:

"x64_dbg MyProgram.exe parm1 parm2", everything after "x64_dbg" is a command-line parameter. The Windows call returns the full path for the executable, inserts spaces between each one and adds a terminating null.

ZaiRoN
July 28th, 2015, 11:52
Quote:
[Originally Posted by RCER;97136]Thanks, but x64_dbg does not have an "Arguments" field inside "Open Executable" dialog, so I cannot input anything
my fault. I confused x64_dbg with Windbg, don't ask me why...