Hi,
Wouldn't:
ret = read_all(sockets, limit);
for(i=0;i<limit;i++)
{
#if 0
if(!(ret[i] && strstr(ret[i], "word:")))
{
if(ret[i])
if(((!strstr(ret[i], "denied"))&&
(!strstr(ret[i], "incorrect"))&&
(!strstr(ret[i], "ogin:")))||strstr(ret[i], "last login"))
{
accounts[i]->working = 1;
}
shutdown(sockets[i], 2);
close(sockets[i]);
sockets[i]=-1;
}
Detect just if the lower case string shows up? if Last login is written, it
won't detect anything?
Thanks
Noam Rathaus
http://www.SecurITeam.com
http://www.BeyondSecurity.com
Wouldn't:
ret = read_all(sockets, limit);
for(i=0;i<limit;i++)
{
#if 0
if(!(ret[i] && strstr(ret[i], "word:")))
{
if(ret[i])
if(((!strstr(ret[i], "denied"))&&
(!strstr(ret[i], "incorrect"))&&
(!strstr(ret[i], "ogin:")))||strstr(ret[i], "last login"))
{
accounts[i]->working = 1;
}
shutdown(sockets[i], 2);
close(sockets[i]);
sockets[i]=-1;
}
Detect just if the lower case string shows up? if Last login is written, it
won't detect anything?
Thanks
Noam Rathaus
http://www.SecurITeam.com
http://www.BeyondSecurity.com