2

In the x64dbg manual is many scripting commands and other things, but nowhere in it is mentioned, how to launch a script.

So, my question is: How to launch a script in x64dbg?

1 Answer 1

5

To launch a script, it has to be first loaded into x64dbg — you will see it in the Script tab:
                                             enter image description here

Before loading a script, the content of this tab is empty:

enter image description here

You may load a script in any of the following ways:

  1. Copy the content of your script into clipboard, then switch to the Script tab, and paste it with
    Shift+V (NOT with Ctrl+V).

  2. The same, but using the context menu (Load Script → Paste):

    enter image description here

  3. Switch to the Script tab, Ctrl+O, then select your script file.

  4. The same, but using the context menu (Load Script → Open...) — as in the point 2.

  5. Use the scriptload command with the path to your script file as an argument, for example

    scriptload "c:\Users\User\My Scripts\somescript.txt"
    

    Write it in the Command: box near the bottom left part of the x64dbg window and then press Enter:

    enter image description here

After loading the script (with any of the previous methods), you will see it in the Script tab, and you may launch it with the Space bar, or by commands in the context menu:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.