accounts.nes

From: Noam Rathaus (noamrat_private)
Date: Tue Feb 26 2002 - 10:38:11 PST

  • Next message: Noam Rathaus: "Accounts.diff"

    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
    



    This archive was generated by hypermail 2b30 : Tue Feb 26 2002 - 10:38:23 PST