Python 2 examples taken while learning SPSE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
614 B

#!/usr/bin/python
# -*- coding: utf-8 -*-
# Place this file into PyCommands directory to use with Immunity Debugger.
import immlib
DESC = "This will be the Description in ID."
def main(args):
imm = immlib.Debugger() # This is what we attach to.
imm.log("Write that into ID log window!")
imm.updateLog() # Any pending line will be printed immediately!
td = imm.createTable("Any name", ['PID', 'Name', 'Path', 'Services'])
psList = imm.ps()
for process in psList:
td.add(0, [ str(process[0], process[1], process[2], str(process[3]))])
return "Welcome to ID Scripting."