User Control Panel
Advertisements

HELP US, HELP YOU!

Problems using sign_on with a hash, and more!

 
Post new topic   Reply to topic    Bot Depot Forum Index -> AIM Protocol & questions
View unanswered posts
Author Message
TrojanMan
Newbie
Newbie


Joined: 18 Apr 2006
Posts: 2


PostPosted: Tue Apr 18, 2006 10:59 pm    Post subject: Problems using sign_on with a hash, and more! Reply with quote

Hi, I'm using Net::OSCAR I'm trying to use a hash to login to AIM, versus using a plaintext stored password...


This is what I'm doing..

Code:

my %signon = (
screenname => 'lawl',
password => '029ba6c7b234e694653fe7e2cfdda5e5',
pass_is_hashed => '1',
);


Later... towards the bottom, after the sub routines etc..

Code:

$oscar->signon(%signon);


I'm not quite sure why this isn't working, it should work fine. I know that it works if I put the password in plaintext and remove the key pass_is_hashed, althought following the Net::OSCAR documentation it should work. All I've seen anyone around here doing is using $username, $password but that seems obsolute.


Along with this problem, I don't understand how the is_on function and the buddy function (should return a hash reference).

im trying to use
Code:
$oscar->is_on ("n00b")
They'll be offline, and it will still return 1.

Anyhelp would be loved, examples will be loved even more, thanks.

-TrojanMan[/code]
Back to top
Cer
Upgraded Agent
Upgraded Agent


Joined: 03 Feb 2004
Posts: 3776
Location: Michigan
Reputation: 146.9
votes: 4

PostPosted: Wed Apr 19, 2006 5:35 pm    Post subject: Reply with quote

I think the AUTH_CHALLENGE callback is required if you sign on with a hashed pass.
_________________
Current Site (2008) http://www.cuvou.com/
Back to top
TrojanMan
Newbie
Newbie


Joined: 18 Apr 2006
Posts: 2


PostPosted: Wed Apr 19, 2006 11:18 pm    Post subject: Reply with quote

Right, I found that out after browsing around abit, do you happen to know in depth how the AUTH_CHALLENGE callback works? Any help is greatly appreciated.
Back to top
digitaltsai
Newbie
Newbie


Joined: 12 Apr 2006
Posts: 3


PostPosted: Thu Apr 20, 2006 2:49 am    Post subject: Reply with quote

im not really sure what you mean since i don't use Net:OSCAR
but here is what happens

You send the server a packet which has your username to request a signon challenge

The server sends you back a packet with some numbers.

You use the numbers in the hashing of your password

This is the password that is sent to the server
Code:
AUTHKEY + HASHEDPASSWORD + "AOL Instant Messenger (SM)"


idk if I explained it clearly, since i don't know perl
I wrote my bot in PHP :/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> AIM Protocol & questions All times are GMT
Page 1 of 1

 



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