Files
Kiran Bandla 543c37dcc4 Added 1.74
2013-03-25 22:00:37 -04:00

31 lines
563 B
Python
Executable File

#!/usr/bin/env python
"""
(c) Immunity, Inc. 2004-2007
U{Immunity Inc.<http://www.immunityinc.com>}
List all pycommands with its descriptions in log window
"""
DESC="""List PyCommands"""
import immlib
import glob
def main(args):
imm=immlib.Debugger()
which=glob.glob("./PyCommands/*.py")
imm.log("List of available PyCommands")
for file in which:
command=file.split("\\")[1].split(".")[0]
imm.log("* %s" % command)
imm.log("",focus=1)
return "Command executed"