1

This one should be simple, but I can't figure it out. How do I log a string in x64dbg? I can log the address with a breakpoint but wasn't able to log the actual text.

1

2 Answers 2

3

For ASCII strings this should work, I am not sure about Unicode or other character sets.

Right click the breakpoint and select edit.

In the "Log Text" box, put,

String is {s:eax} 

With eax containing the address of the string.

1
  • It will work for any kind of string that is automatically detected in the x64dbg GUI. Commented Feb 12, 2017 at 12:03
1

The {s:EAX} works fine, but we have more options than that, for example: {utf16@RCX}, {utf8@RCX}, {ascii@RCX} can log the given string with a certain encoding

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.