| View previous topic :: View next topic |
| Author |
Message |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Thu Jan 17, 2008 7:52 am Post subject: Vb password protection! |
|
|
How safe would this be?
| Code: |
'secret code = 606060
Private Sub Command1_Click()
If Len(Text1) > 0 And IsNumeric(Text1) Then
If (Round((Text1 * 0.879465 / 2.46565) ^ 0.465 + 2)) = 304 Then
MsgBox "WoW"
Else
MsgBox "Nope.. loser"
End If
Else
MsgBox "you may only enter numbers"
End If
End Sub |
Or is it safer to use a variable to hold the information?
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
Posted: Thu Jan 17, 2008 8:47 am Post subject: |
|
|
Might look hard to guess but JE -> JMP will probably do the trick after compilation...
Answer i think -> No it's not safe.
|
|
| Back to top |
|
 |
Elec0 Expert Cheater
Reputation: 0
Joined: 21 Nov 2007 Posts: 188 Location: Out of my mind, back in five minutes.
|
Posted: Thu Jan 17, 2008 8:48 am Post subject: |
|
|
I agree with stealthy.
_________________
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
Posted: Thu Jan 17, 2008 9:25 am Post subject: |
|
|
Compile it and upload it.
I'll show you ^^
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Thu Jan 17, 2008 9:34 am Post subject: |
|
|
| stealthy17 wrote: | Compile it and upload it.
I'll show you ^^ |
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Thu Jan 17, 2008 10:14 am Post subject: |
|
|
| Just ZF 00401E48 or nop it.
|
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
Posted: Thu Jan 17, 2008 10:18 am Post subject: |
|
|
| stealthy17 wrote: |
Ps.
There's a few other ways i know...
|
|
|
| Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
Posted: Thu Jan 17, 2008 1:51 pm Post subject: |
|
|
Of course...
Packing / Encrypting is what people do to protect their code.
Have you never heard of UPX and ASProtect? (to name just 2 of many)
|
|
| Back to top |
|
 |
XxOsirisxX Grandmaster Cheater Supreme
Reputation: 0
Joined: 30 Oct 2006 Posts: 1597
|
Posted: Thu Jan 17, 2008 8:20 pm Post subject: |
|
|
Is'nt good idea to make a form load as if OllyDbger.exe is running or there are a window at TaskBar named "Olly Debug" then close the application to avoid cracking?
_________________
|
|
| Back to top |
|
 |
sangeli Master Cheater
Reputation: 0
Joined: 07 Dec 2006 Posts: 406
|
Posted: Thu Jan 17, 2008 10:32 pm Post subject: |
|
|
well, password security like that is a decent defense against most computer users, and it will fend off most deprogrammers and hackers. That looks decent, but a determined experienced hacker will crack it. The only way to really defeat a determined hacker is to either shut down his tools (somehow make sure ollydbg or other debuggers cant load/lock onto the program), or encrypt your source code. I am not sure exactly on how to shut down ollydbg, and I have less of an idea how to encrypt source code.
what i suggest is that you first of all, investigate in some code that either closes/disables the program until ollydbg process is gone, or make your program unlockable (not sure if possible). that will make a debugger worthless and cracking much harder.
_________________
| Dark Byte wrote: | | ce can certainly damage hardware let's say you have a robotarm attached to your computer, and the software limits usually block it from ripping out it's own cpu. If you remove that limit and then issue the command to rip out the cpu, sure, say goodbye to your hardware |
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Fri Jan 18, 2008 12:35 am Post subject: |
|
|
Don't try to encrypt the password, Try this way:
| Code: | if GivenPW*GivenPW =GivenPW+GivenPW then
MsgBox "YAY"
end if
|
so only if the GivenPW is 2 it will work.
Dont try to pack your program. There is always someone that can unpack it.
|
|
| Back to top |
|
 |
stealthy17 Expert Cheater
Reputation: 0
Joined: 10 Apr 2007 Posts: 144 Location: The Netherlands
|
Posted: Fri Jan 18, 2008 2:47 am Post subject: |
|
|
Still it's a bloody If statement which after compilation requires nothing more than JE -> JMP like i said.
And about packing... Well every bits help.
Not to mention packers like ASProtect not only pack your application, they encrypt also and make sure debuggers can't connect because of IsDebuggerPresent (lol even though its easy to bypass) etc etc.
But then I don't think it works with VB6 and .Net apps
O well there's plenty of alternatives.
|
|
| Back to top |
|
 |
|