Jump to content

Login system wişth hwid control


deve
 Share

Recommended Posts

Hi all,

I am working on a project that needs user information to log them in to the tool. SO far I have this :

Func _Login($sUsername, $sPassword)
    $hRequest = InetRead("http://localhost.com/login.php?username=" & $sUsername & "&password=" & $sPassword, 1)
    If $hRequest = "0x0A56414C4944204C4F47494E" Then
        MsgBox(0, "Login", "Login Successful! Welcome " & $sUsername & "!")     
        GUIDelete($hGUI)
        _Main()
    Else
        Exit
    EndIf
EndFunc

I wont to add a hwid protection to this , after sending the form tool gets hwid of user and sends with the form.Like :

$hRequest = InetRead("http://localhost.com/login.php?username=" & $sUsername & "&password=" & $sPassword & "&hwid=" & $shwid 1)

I dont no if this is correct ??? and I chouldnt figure out how the form will look for hwid of user and send in background with the other information ?

Hope I havent explain this to compilicate.... Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...