upx lock 1.0 oep finder.txt

来自「700个脱壳脚本, 可以放在在OD的ollyscript Plugin中.」· 文本 代码 · 共 64 行

TXT
64
字号
/*

; //////////////////////////////////////////////////////////////
;
; UPXLock 1.0 by CyberDoom/TeamX unpacking script 
;
; Script by: ap0x
; WebSite:   http://ap0x.headcoders.net
; When?  :   8:52 PM 4/25/2006
;
; Settings: 
;      Only check INT3 break under debugging options/exceptions
; -------------------------------------------------------------
;
;
;     Visit Reversing Labs at http://ap0x.headcoders.net
;
; //////////////////////////////////////////////////////////////

*/

var cpa
find eip, #60E8????????61#
cmp $RESULT,0 
je _notUPXLock
mov cpa,$RESULT
add cpa,6
an eip
bp cpa
run
bc cpa
find eip, #E2FD6168????????C3#
cmp $RESULT,0 
je _notUPXLock
mov cpa,$RESULT
an eip
bp cpa
run
bc cpa
add cpa,3
bp cpa
run
bc cpa
sto
sto
cmt eip, "This is the UPX entry point!"
find eip, #61#
cmp $RESULT,0 
je _notUPXLock
mov cpa,$RESULT
an eip
bp cpa
run
bc cpa
sto
sto
cmt eip, "This is the original entry point!"
an eip
ret
_notUPXLock:
msg "Error, this not UPXLock!"
ret

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?