Results 1 to 13 of 13
  1. #1
    consca's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    82
    Reputation
    23
    Thanks
    477
    My Mood
    Goofy

    [Tutorial]Making an Integer Unchangable[Vb.net]

    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")

    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!
    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.
    (YOU CAN ADD THIS TO A BUTTON TO MAKE A RANDOM NUMBER)

    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
    Now for the Detection, your going to want to make a timer for this and set the interval to 1 milisecond.
    (ALWAYS HAVE THE TIMER ENABLED FOR FULL PROTECTION)

    Code:
    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
    And your done! I've provided the EXE file in the atachment

    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.

  2. #2
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    EXE file needs screeny.

  3. The Following User Says Thank You to Lolland For This Useful Post:

    consca (10-11-2010)

  4. #3
    consca's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    82
    Reputation
    23
    Thanks
    477
    My Mood
    Goofy
    aight 1 sec

    EDIT:
    Pictures up!
    Last edited by consca; 10-11-2010 at 12:32 AM.

  5. #4
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    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.

  6. #5
    consca's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    82
    Reputation
    23
    Thanks
    477
    My Mood
    Goofy
    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.

  7. #6
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by consca View Post
    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.
    True true

    Except, thing is... If you use a memory scanner, scanning it would result in 2 values being returned. If you change both of them, or just the single one that's being stored as the oldNumber, then the current number would be changed too /:

    Big flaw?

  8. #7
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,132
    My Mood
    Dead
    Quote Originally Posted by freedompeace View Post
    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.
    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.
    Unless I have a damn shitty computer, UI won't lag even if I use 200 -.-
    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

  9. The Following User Says Thank You to Hassan For This Useful Post:

    consca (10-11-2010)

  10. #8
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    Quote Originally Posted by Xscapism View Post


    [QUOTED TEXT]



    [QUOTED TEXT]

    Unless I have a damn shitty computer, UI won't lag even if I use 200 -.-
    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
    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 ...

  11. #9
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    @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.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  12. The Following User Says Thank You to NextGen1 For This Useful Post:

    Kallisti (10-11-2010)

  13. #10
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,019
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    Quote Originally Posted by freedompeace View Post
    Why the facefloor? ._. I don't understand...
    1. that's not Vb syntax
    2. then it can never change, though he apparently wants it to, just not crackable?

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  14. The Following User Says Thank You to Kallisti For This Useful Post:

    consca (03-26-2011)

  15. #11
    consca's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    82
    Reputation
    23
    Thanks
    477
    My Mood
    Goofy
    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.

  16. #12
    ericsmart's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    1
    nice tutorial

  17. #13
    qwerty01's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    180
    Reputation
    9
    Thanks
    225
    My Mood
    Lurking
    Quote Originally Posted by consca View Post
    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.

    to hack it:

    nop out command at 002C1B6A...number can be changed at will via CE

Similar Threads

  1. [Tutorial] [TUTORIAL] Make Injector in VB. Net
    By MrBryanPro in forum CrossFire Spammers, Injectors and Multi Tools
    Replies: 4
    Last Post: 10-04-2011, 05:31 PM
  2. [Request] Tutorial: Make A Speed Hack [Vb.net]
    By johnnydicamillo in forum Programming Tutorial Requests
    Replies: 1
    Last Post: 12-11-2010, 12:50 PM
  3. Video tutorial: Making WarRock hack in Visual Basic
    By Darky in forum Visual Basic Programming
    Replies: 5
    Last Post: 02-12-2009, 02:47 PM
  4. [Tutorial] Make Window Always On top
    By blipi in forum Visual Basic Programming
    Replies: 3
    Last Post: 11-05-2007, 03:45 PM
  5. [Video tutorial] Make your own css cheats
    By seren1ty in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 6
    Last Post: 09-15-2007, 04:11 PM