Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Vb password protection!
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Thu Jan 17, 2008 7:52 am    Post subject: Vb password protection! Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
stealthy17
Expert Cheater
Reputation: 0

Joined: 10 Apr 2007
Posts: 144
Location: The Netherlands

PostPosted: Thu Jan 17, 2008 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Elec0
Expert Cheater
Reputation: 0

Joined: 21 Nov 2007
Posts: 188
Location: Out of my mind, back in five minutes.

PostPosted: Thu Jan 17, 2008 8:48 am    Post subject: Reply with quote

I agree with stealthy.
_________________
Back to top
View user's profile Send private message MSN Messenger
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Thu Jan 17, 2008 9:20 am    Post subject: Reply with quote

stealthy17 wrote:
Might look hard to guess but JE -> JMP will probably do the trick after compilation...

Answer i think -> No it's not safe.
Then hack it Smile
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
stealthy17
Expert Cheater
Reputation: 0

Joined: 10 Apr 2007
Posts: 144
Location: The Netherlands

PostPosted: Thu Jan 17, 2008 9:25 am    Post subject: Reply with quote

Compile it and upload it.
I'll show you ^^
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Thu Jan 17, 2008 9:34 am    Post subject: Reply with quote

stealthy17 wrote:
Compile it and upload it.
I'll show you ^^



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.


_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
stealthy17
Expert Cheater
Reputation: 0

Joined: 10 Apr 2007
Posts: 144
Location: The Netherlands

PostPosted: Thu Jan 17, 2008 9:40 am    Post subject: Reply with quote

Okay it wasn't JE -> JMP but just as simple.
I nopped JE which happens when the number entered was wrong.

http://www.pixeldb.org/images/Stealthy/lildiffer.jpg

Ps.
There's a few other ways i know...
Back to top
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Thu Jan 17, 2008 10:14 am    Post subject: Reply with quote

Just ZF 00401E48 or nop it.
Back to top
View user's profile Send private message
stealthy17
Expert Cheater
Reputation: 0

Joined: 10 Apr 2007
Posts: 144
Location: The Netherlands

PostPosted: Thu Jan 17, 2008 10:18 am    Post subject: Reply with quote

stealthy17 wrote:

Ps.
There's a few other ways i know...
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Thu Jan 17, 2008 1:49 pm    Post subject: Reply with quote

ohh...
There are multiple answers! ^.^
you could also use 124659876465905

Ok so is there a way of protecting the sorce code? Very Happy

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
stealthy17
Expert Cheater
Reputation: 0

Joined: 10 Apr 2007
Posts: 144
Location: The Netherlands

PostPosted: Thu Jan 17, 2008 1:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
XxOsirisxX
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Oct 2006
Posts: 1597

PostPosted: Thu Jan 17, 2008 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
sangeli
Master Cheater
Reputation: 0

Joined: 07 Dec 2006
Posts: 406

PostPosted: Thu Jan 17, 2008 10:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Fri Jan 18, 2008 12:35 am    Post subject: Reply with quote

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
View user's profile Send private message
stealthy17
Expert Cheater
Reputation: 0

Joined: 10 Apr 2007
Posts: 144
Location: The Netherlands

PostPosted: Fri Jan 18, 2008 2:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites