-
-
[转帖]OllyPath 0.1
-
发表于: 2013-3-3 07:18 3557
-
OllyPath 0.1
by:Mr. eXoDia
When using OllyDbg as a portable version (eg. on an USB stick) there are always problems with the UDD/Plugin path not being set correctly. The 'trick' to use ".\" as path works, but because Olly calls GetCurrentDirectory and not some custom function that retrieves the process directory the shell extension for example would not work.
I'm using this code for quite some time now, but I thought it would be nice to share a little for later users.
The features:
* DLL, which sets Plugins, UDD and win32.hlp paths automatically
* Dummy export so it's easy to add the DLL to your olly mod
* Open source
Attached is DLL + Source, I hope it's useful for somebody. Feel free to modify to your needs, just credit where you think it's needed.
P.S. To add the dll to your mod: Use CFF explorer to add the import "dummy" (which does nothing) to ollydbg.exe, this will execute the DllMain function (which can be considered illegal) and set the paths in the INI file.
赞赏
他的文章
看原图
赞赏
雪币:
留言: