 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
byakkotatsu
Joined: 10 Jul 2008 Posts: 6
|
Posted: Fri Jul 18, 2008 3:17 am Post subject: password |
|
|
Hi im looking to add a pw to my program i did, i want it so that when i send it to othere pc and they use a pw to run it, they cant send it on to othere pc, i want a pw that u need for a mac code
example u run program it shows pc's mac code i send pw for that code program runs., |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Jul 18, 2008 3:52 am Post subject: Re |
|
|
???
I have no idea what this mac thing is, but I thinking that you could try compiling, and when you compile it asks if you want a password before running it.
Or optionaly within the code:
[code]
InputBox, Variable, Title, Please enter your password:, HIDE
IF %Variable% = ThePasswordYouWantGoesHere
{
MsgBox, Password Accepted
}
ELSE
{
MsgBox, Wrong Password
} |
|
| Back to top |
|
 |
300W
Joined: 12 Jan 2008 Posts: 27
|
Posted: Fri Jul 18, 2008 4:39 am Post subject: |
|
|
If I had time I could put something together for you, but I'm not that good on generating "CD-Keys" (The mac thingy he is reffering to is the MAC-id for the ethernet adapter on the computer)...
but the script should look like this:
Retrieve MAC-id
Append some magic to the MAC-id
Compare the Wicked MAC-id with the input of the user.
That's it... FYI, you could still reverse engineer that... there is no 100% protection... |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
|
| Back to top |
|
 |
byakkotatsu
Joined: 10 Jul 2008 Posts: 6
|
|
| Back to top |
|
 |
byakkotatsu
Joined: 10 Jul 2008 Posts: 6
|
Posted: Sun Jul 20, 2008 4:17 am Post subject: |
|
|
| can some 1 tell me where i can locate a SafeSW.ini file? |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Sun Jul 20, 2008 4:35 am Post subject: |
|
|
| Quote: |
6. SafeSW.ini
It contains the following information:
[Registration]
User = Laszlo Hars
Email = Laszlo@Hars.US
UnlockCode = d0e8fd5f48edbc00
|
the data is shown on the page you linked to.
| Laszlo wrote: |
To generate the SafeSW.ini file replace the code between the line IniFile = ... and ExitApp with the following: | Code: | InputBox User, User, Enter the User's name,, 220,140
InputBox Email,Email, Enter the User's Email,, 220,140
InputBox FGprt,FGprt, Enter the PC Fingerprint,,220,140
Together = %User%%Email%%FGprt%
Auth := XCBC(Hex(Together,StrLen(Together)), 0,0, k0,k1,k2,k3, l0,l1, m0,m1)
IniWrite %User%, %IniFile%, Registration, User
IniWrite %Email%,%IniFile%, Registration, Email
IniWrite %Auth%, %IniFile%, Registration, UnlockCode | You can remove the CheckAuth subroutine, too, but it does not matter. |
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|