hi ich bin es mal wieder ich hab ein crackme gelöst und weiß den algorythmus (nichts illegales) https://autoit.de/www.crackme.de
Beim algorythmus wird jeder buchstabe oder zahl in hexadezimal umgewandelt und addiert und als hex ausgegeben jedoch weiß ich nicht wie ich das so richtig mache hier mal meinen code:
name: muhaa m u h a a
serial: 20c aus 6d+75+68+61+61
#include <GUIConstants.au3>
#include <string.au3>
#notrayicon
GUICreate("Crkme1 Keygen by Leviathan",229,88)
GUISetState(@sw_show)
$key = "0"
;$input_name=GUICtrlCreateInput("name",7,5,200,20,-1,-1)
$input_name=GUICtrlCreateInput("name",7,5,200,20,$ES_READONLY,-1)
$output_key=GUICtrlCreateInput("serial will appear here",7,31,200,20,$ES_READONLY,-1)
$button_generate=GUICtrlCreateButton("Generate",17,63,185,22,-1,-1)
$button_about=GUICtrlCreateButton("about",220,70,5,5,-1,-1)
While 1
$msg=GUIGetMsg()
If $msg=$button_generate Then _generate()
If $msg=$GUI_EVENT_CLOSE Then ExitLoop
If $msg=$button_about Then Msgbox(-1,"made by Leviathan","keygen made by Leviathan (AutoIt)")
WEnd
Func _generate()
$name = GUICtrlRead($input_name)
;$name = Random(5,99999999)
$namelength = StringLen($name)
$key = "0"
If $namelength > 4 then
$chars = StringSplit($name,"")
For $i = 1 To $namelength
$k = _StringToHex($chars[$i])
$k = Dec($k)
$key = $key + $k
$keyhex = Hex($key)
$keyoutput=Stringreplace($keyhex, "0", "")
Next
GuiCtrlSetData($output_key, $keyoutput)
GuiCtrlSetData($input_name, $name)
Else
GuiCtrlSetData($input_name, "Must be longer than 4 chars")
EndIf
EndFunc
ok habe es geschafft, dass er es als hex ausgibt doch nun hab ich halt noch das Problem, dass er "000003BC" schreibt aber ich will es so haben "3BC"
wie kann ich erkennen, ob die null entfernt werden soll?
wenn jemand das crackme will kann ich es auch hochladen
habs hinbekommen kann geschlossen werden