Generatore casuale di password

« Older   Newer »
  Share  
-Anubi-
CAT_IMG Posted on 31/3/2010, 16:02     +1   -1




SPOILER (click to view)
#include <buttonconstants.au3>
#include <guiconstantsex.au3>
#include <windowsconstants.au3>

$Form2 = GUICreate("RunAs Brute Force", 413, 298, 315, 221)
$Button1 = GUICtrlCreateButton("Only Letters", 8, 16, 385, 73, $WS_GROUP)
$Button2 = GUICtrlCreateButton("With number", 8, 96, 385, 81, $WS_GROUP)
$With = GUICtrlCreateButton("With symbols", 8, 184, 385, 97, $WS_GROUP)
GUISetState(@SW_SHOW)


While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Local $l
$string="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z"
$Array=StringSplit($string,",")
$i=Random(0,UBound($Array)-1,1)
$parp = $Array[$i]
For $l = 1 to 10


$Array=StringSplit($string,",")
$i=Random(0,UBound($Array)-1,1)

$parp = $parp & $Array[$i]
Next

MsgBox(0,"Random",$parp)
Case $Button2
Local $l
$string="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,1,2,3,4,5,6,7,8,9,0"
$Array=StringSplit($string,",")
$i=Random(0,UBound($Array)-1,1)
$parp = $Array[$i]
For $l = 1 to 10


$Array=StringSplit($string,",")
$i=Random(0,UBound($Array)-1,1)

$parp = $parp & $Array[$i]
Next

MsgBox(0,"Random",$parp)

Case $With
Local $l
$string="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,.,',;,-,*,/,|,\,!,£,$,%,&,(,),<,>,-,_,^,ì,@,ò,à,ù,+,è,é,[,],ç,°,#,§,1,2,3,4,5,6,7,8,9,0,"
$Array=StringSplit($string,",")
$i=Random(0,UBound($Array)-1,1)
$parp = $Array[$i]
For $l = 1 to 10


$Array=StringSplit($string,",")
$i=Random(0,UBound($Array)-1,1)

$parp = $parp & $Array[$i]
Next

MsgBox(0,"Random",$parp)
EndSwitch
WEnd


Va beh, si capisce dal titolo xD
Serve ad esempio su quei forum che ti chiedono password complicate che ti scocci di inventare
 
Top
ACIDBURN16
CAT_IMG Posted on 31/3/2010, 16:12     +1   -1




Bravo anubi sopratutto utile, chi non sa che password inserire xd buon programma.
 
Top
-Anubi-
CAT_IMG Posted on 31/3/2010, 16:14     +1   -1




Grazie !
 
Top
Gianlu-thebest
CAT_IMG Posted on 31/3/2010, 16:20     +1   -1




BELLO! ma eseguilo e guarda il titolo XD
 
Top
-Anubi-
CAT_IMG Posted on 31/3/2010, 16:29     +1   -1




Lo sò, Anubi lo voleva fare per quello all'inizio
 
Top
ACIDBURN16
CAT_IMG Posted on 31/3/2010, 16:36     +1   -1




* omg, ma è fantastico è stato utilissimo sei un genio bravissimo Anubi xd.

Edited by ACIDBURN16 - 31/3/2010, 17:46
 
Top
-Anubi-
CAT_IMG Posted on 31/3/2010, 16:38     +1   -1




Grazie !
 
Top
6 replies since 31/3/2010, 16:02   153 views
  Share