首页
社区
课程
招聘
[原创]脚本写的CrackMe
发表于: 2010-1-15 20:44 7366

[原创]脚本写的CrackMe

2010-1-15 20:44
7366
昨天刚学au3, 今天练练手写个CrackMe。算法很简单。关键断点不好下。

我自己搞不定,等大牛...

cao2109's CrackMe.rar

[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!

上传的附件:
收藏
免费 0
支持
分享
最新回复 (12)
雪    币: 101
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
新版的反编译工具还没人放出来。
2010-1-15 23:58
0
雪    币: 2067
活跃值: (82)
能力值: ( LV9,RANK:180 )
在线值:
发帖
回帖
粉丝
3
sum
...
2010-1-16 00:31
0
雪    币: 202
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
说说是怎么看的?我都快转蒙了...
2010-1-16 10:16
0
雪    币: 2067
活跃值: (82)
能力值: ( LV9,RANK:180 )
在线值:
发帖
回帖
粉丝
5
内存里面写 SUM
经测试, 确实是 SUM
2010-1-16 10:22
0
雪    币: 202
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
那算法是什么,还是看不出来 是么?
2010-1-16 10:40
0
雪    币: 2067
活跃值: (82)
能力值: ( LV9,RANK:180 )
在线值:
发帖
回帖
粉丝
7
1098
sessiondiy
2010-1-16 10:42
0
雪    币: 202
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
8
啥意思???
2010-1-16 10:46
0
雪    币: 2067
活跃值: (82)
能力值: ( LV9,RANK:180 )
在线值:
发帖
回帖
粉丝
9
不是你写的吗 ?

Username : pediy
SN = p+e+d+i+y
     = 539
2010-1-16 10:50
0
雪    币: 202
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
10
对,确实这样,大牛是怎么分析的?
2010-1-16 11:16
0
雪    币: 2067
活跃值: (82)
能力值: ( LV9,RANK:180 )
在线值:
发帖
回帖
粉丝
11
又回到原点了
请从3楼开始看
上列是用猜的

下列是确切的比较点
上传的附件:
2010-1-16 11:49
0
雪    币: 202
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
12
原来如此,所以阁下认为是sum,再结合我说的算法简单,这样...
我想问下,阁下现在对这个程序是下断点,还是单步过去了?
2010-1-16 12:23
0
雪    币: 328
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
13
#region
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_Fileversion=0.0.0.0
#endregion
Global Const $GUI_EVENT_CLOSE = -3
Global Const $GUI_EVENT_MINIMIZE = -4
Global Const $GUI_EVENT_RESTORE = -5
Global Const $GUI_EVENT_MAXIMIZE = -6
Global Const $GUI_EVENT_PRIMARYDOWN = -7
Global Const $GUI_EVENT_PRIMARYUP = -8
Global Const $GUI_EVENT_SECONDARYDOWN = -9
Global Const $GUI_EVENT_SECONDARYUP = -10
Global Const $GUI_EVENT_MOUSEMOVE = -11
Global Const $GUI_EVENT_RESIZED = -12
Global Const $GUI_EVENT_DROPPED = -13
Global Const $GUI_RUNDEFMSG = "GUI_RUNDEFMSG"
Global Const $GUI_AVISTOP = 0
Global Const $GUI_AVISTART = 1
Global Const $GUI_AVICLOSE = 2
Global Const $GUI_CHECKED = 1
Global Const $GUI_INDETERMINATE = 2
Global Const $GUI_UNCHECKED = 4
Global Const $GUI_DROPACCEPTED = 8
Global Const $GUI_NODROPACCEPTED = 4096
Global Const $GUI_ACCEPTFILES = $GUI_DROPACCEPTED
Global Const $GUI_SHOW = 16
Global Const $GUI_HIDE = 32
Global Const $GUI_ENABLE = 64
Global Const $GUI_DISABLE = 128
Global Const $GUI_FOCUS = 256
Global Const $GUI_NOFOCUS = 8192
Global Const $GUI_DEFBUTTON = 512
Global Const $GUI_EXPAND = 1024
Global Const $GUI_ONTOP = 2048
Global Const $GUI_FONTITALIC = 2
Global Const $GUI_FONTUNDER = 4
Global Const $GUI_FONTSTRIKE = 8
Global Const $GUI_DOCKAUTO = 1
Global Const $GUI_DOCKLEFT = 2
Global Const $GUI_DOCKRIGHT = 4
Global Const $GUI_DOCKHCENTER = 8
Global Const $GUI_DOCKTOP = 32
Global Const $GUI_DOCKBOTTOM = 64
Global Const $GUI_DOCKVCENTER = 128
Global Const $GUI_DOCKWIDTH = 256
Global Const $GUI_DOCKHEIGHT = 512
Global Const $GUI_DOCKSIZE = 768
Global Const $GUI_DOCKMENUBAR = 544
Global Const $GUI_DOCKSTATEBAR = 576
Global Const $GUI_DOCKALL = 802
Global Const $GUI_DOCKBORDERS = 102
Global Const $GUI_GR_CLOSE = 1
Global Const $GUI_GR_LINE = 2
Global Const $GUI_GR_BEZIER = 4
Global Const $GUI_GR_MOVE = 6
Global Const $GUI_GR_COLOR = 8
Global Const $GUI_GR_RECT = 10
Global Const $GUI_GR_ELLIPSE = 12
Global Const $GUI_GR_PIE = 14
Global Const $GUI_GR_DOT = 16
Global Const $GUI_GR_PIXEL = 18
Global Const $GUI_GR_HINT = 20
Global Const $GUI_GR_REFRESH = 22
Global Const $GUI_GR_PENSIZE = 24
Global Const $GUI_GR_NOBKCOLOR = -2
Global Const $GUI_BKCOLOR_DEFAULT = -1
Global Const $GUI_BKCOLOR_TRANSPARENT = -2
Global Const $GUI_BKCOLOR_LV_ALTERNATE = 0xFE000000
Global Const $GUI_WS_EX_PARENTDRAG = 1048576
$FORM3 = GUICreate("cao2109's CrackMe", 250, 99, 309, 248)
GUICtrlCreateLabel("注册码:", 8, 12, 50, 25)
GUICtrlCreateLabel("用户名:", 8, 40, 50, 25)
$MASKEDIT1 = GUICtrlCreateInput("", 55, 8, 180, 21)
$MASKEDIT2 = GUICtrlCreateInput("", 55, 36, 180, 21)
$BUTTON1 = GUICtrlCreateButton("&OK", 80, 64, 75, 25)
$BUTTON2 = GUICtrlCreateButton("&Cancal", 160, 64, 75, 25)
GUISetState(@SW_SHOW)
TraySetState(2)
While 1
	$MSG = GUIGetMsg()
	Select
		Case $MSG = $GUI_EVENT_CLOSE
			ExitLoop
		Case $MSG = $BUTTON1
			BUTTON1()
		Case $MSG = $BUTTON2
			Exit
			ExitLoop
	EndSelect
WEnd
Func BUTTON1()
	Dim $KEY = GUICtrlRead($MASKEDIT2)
	Dim $SUM = 0
	If (StringLen($KEY) >= 3) And (StringLen(GUICtrlRead($MASKEDIT1)) > 0) Then
		If (Asc(StringLower(StringLeft($KEY, 1))) >= 97) And (Asc(StringLower(StringLeft($KEY, 1))) <= 122) Then
			For $I = 1 To StringLen($KEY)
				$SUM = Asc(StringMid($KEY, $I, 1)) + $SUM
			Next
			If $SUM = GUICtrlRead($MASKEDIT1) Then
				Run("cmd /c echo 成功!&pause")
				Sleep(3000)
				$OIE = ObjCreate("InternetExplorer.Application.1")
				With $OIE
					.Visible = 1
					.Top = (@DesktopHeight - 400) / 2
					.Height = 400
					.Width = 600
					.Silent = 1
					$IEWND = HWnd( .hWnd)
				EndWith
				$URL = "http://hi.baidu.com/cao2109"
				$OIE .Navigate($URL)
				Sleep(1000)
			Else
				Run("cmd /c echo 失败!&pause")
			EndIf
		Else
			Exit
		EndIf
	Else
		Run("cmd /c echo 用户名至少3位并且密码不能为空!&pause")
	EndIf
EndFunc   ;==>BUTTON1

2012-2-18 15:08
0
游客
登录 | 注册 方可回帖
返回
//