Thread: Serial Codes

Results 1 to 9 of 9
  1. #1
    dudezone2's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    86
    Reputation
    10
    Thanks
    2
    My Mood
    Relaxed

    Serial Codes

    Ok, I would like to make a program, that generates a random serial number, then another program that people can use the serial that was generated and register their product. and thus making that serial not usable. and i have a site with access to cpanel and FTP accounts. Thanks
    I don't really have a signature... well... you don't have a life! TM...well its not really a trademark, but don't take it

  2. #2
    Null::Void's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    47
    Reputation
    6
    Thanks
    7
    My Mood
    Relaxed
    Ok so you need to research the following things please:

    lookup the rand(); funtion for vb.net and convert your number to hex (Simplest way i can think of doing what you want)

    Lookup SQL Querying (Going to be so much better than storing into a text file) (All you will need is to Add s/n's and then check if its used with a boolean flag)

    With that you should be able to pull something off please reply with what you end up with

  3. #3
    TheGoldenShroud's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    0
    Yes I am very interested in this as well. I have the same access to the things as well.

  4. #4
    sythe179's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    The internet
    Posts
    660
    Reputation
    15
    Thanks
    1,458
    My Mood
    Paranoid
    could make it there username sha512 encrypted with a custom string,
    and use that as there key. (and make it so it can only be entered once..)

    just dont tell anybody that you did...

  5. #5
    Sync's Avatar
    Join Date
    Jul 2011
    Gender
    female
    Location
    Bat Gang
    Posts
    1,977
    Reputation
    239
    Thanks
    208
    My Mood
    Yeehaw
    Generate Random Key
    Code:
    Function GenerateRandomString(ByRef length As Integer) As String
            Randomize()
    
            Dim allowableChars As String
            allowableChars = "abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()"
    
            Dim i As Integer
            For i = 1 To length
                GenerateRandomString = GenerateRandomString & Mid$(allowableChars, Int(Rnd() * Len(allowableChars) + 1), 1)
            Next
        End Function
    Code:
      Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Dim sLgth As String = TextBox2.Text
    
            If TextBox2.Text = "" Then
                MsgBox("Please enter a Char. Length")
            Else
                TextBox1.Text = GenerateRandomString(CInt(sLgth))
            End If
        End Sub
    Use that to generate some keys then validate then with a database.

  6. #6
    sythe179's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    The internet
    Posts
    660
    Reputation
    15
    Thanks
    1,458
    My Mood
    Paranoid
    How is that creating a validatable key?
    That's just making a random string.
    That way, you would have to enter every key into the database yourself.

    Why not just so it how I said, that way your only worrying about entering one key, mms using that for decrypting, and if it fails, its not a valid key.

  7. #7
    dudezone2's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    86
    Reputation
    10
    Thanks
    2
    My Mood
    Relaxed
    ***** i dont understand your way?
    I don't really have a signature... well... you don't have a life! TM...well its not really a trademark, but don't take it

  8. #8
    Raow's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    47°37′39″N 122°14′32″W
    Posts
    2,720
    Reputation
    140
    Thanks
    594
    Quote Originally Posted by *****179 View Post
    How is that creating a validatable key?
    That's just making a random string.
    That way, you would have to enter every key into the database yourself.
    Thats half of it. you could make the app generate a random key then add that key to a mysql database. then make the site somehow get the random key (i'm not very good with mysql, youtube/google some tuts). then merely make it so when the random key has been entered onto the site it checks with the mysql database and if it is correct then it erases that line/thingy/serial key

  9. #9
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    This might help, idk didn't really watch much of it:

Similar Threads

  1. [HELP]How to get serial code for games on steam!
    By MoFkN iBoSS in forum General
    Replies: 9
    Last Post: 04-04-2010, 07:48 AM
  2. Op7 serial code
    By Fad2009 in forum Operation 7 General
    Replies: 1
    Last Post: 02-13-2010, 05:46 AM
  3. [Release] New Cod 4 Serial Codes For Free
    By Houston in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 4
    Last Post: 10-04-2009, 12:05 PM
  4. Call of Duty 4/COD4 : Modern Warfare CD key/Serial Code very cheap
    By MarkoLeopard in forum Trade Accounts/Keys/Items
    Replies: 0
    Last Post: 10-08-2008, 08:09 PM
  5. SERIAL CODE FOR PHOTOSHOP 9!!!!!!!! 100% working
    By -[standoff]- in forum Art & Graphic Design
    Replies: 10
    Last Post: 07-29-2006, 05:35 AM