- #cs
- Autenticazione Account Windows
- Autore: Red Skull 92
- Mail: RedSkull92[AT]gmail[DOT]com
- Web: www.redskull92.wordpress.com
- Utilizzo: _logon("User","Pass")
- Return: True = Dati corretti
- False = Dati non corretti
- #ce
- Func _logon($user,$pass)
- $ptr=DllStructCreate("int")
- $lol=DllCall("Advapi32.dll","int","LogonUserA","str",$user,"str",".","str",$pass,"dword",2,"dword",0,"ptr",DllStructGetPtr($ptr))
- DllStructGetData($ptr,1)
- DllClose($lol)
- If Not @error And $lol[0] <> 0 Then
- Return True
- EndIf
- Return False
- EndFunc
Funzione Autenticazione Windows By Red Skull 92
