User Control Panel
Advertisements

HELP US, HELP YOU!

Cant get MSN2 to work
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol
View unanswered posts
Author Message
Mr. Hahn
Newbie
Newbie


Joined: 29 Aug 2004
Posts: 30

Reputation: 21.1Reputation: 21.1

PostPosted: Sun Oct 31, 2004 6:33 pm    Post subject: Reply with quote

I tried the echobot.pl, and turned on the debug:

Quote:
Connecting to messenger.hotmail.com:1863 as XX@XXXXX.dk/XX
(3 NS) TX: VER 0 MSNP10 MSNP9 CVR0
(3 NS) RX: VER 0 MSNP10 MSNP9 CVR0
(3 NS) TX: CVR 1 0x0409 winnt 5.0 i386 MSNMSGR 6.1.0203 MSMSGS XX@XXX.dk
(3 NS) RX: CVR 1 6.2.0137 6.2.0137 6.1.0211 http://download.microsoft.com/downlo
ad/0/9/a/09a79e99-f2c8-4933-9797-77e88836bb52/SetupDL.EXE http://messenger.msn.c
om
(3 NS) TX: USR 2 TWN I X@XXXX.dk
(3 NS) RX: XFR 2 NS 207.46.106.40:1863 0 207.46.104.20:1863
(3 NS) TX: VER 3 MSNP10 MSNP9 CVR0
(3 NS) RX: VER 3 MSNP10 MSNP9 CVR0
(3 NS) TX: CVR 4 0x0409 winnt 5.0 i386 MSNMSGR 6.1.0203 MSMSGS XX@XXX.dk
(3 NS) RX: CVR 4 6.2.0137 6.2.0137 6.1.0211 http://download.microsoft.com/downlo
ad/0/9/a/09a79e99-f2c8-4933-9797-77e88836bb52/SetupDL.EXE http://messenger.msn.c
om
(3 NS) TX: USR 5 TWN I XXXX@XXX.dk
(3 NS) RX: USR 5 TWN S lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn
%2Ecom,ct=1099247310,kpp=1,kv=5,ver=2.1.6000.1,tpf=71f12766e6c21b99a1553022cbb5f
bf9
Authenticating : https://nexus.passport.com/rdr/pprdr.asp
SERVER ERROR : Authentication Error: No response from Passport server
Disconnecting from Notification Server
(3 NS) TX: OUT


Somebody help?
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sun Oct 31, 2004 6:36 pm    Post subject: Reply with quote

Have you installed the SSL updates needed to do authentication?
Back to top
Mr. Hahn
Newbie
Newbie


Joined: 29 Aug 2004
Posts: 30

Reputation: 21.1Reputation: 21.1

PostPosted: Sun Oct 31, 2004 6:41 pm    Post subject: Reply with quote

QUOTE(Mojave @ Oct 31 2004, 10:36 AM)
Have you installed the SSL updates needed to do authentication?

Yes I have
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sun Oct 31, 2004 6:49 pm    Post subject: Reply with quote

Have you tried logging in with your bot's account from MSN Messenger 6.2? Do you have any firewalls up that might be blocking the incoming or outgoing ports?
Back to top
Mr. Hahn
Newbie
Newbie


Joined: 29 Aug 2004
Posts: 30

Reputation: 21.1Reputation: 21.1

PostPosted: Sun Oct 31, 2004 6:53 pm    Post subject: Reply with quote

QUOTE(Mojave @ Oct 31 2004, 10:49 AM)
Have you tried logging in with your bot's account from MSN Messenger 6.2? Do you have any firewalls up that might be blocking the incoming or outgoing ports?

I have tried loggin in with MSN Messenger 7.0.0332, and on MSN Web Messenger, and there was no problem. I have a D-link router with firewall, but I there was no problem with MSN.pm 1.3.12 (the one that talha asad made)
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sun Oct 31, 2004 7:20 pm    Post subject: Reply with quote

Just comparing version 1.3 12 and 2.0... version 1.3.12 doesn't tell you if it fails on the first authentication server. It just plows right into the next bit of code, which is getting a list of passport urls. These are needed to complete authentication. I would expect 1.3.12 would fail also because even though it doesn't tell you it didn't hear from the first authentication server, it should be able to get the passport urls. Hmm...

You didn't tell me what version of MSN2.0 you have. It is usually printed as the first line of output. But if you have revision 76, you could try this: in MSN/Notification.pl, line 990, comment out return undef:

Code:
#         return undef;


In other revisions, the line number will be different.

Anyhow, this will disregard whether we were able to connect to the first authentication server, in the same way that 1.3.12 does. See where that gets you.
Back to top
alienz
Almost An Agent
Almost An Agent


Joined: 22 Mar 2004
Posts: 1436
Location: Mars
Reputation: 55.7

PostPosted: Sun Oct 31, 2004 7:28 pm    Post subject: Reply with quote

LOL I didnt even think of comparing 2.0 with the old version that works. Good idea Mojave....considering that msn.pm's prior to 2.0 I never had a problem with.
_________________
Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Back to top
Mr. Hahn
Newbie
Newbie


Joined: 29 Aug 2004
Posts: 30

Reputation: 21.1Reputation: 21.1

PostPosted: Sun Oct 31, 2004 7:30 pm    Post subject: Reply with quote

I did what you told me to do, now i get this:

Code:
MSN 2.0PR (10/28/2004) - Checksum: 5908-NS10754-SB60230 Rev: 76<br /><br />Connecting to messenger.hotmail.com:1863 as XXX@XXX.dk/XXX<br />(3 NS) TX: VER 0 MSNP10 MSNP9 CVR0<br />(3 NS) RX: VER 0 MSNP10 MSNP9 CVR0<br />(3 NS) TX: CVR 1 0x0409 winnt 5.0 i386 MSNMSGR 6.1.0203 MSMSGS XX@XXX.dk<br />(3 NS) RX: CVR 1 6.2.0137 6.2.0137 6.1.0211 http://download.microsoft.com/downlo<br />ad/0/9/a/09a79e99-f2c8-4933-9797-77e88836bb52/SetupDL.EXE http://messenger.msn.c<br />om<br />(3 NS) TX: USR 2 TWN I XX@XXX.dk<br />(3 NS) RX: XFR 2 NS 207.46.107.146:1863 0 207.46.104.20:1863<br />(3 NS) TX: VER 3 MSNP10 MSNP9 CVR0<br />(3 NS) RX: VER 3 MSNP10 MSNP9 CVR0<br />(3 NS) TX: CVR 4 0x0409 winnt 5.0 i386 MSNMSGR 6.1.0203 MSMSGS X@XXX.dk<br />(3 NS) RX: CVR 4 6.2.0137 6.2.0137 6.1.0211 http://download.microsoft.com/downlo<br />ad/0/9/a/09a79e99-f2c8-4933-9797-77e88836bb52/SetupDL.EXE http://messenger.msn.c<br />om<br />(3 NS) TX: USR 5 TWN I XX@XXX.dk<br />(3 NS) RX: USR 5 TWN S lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn<br />%2Ecom,ct=1099250784,kpp=1,kv=5,ver=2.1.6000.1,tpf=e0d95d777529f0e79e2a2d46c003f<br />5b3<br />Authenticating : https://nexus.passport.com/rdr/pprdr.asp<br />SERVER ERROR : Authentication Error: No response from Passport server<br />Use of uninitialized value in split at lib/MSN/Notification.pm line 992, <DATA><br />line 1.<br />Use of uninitialized value in concatenation (.) or string at lib/MSN/Notificatio<br />n.pm line 1005, <DATA> line 1.<br />Authenticating : https://<br />SERVER ERROR : Authentication Error: No response from Passport server<br />SERVER ERROR : Authentication Error: No expected reply recieved<br />(3 NS) TX: USR 6 TWN S 0<br />(3 NS) RX: 928 6<br />SERVER ERROR : unknown error : 1<br />(3 NS) TX: PNG<br />(3 NS) TX: PNG
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sun Oct 31, 2004 7:36 pm    Post subject: Reply with quote

Notification.pm, line 992 is trying to split a value that is undefined, data it should get back from the authentication server, but doesn't, obviously.

And you're sure that 1.3.12 still works? Because, even if much of the other code is different between the two versions, the code that contacts the authentication server and gets the passport urls is the same. 1.3.12 should fail for the same reason.

When was the last time you successfully used 1.3.12?
Back to top
Mr. Hahn
Newbie
Newbie


Joined: 29 Aug 2004
Posts: 30

Reputation: 21.1Reputation: 21.1

PostPosted: Sun Oct 31, 2004 7:40 pm    Post subject: Reply with quote

MSN.pm 1.3.12 is working fine right now.
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sun Oct 31, 2004 7:47 pm    Post subject: Reply with quote

Well, I have no idea. Here are the two blocks of code:

MSN 1.3.12

Code:
    my $ua = new LWP::UserAgent;<br />    my $response = $ua->get('https://nexus.passport.com/rdr/pprdr.asp');<br />    my %passport_urls = map { split '=' }<br />                        split(',',($response->headers->header('PassportURLs')));



MSN 2.0

Code:
   my $ua = new LWP::UserAgent;<br />   my $response = $ua->get('https://nexus.passport.com/rdr/pprdr.asp');<br />  unless ($response->is_success) {<br />   $self->serverError( "Authentication Error: No response from Passport server" );<br />    return undef;<br />   }<br />   my %passport_urls = map { split '=' }<br />         split(',',($response->headers->header('PassportURLs')));



The only difference I see is that in 2.0 we are checking for success, which we had you comment out. How 1.3.12 gets the passport url data and 2.0 doesn't is beyond me. Razz
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sun Oct 31, 2004 7:52 pm    Post subject: Reply with quote

OK, for fun, I wrote a script that does nothing but connect to the authentication server and get data:

Code:
use LWP::UserAgent;<br /><br /><br />my $ua = new LWP::UserAgent;<br />my $response = $ua->get('https://nexus.passport.com/rdr/pprdr.asp');<br />unless ($response->is_success)<br />{<br />    print( "Authentication Error: No response from Passport server\n" );<br />}<br /><br />my %passport_urls = map { split '=' } split(',',($response->headers->header('PassportURLs')));<br /><br />foreach my $key (keys %passport_urls)<br />{<br />    print( $key . " : " . $passport_urls{$key} . "\n" );<br />}
Back to top
Mr. Hahn
Newbie
Newbie


Joined: 29 Aug 2004
Posts: 30

Reputation: 21.1Reputation: 21.1

PostPosted: Sun Oct 31, 2004 8:30 pm    Post subject: Reply with quote

Even that didnt work:

Code:
Authentication Error: No response from Passport server<br />DAReg : http://register.passport.net/uixpwiz.srf<br />DALogin : loginnet.passport.com/login2.srf<br />ConfigVersion : 12<br />Privacy : http://www.passport.com/consumer/privacypolicy.asp<br />Properties : https://register.passport.net/editprof.srf<br />DARealm : Passport.Net<br />Help : http://memberservices.passport.net/memberservice.srf<br />GeneralRedir : http://nexusrdr.passport.com/redir.asp<br />


Sad :unsure:
Back to top
Mojave
Almost An Agent
Almost An Agent


Joined: 01 Nov 2003
Posts: 1434

Reputation: 66.4

PostPosted: Sun Oct 31, 2004 8:33 pm    Post subject: Reply with quote

No, it did work, it got the data... not sure how though.

I guess the is_success method might be a bit dubious - I'll have to look into that. Although, I never get the Authentication Error: No response from Passport server error.
Back to top
Mr. Hahn
Newbie
Newbie


Joined: 29 Aug 2004
Posts: 30

Reputation: 21.1Reputation: 21.1

PostPosted: Sun Oct 31, 2004 8:39 pm    Post subject: Reply with quote

QUOTE(Mojave @ Oct 31 2004, 12:33 PM)
No, it did work, it got the data... not sure how though.

I guess the is_success method might be a bit dubious - I'll have to look into that. Although, I never get  the Authentication Error: No response from Passport server error.

Oh... it did work:D

So what now?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN Protocol All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group