EXE file needs screeny.
Hi! Today im going to show you how to keep those pesky hackers away !!
(FOR MORE INFO READ THE DETAILS AFTER EVERY LINE OF CODE)
Picture:
[IMG]https://i647.photobucke*****m/albums/uu198/Vinnie_davis1337/Untitled-2-1.png[/IMG]
Ok first your gonna want to lay down some Dims!
(PUT THIS UNDER "Public Class Form1")
Ok Now if you ever wanted to change the Base integer this is what you will need to do so your program doesn't detect a force change.Code:Dim Integer1 As Integer = 0 'The Base integer Dim Integer2 As Integer = Integer1 * 2 'The Base integer Multiplied by 2 to make it harder to crack Dim AllowChange As Boolean = False 'if True you will be free to change the number Dim oldNumber As Integer = 0 'The Number that the hacker is trying to change. Dim RandomNumbers As New Random() 'This Will be the base for generating a random number!
(YOU CAN ADD THIS TO A BUTTON TO MAKE A RANDOM NUMBER)
Now for the Detection, your going to want to make a timer for this and set the interval to 1 milisecond.Code:oldNumber = Integer1 'So We know what to change the number back to allowChange = True 'Allow us to change the variable Integer1 = RandomNumbers.Next(0, 100) 'Change the number (Minumum random, Max Random) allowChange = False 'Stop anybody from changing the integer Integer2 = Integer1 * 2 'Set the Multiplied Variable
(ALWAYS HAVE THE TIMER ENABLED FOR FULL PROTECTION)
And your done! I've provided the EXE file in the atachmentCode:Label2.Text = Integer1 'Refresh the number If Integer1 = Integer2 / 2 = False Then 'If the number is changed then... If allowChange = False Then 'If it is forced then... Integer1 = oldNumber 'Change the number back to the original Integer2 = Integer1 * 2 'Reset integer2 back to the original * 2 MsgBox("Stop Trying...") 'Give them a message xD End If 'End the second If statement End If 'End the first If statement
Scans:
1: cant hack me.exe - Jotti's malware scan
2: VirusTotal - Free Online Virus, Malware and URL Scanner
Last edited by consca; 10-11-2010 at 12:32 AM.
EXE file needs screeny.
consca (10-11-2010)
aight 1 sec
EDIT:
Pictures up!
Last edited by consca; 10-11-2010 at 12:32 AM.
const int UnchangeableInteger = 0;
Also, 1ms is a bit of an overkill. Since the timer control is executed on the UI thread, you may find your UI lagging, especially if you do 50 of these.
who would run 50 though? :P
EDIT:
And the point of this is to still be able to change the integer but not let anyone else using a memory editor such as cheat engine to change it.
Last edited by consca; 10-11-2010 at 12:43 AM.
const int UnchangeableInteger = 0;
Unless I have a damn shitty computer, UI won't lag even if I use 200 -.-Also, 1ms is a bit of an overkill. Since the timer control is executed on the UI thread, you may find your UI lagging, especially if you do 50 of these.
Plus, you should just modify the integer values not label's text (to avoid possible lag) !!!
@OP: Nice, but has some flaws. Thanks for sharing
consca (10-11-2010)
Why the facefloor? ._. I don't understand...
And, this is a simple program. If you increase the program's complexity, you may find yourself adding many more things into that operation O: Take a simple MSN client using C# - the backend / client component is 250,000 lines of code alone. Then you have your UI work ...
@Freedom, I like you. But......I need you to refrain from attempting to take apart applications and every word of every member.
Essentially, all you have done in this section is troll it.
One Warning.
This is the VB.net section, Keep C++ and C# development discussions to their threads please.
@ Op, Moved to tuts'
1 Hr Redirect.
Last edited by NextGen1; 10-11-2010 at 08:57 AM.
Kallisti (10-11-2010)
consca (03-26-2011)
Thanks for all the input you guys have given me
Btw i've tested and i can't get around to changing it with cheatengine, if someone finds a crack to it please share
EDIT: Apearently the administrator whomoved the thread took a part of the title out, just so people are clear.. I want to still be able to change the integer.