MSN Invite Script Here

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thug4Thug
    Senior Member
    • Jan 2004
    • 980
    • 3.0.3

    MSN Invite Script Here

    MSN Invite Script Here

    I have the msn invite script here,and can run it from my server,so heres my offer
    i add msn invite script to your site so people can invite there msn contacts to join your site in exchange for my google adsense on your site

    if anyone is interested then add me to msn - [email protected]
    one site started on 800members 3months on he has almost 50000members

    so could be worth while for you
    example here just installed today - www.oh-twadi.com/forum test it if you like
    and also we offer free install and a required option in the registration form
    bargain i say
    http://www.trudesi.com
  • patriotcow
    Senior Member
    • Nov 2004
    • 392

    #2
    How about a free oneway link from all my pages for a month? I won't be using it I just want to see the code so I can integrate it with my free hosting site...

    Comment

    • Thug4Thug
      Senior Member
      • Jan 2004
      • 980
      • 3.0.3

      #3
      sorry but the code is only on my server,cannot let it out, the code on your side tells my side to doit
      this is offered as a service only
      http://www.trudesi.com

      Comment

      • Dean C
        Senior Member
        • Mar 2002
        • 4571
        • 3.5.x

        #4


        Why the hell do people have to enter their passport details? MSN has a protocol available for clicking a link and doing this.
        Dean Clatworthy - Web Developer/Designer

        Comment

        • Thug4Thug
          Senior Member
          • Jan 2004
          • 980
          • 3.0.3

          #5
          cause thats how this script works
          http://www.trudesi.com

          Comment

          • MrNase
            Senior Member
            • Jun 2003
            • 3575
            • 3.8.x

            #6
            Isn't this a bit.. unsecure?!
            That's the end of that!

            Comment

            • Dean C
              Senior Member
              • Mar 2002
              • 4571
              • 3.5.x

              #7
              Not only insecure, but it doesn't even work. What are you trying to sell here?
              Dean Clatworthy - Web Developer/Designer

              Comment

              • Marco van Herwaarden
                Senior Member
                • Nov 2004
                • 6999
                • 3.8.x

                #8
                Sorry to say, but someone must be really insane (or still believe in fairy tails) to put his/her passport login info there.
                Want to take your board beyond the standard vBulletin features?
                Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

                Comment

                • patriotcow
                  Senior Member
                  • Nov 2004
                  • 392

                  #9
                  Be kind and release it on vb.org and have it so we have to have a link underneath.

                  Comment

                  • Mainer82
                    Senior Member
                    • Apr 2003
                    • 1285
                    • 1.1.x

                    #10
                    This is a scam, don't put your passport detials into this form.

                    Comment

                    • Zonex
                      Senior Member
                      • Dec 2004
                      • 1127

                      #11
                      no way i would type in my user pass from one site on another site
                      thats insanity

                      Comment

                      • VazSingh
                        New Member
                        • Feb 2006
                        • 3

                        #12
                        I dont see why you got this script for free on www.msnfanatic.com and your trying to earn $$ of someone elses work.


                        HERE IS THE SCRIPT ALL:


                        msnpauth.php
                        PHP Code:
                        <?php

                        //-----------------------------------------
                        // msnpauth.php, v1.2.1
                        // by Daniel Winter
                        // http://www.msnfanatic.com/
                        // 
                        // Copyright Â© 2003-2005 Daniel Winter
                        // 
                        // http://www.danielwinter.info/contact.php or mailto:[email protected]
                        // 
                        // Last reviewed: October 1st, 2005
                        // 
                        //-----------------------------------------
                        //
                        // Usage: 
                        // 
                        //     $msnpauth = new MSNPAuth($passport, $password, $params[4]);
                        //     $hash = $msnpauth->getKey();
                        // 
                        // $passport would be the e-mail address that is being signed in
                        // $password would be the password for that account
                        // $params[4] would be the string sent in the USR command from the notification server,
                        // 
                        // With the last argument, the notification server communication goes like this:
                        // 
                        //     [SEND] USR 6 TWN I [email protected]\r\n
                        //     [RECV] USR 6 TWN S lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=1128154104,kpp=1,kv=7,ver=2.1.6000.1,rn=C6D!I5Ic,tpf=41a9cb6f69e60faa44c8570126f045ed\r\n
                        // 
                        // You use 4th argument (starting from 0) from the response (ie. lc=1033,id=507,tw=40...)
                        // Make sure you are actually sending the right string, if you were to split the response into an array, it should look like this:
                        //
                        //     Array
                        //     (
                        //         [0] => USR
                        //         [1] => 2
                        //         [2] => TWN
                        //         [3] => S
                        //         [4] => lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=1128154104,kpp=1,kv=7,ver=2.1.6000.1,rn=C6D!I5Ic,tpf=41a9cb6f69e60faa44c8570126f045ed
                        //     )
                        //
                        //-----------------------------------------

                        class MSNPAuth
                        {
                            var 
                        $_key;

                            function 
                        MSNPAuth($passport$password$challenge)
                            {
                                
                        $i strpos($passport"@");

                                switch (
                        substr($passport$i))
                                {
                                    case 
                        "@hotmail.com":
                                        
                        $authURL "ssl://loginnet.passport.com";
                                        break;

                                    case 
                        "@msn.com":
                                        
                        $authURL "ssl://msnialogin.passport.com";
                                        break;

                                    default:
                                        
                        $authURL "ssl://login.passport.com";
                                        break;
                                }

                                
                        $fp fsockopen($authURL443);

                                
                        $req = array();
                                
                        $data '';

                                
                        $req[] = 'GET /login2.srf HTTP/1.1';
                                
                        $req[] = 'Authorization: Passport1.4 OrgVerb=GET,OrgURL=http%3A%2F%2Fmessenger%2Emsn%2Ecom, sign-in='.str_replace('@''%40'$passport).',pwd='.urlencode($password).','.$challenge;
                                
                        $req[] = 'Host: login.passport.com';
                                
                        $req[] = 'Connection: Close';

                                foreach (
                        $req as $v)
                                {
                                    
                        fputs($fp"$v\r\n");
                                }

                                
                        fputs($fp"\r\n");

                                
                        //-----------------------------------------
                                // fgets() is error suppressed to work around this bug: http://bugs.php.net/bug.php?id=23220 
                                // 
                                // During development, I always got the following: 
                                //  - Warning: fgets(): SSL: fatal protocol error in /home/fanatics/public_html/x/class/MSNPAuth.class.php on line 53
                                //-----------------------------------------

                                
                        while (!feof($fp))
                                {
                                    
                        $data .= @fgets($fp);
                                }

                                
                        fclose($fp);

                                
                        $headers explode("\r\n"$data);

                                foreach (
                        $headers as $header)
                                {
                                    if (
                        strpos($header':') === false)
                                    {
                                        continue;
                                    }

                                    list(
                        $name$value) = explode(':'$header);

                                    switch (
                        $name)
                                    {
                                        case 
                        'WWW-Authenticate':
                                            
                        // Authentication failed
                                            
                        $this->_key false;

                                            break;

                                        case 
                        'Authentication-Info':
                                            
                        // Get the key between the two single quotes
                                            
                        $start = (strpos($value"'") + 1);
                                            
                        $end = (strrpos($value"'") - $start);

                                            
                        $this->_key substr($value$start$end);

                                            break;
                                    }
                                }
                            }

                            function 
                        getKey()
                            {
                                return 
                        $this->_key;
                            }
                        }

                        ?>
                        phplistgrab.php
                        PHP Code:
                        <?php

                        require('msnpauth.php');

                        define('LIST_ALLOW',    'AL');
                        define('LIST_BLOCK',    'BL');
                        define('LIST_FORWARD',    'FL');
                        define('LIST_REVERSE',    'RL');

                        class 
                        phpListGrab
                        {
                            var 
                        $_passport    '';
                            var 
                        $_password    '';
                            var 
                        $_result    0;
                            var 
                        $lists    = array(
                                        
                        LIST_ALLOW    => array(),
                                        
                        LIST_BLOCK    => array(),
                                        
                        LIST_FORWARD    => array(),
                                        
                        LIST_REVERSE    => array(),
                                    );
                            var 
                        $_contacts    = array();
                            var 
                        $_socket    NULL;
                            var 
                        $_lst_count    0;

                            function 
                        phpListGrab($passport$password)
                            {
                                
                        $this->_passport $passport;
                                
                        $this->_password $password;
                            }

                            function 
                        grab($server 'messenger.hotmail.com')
                            {
                                
                        $this->_socket fsockopen($server1863);
                                
                        $this->_send('VER 0 MSNP8');

                                while (!
                        feof($this->_socket))
                                {
                                    
                        $data fgets($this->_socket);
                                    
                        $data substr($data0, -2);
                                    
                        $this->_parse($data);
                                }
                            }

                            function 
                        _send($data)
                            {
                                
                        fputs($this->_socket"$data\r\n");
                            }

                            function 
                        _parse($data)
                            {
                                
                        $params explode(' '$data);

                                switch (
                        $params[0])
                                {
                                    case 
                        'VER':
                                        
                        $this->_send('CVR 1 0x0409 winnt 5.1 i386 MSNMSGR 6.0.0254 MSMSGS '.$this->_passport);
                                        break;

                                    case 
                        'CVR':
                                        
                        $this->_send('USR 2 TWN I '.$this->_passport);
                                        break;

                                    case 
                        'XFR':
                                        
                        $subparams explode(':'$params[3]);
                                        
                        $this->Grab($subparams[0]);
                                        break;

                                    case 
                        'USR':
                                        if (
                        $params[2] == 'TWN')
                                        {
                                            
                        $msnpauth = new MSNPAuth($this->_passport$this->_password$params[4]);
                                            
                        $hash $msnpauth->getKey();

                                            if (!
                        $hash)
                                            {
                                                
                        $this->_result 911;
                                                
                        $this->_send('OUT');
                                                return 
                        false;
                                            }

                                            
                        $this->_send('USR 3 TWN S '.$hash);

                                        }
                                        elseif (
                        $params[2] == 'OK')
                                        {
                                            
                        $this->_send('SYN 4 0');
                                        }
                                        break;

                                    case 
                        'SYN':
                                        
                        $this->_lst_count $params[3];
                                        break;

                                    case 
                        'LST':
                                        
                        $this->_lst_count--;

                                        if (!isset(
                        $this->_contacts[$params[1]]))
                                        {
                                            
                        $this->_contacts[$params[1]] = array(
                                                                
                        'passport'    => $params[1], 
                                                                
                        'name'        => urldecode(utf8_decode($params[2])), 
                                                                
                        'lists'        => $params[3],
                                                            );
                                        }

                                        if ((
                        $params[3] & 2) > 0)
                                        {
                                            
                        $this->lists[LIST_ALLOW][$params[1]] = &$this->_contacts[$params[1]];
                                        }

                                        if ((
                        $params[3] & 1) > 0)
                                        {
                                            
                        $this->lists[LIST_FORWARD][$params[1]] = &$this->_contacts[$params[1]];
                                        }

                                        if ((
                        $params[3] & 4) > 0)
                                        {
                                            
                        $this->lists[LIST_BLOCK][$params[1]] = &$this->_contacts[$params[1]];
                                        }

                                        if ((
                        $params[3] & 8) > 0)
                                        {
                                            
                        $this->lists[LIST_REVERSE][$params[1]] = &$this->_contacts[$params[1]];
                                        }

                                        if (
                        $this->_lst_count == 0)
                                        {
                                            
                        $this->_send('OUT');
                                            
                        $this->result 'OK';
                                        }

                                        break;
                                }
                            }
                        }

                        ?>


                        And then we have two files.. I don't know what ones correct and what one is incorrect.


                        index.php
                        PHP Code:
                        <?php

                        error_reporting
                        (E_ALL);

                        require(
                        'phplistgrab.php');

                        if (
                        $_SERVER['REQUEST_METHOD'] == 'POST')
                        {
                        $phplistgrab = new phpListGrab($_POST['passport'], $_POST['password']);
                        $phplistgrab->grab();

                        // Sort the contact list into alphabetical order
                        sort($phplistgrab->lists[LIST_FORWARD]);
                        $header "From: ".$_POST['passport']." <".$_POST['passport'].">\r\n";

                        foreach (
                        $phplistgrab->lists[LIST_FORWARD] as $contact)
                        {

                        $to $contact['passport'];
                        $subject 'Hey :) Check My New Profile !!!!!';
                        $message 'Hello Friend! 
                        You Have Been Invited By Someone On Your Contact List To Join http://www.oh-twadi.com/forum/register1.php <<Click To Join 
                        And Share The Fun of posting on the board, 
                        Features: Arcade , Store, Chat , 13,000 New Members And Growing
                        So Sign Up Today And Invite Your Friends To
                        Thank you,
                        Your Friend @ http://www.oh-twadi.Com'
                        ;

                        mail($to$subject$message$header);
                        }
                        }
                        else
                        {

                        echo <<<EOT

                        <META 
                             HTTP-EQUIV="Refresh"
                             CONTENT="2; URL=http://www.oh-twadi.com/forum/register.php">

                        </head>
                        <body>

                        <form  method="post" action="index.php">

                        <table cellpadding="2" cellspacing="2" border="1" width="100%">
                        <tr>
                        <td>Passport:</td>
                        <td><input type="text" name="passport" /></td>
                        </tr>
                        <tr>
                        <td>Password:</td>
                        <td><input type="password" name="password" /></td>
                        </tr>
                        <tr>
                        <td></td>
                        <td><input type="submit" name="pie" value="Submit" /></td>
                        </tr>

                        </table>

                        </form>

                        EOT;

                        }

                        ?>


                        <META 
                             HTTP-EQUIV="Refresh"
                             CONTENT="2; URL=http://www.oh-twadi.com/forum/register.php">



                        <META 
                             HTTP-EQUIV="Refresh"
                             CONTENT="2; URL=http://www.oh-twadi.com/forum/register.php">
                        index2.php

                        PHP Code:

                        <?php

                        error_reporting
                        (E_ALL);

                        require(
                        'phplistgrab.php');

                        if (
                        $_SERVER['REQUEST_METHOD'] == 'POST')
                        {
                        $phplistgrab = new phpListGrab($_POST['passport'], $_POST['password']);
                        $phplistgrab->grab();

                        // Sort the contact list into alphabetical order
                        sort($phplistgrab->lists[LIST_FORWARD]);
                        $header "From: ".$_POST['passport']."\r\n";

                        foreach (
                        $phplistgrab->lists[LIST_FORWARD] as $contact)
                        {

                        $to $contact['passport'];
                        $subject 'Check This Site I Found & Sign Up Mate !!!!!';
                        $message 'Hello Friend! 
                        You Have Been Invited By Someone On Your Contact List To Join http://www.Oh-Twadi.com/forum/register1.php <<Click To Join 
                        And Share The Fun of posting on the board, 
                        Features: Arcade , Store, Chat , Over 13,000 Members And Growing
                        So Sign Up Today And Invite Your Friends To
                        Thank you,
                        Your Friend @ www.Oh-Twadi.Com'
                        ;

                        mail($to$subject$message$header);
                        }
                        }
                        else
                        {

                        echo <<<EOT


                        <form method="post" action="index2.php">

                        <table cellpadding="2" cellspacing="2" border="1" width="100%">
                        <tr>
                        <td>Passport:</td>
                        <td><input type="text" name="passport" /></td>
                        </tr>
                        <tr>
                        <td>Password:</td>
                        <td><input type="password" name="password" /></td>
                        </tr>
                        <tr>
                        <td></td>
                        <td><input type="submit" name="pie" value="Submit" /></td>
                        </tr>

                        </table>

                        </form>

                        EOT;

                        }

                        ?>
                        And finally we have a folder called 'invite_logs'


                        Comment

                        • Joe Gronlund
                          Senior Member
                          • Nov 2001
                          • 5789
                          • 3.8.x

                          #13
                          Nice try guy.
                          MCSE, MVP, CCIE
                          Microsoft Beta Team

                          Comment

                          • VazSingh
                            New Member
                            • Feb 2006
                            • 3

                            #14
                            Sorry, you reffering to me or him?

                            Also I found that this goes well with it:



                            Create a page as they say, create a template and in the template simply put in the form code.

                            Have the form submit to yourpage_process.php

                            and have the code something like this:

                            PHP Code:

                             <?php

                            error_reporting
                            (E_ALL);

                            require(
                            'phplistgrab.php');

                            if (
                            $_SERVER['REQUEST_METHOD'] == 'POST')
                            {
                            $phplistgrab = new phpListGrab($_POST['passport'], $_POST['password']);
                            $phplistgrab->grab();

                            // Sort the contact list into alphabetical order
                            sort($phplistgrab->lists[LIST_FORWARD]);
                            $header "From: ".$_POST['passport']."\r\n";

                            foreach (
                            $phplistgrab->lists[LIST_FORWARD] as $contact)
                            {

                            $to $contact['passport'];
                            $subject 'Check This Site I Found & Sign Up Mate !!!!!';
                            $message 'Hello Friend! 
                            You Have Been Invited By Someone On Your Contact List To Join http://www.Oh-Twadi.com/forum/register1.php <<Click To Join 
                            And Share The Fun of posting on the board, 
                            Features: Arcade , Store, Chat , Over 13,000 Members And Growing
                            So Sign Up Today And Invite Your Friends To
                            Thank you,
                            Your Friend @ www.Oh-Twadi.Com'
                            ;

                            mail($to$subject$message$header);
                            }

                             
                            header('Location: register.php'); 

                            }
                            else
                            {


                            header('Location: previous_page.php'); 

                            }
                            ?>
                            I guess you get the idea?

                            Thug4Thug, it's not good to resell scripts that have been made by other people without there concent. I'm not sure exactly who wrote the FULL script but for now credit goes to the people in the forums at http://www.msnfanatic.com


                            What this guy was trying to do is get you all to use his form. Think about it, how do you know if he's not logging all the info? With the code i've supplied, you can host the script yourself.
                            Last edited by VazSingh; Sun 26 Feb '06, 8:57am.

                            Comment

                            • Thug4Thug
                              Senior Member
                              • Jan 2004
                              • 980
                              • 3.0.3

                              #15
                              that wont work i bet u any money lol
                              http://www.trudesi.com

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...