Jump to content

Mentis

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Mentis

  1. hey rtfc, first and foremost i want to thank you for your awesome work! I already stumbled upon it a couple of weeks ago, but decided to work with your script first for some time befor wasting your time with stupid questions. At first i had some troubles obfuscating and encrypting my script (3000 lines of code) but after optimizing my script on several ends the output is not only working perfectly, it also looks pretty great. Sadly I'm stuck now trying to create a function to decrypt the script using a server response. My exact case : .) nKey is automaticly beeing created and handed over to customer .) nKey status is verifieable via get request to web-api .) if nkey status = active -> decrypt Since the nKey is known to my clients anyway and i want to make this endevor as painfree to them as possible my thoughts are : First time they start their software ($nKey=0) a msgbox should appear that asks them to input their serial which is then stored in the ini (and $nKey=realvalue) and should be used as variable in the get request. I'm able to do the webrequest, but how do i get the var $nkey into the _MCFCC_init function? Func getulkey($pdid, $login, $mail) Local $out HttpSetUserAgent($pdid) $gdata = InetRead($activurl & "&email=" & $mail & "&licence_key=" & $login & "&request=status" & "&product_id=" & $pdid, 1) $nbytesread = @extended Local $fData = BinaryToString($gData) Local $hData = StringRegExp($fData, '"(\w+)":([^,\{\}]+),?', 3) If IsArray($hData) or UBound($hData) <> 19 Then Return $hdata ElseIf IsArray($hData) or UBound($hData) <> 8 Then Return -1 EndIf Return $hData EndFunc Func chill() checkulkey($pdid, $login, $mail) EndFunc Now with my checkulkey function i tried several things. For one : Func checkulkey($pdid, $login, $mail) Return _MCFCC_Init(getulkey($pdid, $login, $mail)) EndFunc This calls the mfcinit though and I can't even start the decrypter. Then i tried : and set $CCkey[8]=$ulkey[3] which gave me an array error. Could you maybe give me some tips on how you would best solve an auto-decryption via a positive serial-authentification? One thing that I plan to implement later was to add a check that opens an inputbox in case the serial is not stored in the ini so users can add it themselves befor starting the webrequest. This should be no problem though once I managed to establish a basic functionality, right?
  2. Thanks for your quickly reply and really clear explanation what exactly went wrong. Amazing UDF but sadly my software depends on GUIonEventMode 1, theres no realistic way to get arround that. I'll definitely keep my eyes on your thread and wait, it would be definitely superawesome if you figured something out My guis "only" requirements in order to establish a basic functionality are metrobuttons that call a func(), metro Checkebox, metro messagebox, , GUICtrlSetData and GUICtrlSetOnEvent I'd really love to help and extend your UDF myself, but sadly my skills are not sufficient (yet)
  3. Is it possible to use your UDF in conjunction with GUIonEventMode 1? Tryed to get it to work for several hours but sadly to no avail, didn't manage to get any functionality besides the mouseover/hover :(. Is there something really obvious I'm missing? I did tons over tons of reading and simply can't find the reason its not working. I would really appreciate it if you could take a short look at it to clarify for me if its possible or not. gui.au3
  4. Hey guys, how do i proceed if i wanted to add these trayicons to my project? Do i create a new function and load it? (results in my script not working anymore) Do i paste it directly into my script? (results in exit beeing created with no function) Sorry for the noobquestion.. spent hours trying to figure it out and didnt succeed
  5. ill rephrase my question tomorrow /edit
  6. Hey Jos, thanks for the reply! I was apparently way overdue (18 hour work day:).. its a good thing) when I typed this down yesterday since my articulation is really really off and I hardly got my point across. I also just reread the rules (would be really cool if they were thumbnailed in all subcategories, took me a short while to find them), so let me rephrase my question : After a good night out with some buddies I decided to work some more on my script in an unconcious(drunken) state of mind. When I woke up I the next morning, my Pc was still running, and for some weird reason i replaced all the include statements with their matching sources. Did somebody else run into similar happenings and managed to tidy up their sourcecode? My current solution is exactly the opposite way : I exported my own functions into a new project and am currently trying to slowly add all includes by debugging. After working on it for some time it really felt like there was a good chance somebody has written a parser for your proposed (manual) solution. peace Mentis
  7. Hey guys, some people asked me to update a pretty old script of mine, i was surprised that anyone still cared since quiet some time passed :). Now I've sadly ran into problems trying to update the code..i obviously get molested by 10.000 "constant already defined" errors (include the metroUI for and some other functional changes) since through some misshappenings I've lost the source and have to work with a decompiled version. Is there a way to automaticly detect and extract all the used? I've started a new project with my old code, but restoring all the includes either through debugging the new project or matching thousends of line in the other code makes little ponys sad .. I would really appreciate any input! peace out
×
×
  • Create New...