mIRC Home    About    Download    Register    News    Help

Print Thread
#58221 29/10/03 11:45 AM
Joined: Feb 2003
Posts: 33
G
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Feb 2003
Posts: 33
on *:sockopen:getindex:{
sockwrite -nt $sockname GET $+(index.html) HTTP/1.1
sockwrite -nt $sockname Accept-Language: en-us
sockwrite -nt $sockname User-Agent: Mozilla/??
sockwrite -nt $sockname LOGIN: loginname:password <= this is not correct i suppose ? :s
sockwrite -nt $sockname Host: 213.118.214.156
sockwrite -nt $sockname Connection: Keep-Alive
sockwrite -t $sockname $str($crlf,2)
}


how to use a ht access in sockets?
how to send the user an pass :s

where can i find more sockwrite commands ?

Last edited by Gods_Hell; 29/10/03 12:39 PM.

#58222 29/10/03 01:49 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
sockwrite -n $sockname Authorization: $encode(username:password,m)

You can "find" those commands by either reading the RFC or using a packet sniffing program (like Ethereal) to capture what your browser sends.

#58223 29/10/03 02:23 PM
Joined: Feb 2003
Posts: 33
G
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Feb 2003
Posts: 33
thx man!
but won't work :s

still says 401


#58224 29/10/03 06:18 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
[/code]
on *:sockopen:getindex:{
sockwrite -n $sockname GET /index.html HTTP/1.0
sockwrite -n $sockname Accept-Language: en-us
sockwrite -n $sockname Authorization: $encode(username:password,m)
sockwrite -n $sockname Host: 213.118.214.156
sockwrite -n $sockname $crlf
}
[code]

Make sure the bold is the website your trying to contact, not your own ip. Im not positive which you used, but just making sure..


-KingTomato

Link Copied to Clipboard