Results 1 to 4 of 4

Thread: WinDbg: i don't wanna launch that script!

  1. #1

    WinDbg: i don't wanna launch that script!

    Hello, woodmann!
    The question is: how to make windbg to execute a script when breaking on bp?
    I do like that:
    Code:
    bp somemodule!someproc "$$>a<D:\everth\scripts\somescript.wds"
    on bp break i get
    Code:
    Command file execution failed, Win32 error 0n2
        "The system cannot find the file specified."
    though i can run flawlessly the script from windbg console.
    tried also
    Code:
    $><%path%
    and
    Code:
    $$><%path%
    with the same result.

  2. #2
    Super Moderator
    Join Date
    Dec 2004
    Posts
    1,513
    Blog Entries
    15
    ntdll!DbgBreakPoint:
    7c90120e cc int 3
    0:000> bp 401000 "$$>a<D:\everth\scripts\somescript.wds"
    0:000> bl
    0 e 00401000 0001 (0001) 0:**** msgbox!start "$$>a<D:everthscriptssomescript.wds"
    0:000> bp 401000 "$$>a<D:\\everth\\scripts\\somescript.wds"
    breakpoint 0 redefined
    0:000> bl
    0 e 00401000 0001 (0001) 0:**** msgbox!start "$$>a<D:\\everth\\scripts\\somescript.wds"
    0:000> g

    lets tell fasmotol about .dbgdbg

    eax=00000000 ebx=7ffdf000 ecx=0013ffb0 edx=7c90e514 esi=7c96e5df edi=00000000
    eip=00401000 esp=0013ffc4 ebp=0013fff0 iopl=0 nv up ei pl zr na pe nc
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
    msgbox!start:
    00401000 6a00 push 0

    0:000> .shell type d:\everth\scripts\*.*

    d:\everth\scripts\somescript.wds


    .echo lets tell fasmotol about .dbgdbg .shell: Process exited
    Press ENTER to continue

  3. #3
    .echo "fasmotol is just a total dumb..s kid - the right part of bl output was hidden on his small monitor and he had no intention to scroll it. facepalm."
    .echo "thanks, blabberer"

  4. #4
    Learn Or Die.

Similar Threads

  1. WinDbg: let's load em all!
    By fasmotol in forum The Newbie Forum
    Replies: 3
    Last Post: February 28th, 2013, 01:56
  2. PHPScriptExec & CloneDll script & TASM exports generator script
    By roxaz in forum Tools of Our Trade (TOT) Messageboard
    Replies: 1
    Last Post: July 18th, 2008, 17:36
  3. Conditional BPs in WinDbg
    By omega_red in forum Tools of Our Trade (TOT) Messageboard
    Replies: 2
    Last Post: November 16th, 2005, 03:28
  4. launch.com hacking experiment
    By nikolatesla20 in forum Mini Project Area
    Replies: 0
    Last Post: March 27th, 2003, 00:03
  5. Just wanna say hi!
    By cTT in forum Advanced Reversing and Programming
    Replies: 2
    Last Post: September 18th, 2001, 01:49

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •