naru Posted March 14, 2019 Author Posted March 14, 2019 14 minutes ago, FrancescoDiMuro said: @naru 1) Decompiling FAQ; 2) XProTec.au3 (as always, post the script in which you try to use that USF instead of ask how to do it); 3) Limited Freeware Option Example (XProTec.au3). I am showing this topic before but i don't understand how to use it. Can you help me for it? i want to make this code paid : #include <IE.au3> Local $oIE = _IEAttach ("Home") $Dprintdetails1 = _IEGetObjById($oIE, "printdetails") ; get first object $Dprintdetails1.id = "printdetails1" ; change it's id $Dprintdetails = _IEGetObjById($oIE, "printdetails") ; get second object $Dprintdetails.RemoveNode(True) ; remove it exit
FrancescoDiMuro Posted March 14, 2019 Posted March 14, 2019 (edited) @naru Post the code you want to sell in a Forum where everyone could see it, sounds like a nonsense You should post the code in which you use XProTec.au3 UDF, not your code. Edited March 14, 2019 by FrancescoDiMuro Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
naru Posted March 14, 2019 Author Posted March 14, 2019 12 minutes ago, FrancescoDiMuro said: @naru Post the code you want to sell in a Forum where everyone could see it, sounds like a nonsense You should post the code in which you use XProTec.au3 UDF, not your code. it was not my original code, it was the little part of it for example.
FrancescoDiMuro Posted March 14, 2019 Posted March 14, 2019 9 minutes ago, naru said: You should post the code in which you use XProTec.au3 UDF, not your code. Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
naru Posted March 14, 2019 Author Posted March 14, 2019 9 minutes ago, FrancescoDiMuro said: I ran from coplied and i get this error ERROR - Not a Valid Program Name #1 expandcollapse popup#include<XProTec.au3> ; MUST BE AN INCLUDE #include <IE.au3> $D_Mail = "developer@msn.com " ; your email $D_Program = "rcnumber" ; your program name $U_Price = "10" ; the amount of money you wish to be payed by the user $U_Trial = "3" ; amount of days for the trial period $U_License = "3" ; 3 = one computer only - see license notes $D_License = "123456789" ; developers license # $D_PayPal = "www.paypal.com/my account-link to paypal" ; - paypal link $D_Link = "www.mywebsite.com/.../" ; looks for "www.mywebsite.com/.../Blacklist.txt" ; see Blacklist $U_Return = 1 ; pay or quit .... or $U_Return = 0 ; will return control to developer with @extended = 6 [Limited Freeware Option] XProTec($D_Mail, $D_Program, $U_Price, $U_Trial, $U_License, $D_License, $D_PayPal, $D_Link, $U_Return) Opt("TrayAutoPause",0) HotKeySet("{ESC}", "Quit") Func Quit() Exit EndFunc $sData = ClipGet() $oIE = _IEAttach ("Enter card Number") $body = _IEBodyReadHTML($oIE) WinActivate("[CLASS:IEFrame]") while 1 _IELoadWait($oIE); (Default) Wait for page load to complete before returning $body = _IEBodyReadHTML($oIE) If Not StringInStr($body, "userCard") Then ContinueLoop Else $oObj = _IEGetObjByName($oIE,"userCard") _IEPropertySet($oObj,"innertext",$sData) $btnext = _IEGetObjById($oIE,"btnnext") _IEAction($btnnext,"click") ExitLoop EndIf WEnd
FrancescoDiMuro Posted March 14, 2019 Posted March 14, 2019 @naru In the XProTec.au3, there's a line that controls the name of the script, which has to be in the format FileName.extension, so, FileName.exe. The line is this one below: If $D_Program <> StringTrimRight(@ScriptName, 4) Then mError("ERROR - Not a Valid Program Name ", 1, 1) Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
naru Posted March 14, 2019 Author Posted March 14, 2019 21 minutes ago, FrancescoDiMuro said: @naru In the XProTec.au3, there's a line that controls the name of the script, which has to be in the format FileName.extension, so, FileName.exe. The line is this one below: If $D_Program <> StringTrimRight(@ScriptName, 4) Then mError("ERROR - Not a Valid Program Name ", 1, 1) @FrancescoDiMuro My english is not well, i cant understand you as well. Can you tell me how to solve it ?
FrancescoDiMuro Posted March 14, 2019 Posted March 14, 2019 @naru When calling the function XProTec, the variable $D_Program should be set with YourProgramName.exe Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
naru Posted March 14, 2019 Author Posted March 14, 2019 4 minutes ago, FrancescoDiMuro said: @naru When calling the function XProTec, the variable $D_Program should be set with YourProgramName.exe how can i set my program name ?
FrancescoDiMuro Posted March 14, 2019 Posted March 14, 2019 @naru When you compile your executable, by default, the program name is equal of your au3 script name. Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
naru Posted March 14, 2019 Author Posted March 14, 2019 3 minutes ago, FrancescoDiMuro said: @naru When you compile your executable, by default, the program name is equal of your au3 script name. solved but new error : Please Register as Devloper
Bert Posted March 14, 2019 Posted March 14, 2019 JTLYK - First - Any script can be decompiled and reversed engineered. And no, you can't do anything about that. Second - If you are thinking of embedding any type of ID and password in your code you want to sell - you are simply asking for trouble. In fact you are begging for it. Third - You have the code going to a website to enter in credit card information. As a person who deals with security this is a HUGE no no. What would stop someone hacking your app to change how it works yet on the face of it the app looks the same to the user? I get what you are trying to do. What I'm telling you is your approach is easily hackable, and from a user perspective - would never use. To put it plainly - AutoIt is NOT the best solution to what you are trying to do. The Vollatran project My blog: http://www.vollysinterestingshit.com/
RestrictedUser Posted March 23, 2019 Posted March 23, 2019 You could use Crypt.au3 to Derive Personal Key and Encrypt your Computer Specific Informations such as RAM Total Size, CPUArch, OSBuild, OSVersion and HDD Serial And when you open your program then encrypt these and if encrypted data doesn't equals to decrypted data, then program give Failed title MsgBox to you Its very common way that programmers use it to sell license for each computer
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now