Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make appropriate changes to mona.py #2

Open
mrexodia opened this issue Dec 20, 2016 · 1 comment
Open

make appropriate changes to mona.py #2

mrexodia opened this issue Dec 20, 2016 · 1 comment

Comments

@mrexodia
Copy link
Member

More specifically

try:
	import immlib as dbglib
	from immlib import LogBpHook
	__DEBUGGERAPP__ = "Immunity Debugger"
except:		
	try:
		from pykd import *
		import windbglib as dbglib
		from windbglib import LogBpHook
		dbglib.checkVersion()
		arch = dbglib.getArchitecture()
		__DEBUGGERAPP__ = "WinDBG"
	except SystemExit, e:
		print "-Exit."
		import sys
		sys.exit(e)
	except Exception:
		#import traceback
		print "Do not run this script outside of a debugger !"
		#print traceback.format_exc()
		import sys
		exit(1)

And various usages of __DEBUGGERAPP__.

@wangray
Copy link
Member

wangray commented Nov 26, 2017

See https://github.com/wangray/mona

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants