📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

 Forums >>  Brainstorms - General  >>  Help with PaiMei?

Topic created on: April 7, 2007 15:59 CDT by Glich .

I was trying to copy the flash demo of pstalker everything was going ok untill I hit the "start stalking" buttun. On doing so I had this error:

Traceback (most recent call last):
  File "modules\_PAIMEIpstalker\ProcessListCtrl.py", line 167, in on_attach_detach
  File "C:\Python24\Lib\site-packages\utils\process_stalker.py", line 338, in stalk
    self.pydbg.run()
  File "C:\Python24\Lib\site-packages\pydbg\pydbg_core.py", line 1081, in run
    self.debug_event_loop()
  File "C:\Python24\Lib\site-packages\pydbg\pydbg_core.py", line 335, in debug_event_loop
    self.debug_event_iteration()
  File "C:\Python24\Lib\site-packages\pydbg\pydbg_core.py", line 267, in debug_event_iteration
    continue_status = self.event_handler_load_dll()
  File "C:\Python24\Lib\site-packages\pydbg\pydbg.py", line 990, in event_handler_load_dll
    core_ret = pydbg_core.event_handler_load_dll(self)
  File "C:\Python24\Lib\site-packages\pydbg\pydbg_core.py", line 562, in event_handler_load_dll
    dll = system_dll(self.dbg.u.LoadDll.hFile, self.dbg.u.LoadDll.lpBaseOfDll)
  File "C:\Python24\Lib\site-packages\pydbg\system_dll.py", line 89, in __init__
    self.path = os.sep + filename.value.split(os.sep, 3)[3]
IndexError: list index out of range

Could any one help explain this? thx

  pedram     April 8, 2007 11:05.53 CDT
Glich,

Going to need some more information to give you a hand on this.  Can you e-mail me a screenshot of the pstalker module when this error occurs?

  joswr1ght   January 21, 2009 19:01.32 CST
Had a similar problem on a box today, posting here for prosperity.

The line:

psapi.GetMappedFileNameA(kernel32.GetCurrentProcess(), file_ptr, byref(filename), 2048)

Failed on my box and didn't populate filename, causing the IndexError exception.  Turns out this is related to a bug on early versions of XP (this was a new install before I updated to SP3).  Updating to SP3 fixed this issue and GetMappedFileName() worked as expected.

-Josh

Note: Registration is required to post to the forums.

There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit