飘云阁

 找回密码
 加入我们

QQ登录

只需一步,快速开始

查看: 1204|回复: 0

第一课作业~

[复制链接]
  • TA的每日心情
    擦汗
    2024-4-14 18:30
  • 签到天数: 883 天

    [LV.10]以坛为家III

    发表于 2006-3-19 20:43:24 | 显示全部楼层 |阅读模式
    脱UPX壳,方法知道,有脚本就偷下懒,好像别人都没发~
    1. /*
    2. EOP finder for upxshit 0.6 (snaker) & UPX
    3. It also works for a "standalone" UPX packed program

    4. Author : mimas
    5. */

    6. var x

    7. loop:
    8. findop eip, #E9??# // find jump to next loop
    9. mov x, $RESULT
    10. sub x, eip
    11. cmp x, 10 // (@jmp - eip) use to be 10,
    12. // we can handle different loop size this way
    13. ja stub
    14. go $RESULT
    15. sto
    16. jmp loop

    17. stub:
    18. // the terrific UPX OEP finder
    19. eob end
    20. sto
    21. mov x, esp
    22. bphws x, "r"
    23. run

    24. end:
    25. bphwc x
    26. sto
    27. ret
    复制代码
    PYG19周年生日快乐!
    您需要登录后才可以回帖 登录 | 加入我们

    本版积分规则

    快速回复 返回顶部 返回列表