Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Web-Designer's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Arizona, USA
    Posts
    270
    Reputation
    11
    Thanks
    53
    My Mood
    Fine
    Okay thanks, okay well I got it now but like Blubb1337 I should encrypt it, How would I encrypt the passwords then have it decrypt when it checks. . .

    I don't think I need to get a paid web sever, since I am still releasing basic things, for now while I'm learning the basics I see no point to pay for one when I can just use a slow crappy one


    How could I make a local search program, like you type in keywords and it pulls that page up. . .and how big to you think its gonna be, with about. . .5,000 different possibility lol.

    (search>found page/Not found>Click which one>takes to the page)

    And/OR

    (search>It picks first possible one)
    Code:
    Looking for some project(s) to dedicate my time to! I know HTML, PHP, MySQL and JavaScript.
    
    
    - Message me if I can help you with something, all I want is some credit!

  2. #17
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by Web-Designer View Post
    Okay thanks, okay well I got it now but like Blubb1337 I should encrypt it, How would I encrypt the passwords then have it decrypt when it checks. . .
    You don't need to decrypt it when it checks, you just need to encrypt the user supplied password and see if it matches the encrypted password in your txtfile.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  3. #18
    Web-Designer's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Arizona, USA
    Posts
    270
    Reputation
    11
    Thanks
    53
    My Mood
    Fine
    oh and that doesn't sound hard at all lol

    Okay thanks, I'll look into it.
    Code:
    Looking for some project(s) to dedicate my time to! I know HTML, PHP, MySQL and JavaScript.
    
    
    - Message me if I can help you with something, all I want is some credit!

  4. #19
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by Web-Designer View Post
    oh and that doesn't sound hard at all lol

    Okay thanks, I'll look into it.
    It's not haha, Blubb even posted a snippet that would do the trick.

    Provided you've encrypted your password to MD5 when adding them to your textfile initially, all you need to do is use Blubb's MD5StringHash function to convert txtPassword.text to MD5, and then compare it the encrypted password in the txt file.

    Also, use Erinador's method to store your users/password, split is much more efficient for this, although you'll have to use a basic array

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  5. #20
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    As Jason said, MD5 cannot be decrypted, therefore you just do the following(logic ^.^):

    SeperateWords(1) = The md5 hash of the password in your .txt file.
    txtpassword = Textbox to enter the password in order to login

    [php]If MD5StringHash(txtpassword.text) = SeperateWords(1) Then
    ...
    end if[/php]

    [php]
    If Encrypted(txtpassword.text) = AlreadyEncrypted(SeperateWords(1)) Then
    ...
    end if[/php]

    Very easy logic.



Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Help] login system that connects to a MYSQL database
    By justiman in forum Visual Basic Programming
    Replies: 4
    Last Post: 04-12-2011, 10:40 AM
  2. [Help] Login System [/Closed]
    By LeonRus in forum Visual Basic Programming
    Replies: 7
    Last Post: 03-10-2011, 07:26 PM
  3. [Help] Login System
    By omanel in forum Web Languages
    Replies: 1
    Last Post: 02-05-2011, 10:11 AM
  4. [Help]Login System Code Fail
    By Sydney in forum Visual Basic Programming
    Replies: 6
    Last Post: 09-03-2010, 07:47 AM