Author Topic: AXDC, a web based chat client  (Read 6764 times)

0 Members and 1 Guest are viewing this topic.

Offline lazyj189

  • Forum Ace
  • *****
  • Posts: 81
  • Karma: +1/-0
AXDC, a web based chat client
« on: 24 November, 2003, 08:02:52 »
Anyone ever heard of it?  I tried to use it and it almost works.

this is what I get when it tries to log into my hub.

[22:49] anything (xx.xx.xx.xx) > $Version 1,0091|
[22:49] anything (xx.xx.xx.xx) > $GetNickList|
[22:49] anything (xx.xx.xx.xx) > $MyINFO $ALL anything <++ V:0.304,M:A,H:1/0/0,S:3>$ $DSL$$214242212131$|
[22:49] anything (xx.xx.xx.xx) > $WebUser|
[22:49] x User removed: anything (Socket 2492)

and of course, it isnt connected, but it has to have something to do with the $webuser that is sent.  Just looks like it might be kinda cool if it actually connected.
DivX Dominion Hub Owner
3 years running
DivX Dominion Hub

PtokaX forum

AXDC, a web based chat client
« on: 24 November, 2003, 08:02:52 »

Offline pHaTTy

  • Forum Legend
  • ***
  • Posts: 1 916
  • Karma: +5/-1
(No subject)
« Reply #1 on: 24 November, 2003, 08:10:35 »
yep ive had it for about a year, and it works for me m8 ;)
Resistance is futile!

Offline lazyj189

  • Forum Ace
  • *****
  • Posts: 81
  • Karma: +1/-0
(No subject)
« Reply #2 on: 24 November, 2003, 08:12:23 »
ok then what might I be doing wrong since it wont connect to my hub?  I'm running 15.18 debug

It does successfully connect to a NMDC hub, but I run ptokax.  grrrrrrr
« Last Edit: 24 November, 2003, 08:27:04 by lazyj189 »
DivX Dominion Hub Owner
3 years running
DivX Dominion Hub

Offline lazyj189

  • Forum Ace
  • *****
  • Posts: 81
  • Karma: +1/-0
(No subject)
« Reply #3 on: 24 November, 2003, 08:19:18 »
     classid="clsid:2FD9D1E8-D96B-4E9D-B699-36CDFD708390"
     codebase="AXDC.cab#version=0,2,1,11"







align=center
     hspace=0
     vspace=0
>
DivX Dominion Hub Owner
3 years running
DivX Dominion Hub

Offline HaArD

  • Double Ace
  • *
  • Posts: 104
  • Karma: +2/-1
(No subject)
« Reply #4 on: 24 November, 2003, 19:20:00 »
Try adding this script in PtokaX...

Code: [Select]
function DataArrival(user, data)
if strfind(data, "$WebUser") then return 1 end
End
I think that'll get you past the command that PtokaX doesn't recognize and therefore it Kicks the AXDC client.

HaArD

Offline xokas

  • Double Ace
  • *
  • Posts: 133
  • Karma: +0/-0
(No subject)
« Reply #5 on: 24 November, 2003, 19:40:09 »
where can i get that AXDC? and what is AXDC?

Offline [ES]latinmusic

  • Triple Ace
  • **
  • Posts: 236
  • Karma: +1/-0
(No subject)
« Reply #6 on: 24 November, 2003, 20:45:55 »
Question: This web client is ptokax compatible? i need one if possible, what about?.

Offline xokas

  • Double Ace
  • *
  • Posts: 133
  • Karma: +0/-0
(No subject)
« Reply #7 on: 25 November, 2003, 00:40:02 »
Latin do ya know the purpose of AXDC?

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #8 on: 25 November, 2003, 02:52:06 »
Quote
Originally posted by xokas
Latin do ya know the purpose of AXDC?
it shows a website wich connects 2 your hub so ppl not running dc can also join the chat.

btw on sf you can find a full dc version build in php, but it needs linux 2 run.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Offline xokas

  • Double Ace
  • *
  • Posts: 133
  • Karma: +0/-0
(No subject)
« Reply #9 on: 25 November, 2003, 02:59:59 »
tkhx a lot for the hint plop :)

Offline DarkElf

  • Forum Ace
  • *****
  • Posts: 88
  • Karma: +10/-0
  • GoTTa HaCk'Em All!!!
(No subject)
« Reply #10 on: 25 November, 2003, 05:09:02 »
Quote
Originally posted by HaArD
Try adding this script in PtokaX...

Code: [Select]
function DataArrival(user, data)
if strfind(data, "$WebUser") then return 1 end
End
I think that'll get you past the command that PtokaX doesn't recognize and therefore it Kicks the AXDC client.

HaArD

don't work...
Syntax error: `end' expected (to close `function' at line 1);
  last token read: `' at line 4 in string "function DataArrival(user, data)
..."
Please sorry my bad english, i'm learning it :-D

\\100Gb ][ MeGaShArE @ I?? - ?u?i?N Owner [/I]
100gb.ifs-fusion.net:666 Only EliTe ShArE min 100gb
-={ I?? - ?u?i?N }=- N??Owner

Offline lazyj189

  • Forum Ace
  • *****
  • Posts: 81
  • Karma: +1/-0
(No subject)
« Reply #11 on: 25 November, 2003, 05:25:34 »
function DataArrival(user, data)
if strfind(data, "$WebUser") then
return 1
end
end



this works
DivX Dominion Hub Owner
3 years running
DivX Dominion Hub

Offline DarkElf

  • Forum Ace
  • *****
  • Posts: 88
  • Karma: +10/-0
  • GoTTa HaCk'Em All!!!
(No subject)
« Reply #12 on: 25 November, 2003, 05:59:26 »

-------------Allow AXDC webchat users made by DarkElf 25/11/2003

botname 
"{Web}Chat"
bot_email "blabla" 
bot_speed "GanjaLan(ThC)" 
bot_descr "Allow WebChat users" 
bot_share_size 40.01 1024 *1024 *1024
my_info_string 
"$MyINFO $ALL "..botname.." "..bot_descr.."$ $"..bot_speed..strchar).."$"..bot_email

function Main()
frmHub:RegBot(botname)
my_info_string "$MyINFO $ALL "..botname.." "..bot_descr.."$ $"..bot_speed..strchar).."$"..bot_email.. 
"$"..bot_share_size.."$"
end

function NewUserConnected(curUser
curUser:SendDatamy_info_string 
end 

function OpConnected(curUser
curUser:SendDatamy_info_string 
end

function DataArrival(userdata
if 
strfind(data"$WebUser"then return 
  end
end

this too :P

bye
« Last Edit: 25 November, 2003, 06:00:35 by DarkElf »
Please sorry my bad english, i'm learning it :-D

\\100Gb ][ MeGaShArE @ I?? - ?u?i?N Owner [/I]
100gb.ifs-fusion.net:666 Only EliTe ShArE min 100gb
-={ I?? - ?u?i?N }=- N??Owner

Offline zef

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
(No subject)
« Reply #13 on: 06 December, 2003, 17:21:09 »
Quote
Originally posted by DarkElf
Quote
Originally posted by HaArD
Try adding this script in PtokaX...

Code: [Select]
function DataArrival(user, data)
if strfind(data, "$WebUser") then return 1 end
End
I think that'll get you past the command that PtokaX doesn't recognize and therefore it Kicks the AXDC client.

HaArD

don't work...
Syntax error: `end' expected (to close `function' at line 1);
  last token read: `' at line 4 in string "function DataArrival(user, data)
..."
that was my error too, but LUA is case sensitive ;)
"End" and "end" isn't the same thing

thks for the tips in AXDC
\'Shaggy, bearded, they braved the storm,  
They hit the route, to hunt the mammoth,  
Kill it, you have it, It was the law of the Gallic\'
sign?: un Gaulois loin de sa hutte...

Offline Pacman

  • Junior Member
  • **
  • Posts: 20
  • Karma: +0/-0
(No subject)
« Reply #14 on: 07 December, 2003, 01:53:12 »
Quote
btw on sf you can find a full dc version build in php, but it needs linux 2 run.


this works fine on windows too (xp anyway),
aslong as the hub has darkelfs script running, good job :)

it can be downloaded >>here<<
(??.??.->?\'][\'eam?lite?<-.??.???)

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #15 on: 07 December, 2003, 03:39:05 »
Quote
Originally posted by Pacman
Quote
btw on sf you can find a full dc version build in php, but it needs linux 2 run.


this works fine on windows too (xp anyway),
aslong as the hub has darkelfs script running, good job :)

it can be downloaded >>here<<
no i mean this 1.
php frontend for dctc.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Offline Pacman

  • Junior Member
  • **
  • Posts: 20
  • Karma: +0/-0
(No subject)
« Reply #16 on: 07 December, 2003, 03:56:56 »
oh, my bad. hehehe

//Pacman
(??.??.->?\'][\'eam?lite?<-.??.???)

Offline Odin

  • Member
  • ***
  • Posts: 29
  • Karma: +1/-0
(No subject)
« Reply #17 on: 18 February, 2004, 23:24:11 »
Found some info here :

by ptaczec
Quote
Any DC client should follows the DC protocol. AXDC violates the protocol in initial handshake. It's not sending any $Version and $MyINFO is optional. Note, that the handshake sequence MUST be followed exactly when connecting to PtokaX hubs (and should be exact also in case of other hub softs to prevent security holes).
Also new command $WebUser should be first sent in $Supports command to find if the hub supports it or not!

This is valid handshake sequence:
H - Hub
C - Client

C connects to H
H sends $Lock
C answers with $Key
H send $HubName
C sends $ValidateNick
H answers with $Hello in case of normal user or $GetPass in case of registered one
C sends $MyPass (if registered)
C sends $Version
C sends $GetNickList
C sends $MyINFO

after (and only after) the $MyINFO is sent the client is fully logged in and can place search requests or chat or whatever he/she wants. This sequence MUST be followed exactly (or in modified version to fit the $Supports extension - depends on $Lock).


AXDC client sequence (client data only):

Client connected
127.0.0.1:1275 > $Key r?????2?2?2?2??????r?r?r??????2?2?2
127.0.0.1:1275 > $ValidateNick testuser
127.0.0.1:1275 > $MyINFO $ALL testuser Test$ $DSL$$2142422$
127.0.0.1:1275 > $WebUser
127.0.0.1:1275 > $GetNickList


Std DC++ client sequence (client data only):

127.0.0.1:1276 > $Key ??b???b???b???b???b???b??
127.0.0.1:1276 > $ValidateNick testuser
127.0.0.1:1276 > $Version 1,0091
127.0.0.1:1276 > $GetNickList
127.0.0.1:1276 > $MyINFO $ALL testuser <++ V:0.24,M:P,H:1/0/1,S:3>$ $LAN(T1)$$0$


Std NMDC client sequence (client data only):

Client connected
127.0.0.1:1285 > $Key 'A?C?#A?C???C?A#?C???A?A#?A?AcA?C?#A?C???C?A#
127.0.0.1:1285 > $ValidateNick testuser
127.0.0.1:1285 > $Version 1,0091
127.0.0.1:1285 > $GetNickList
127.0.0.1:1285 > $MyINFO $ALL testuser $ $Cable$$3916283862$

Can you see the difference? :)
Anyway good work ;) If you modify it to fit the protocol then it will be fine. And remember, the MyINFO is esential and can not be optional!
Also the AXDC should NOT fake the share counter! Make it fully functional! Or soon we will have hubs full of webusers with no share :/
Because PtokaX is actually the only windows-based hub sw publicly available with strict DC protocol checking I also recommend to test the AXDC against PtokaX :)

source code is avilable here

Looks like the developer has abandoned this project. I wish someone would sort that log in sequence.
Norges DC hub nummer 1!
dchub://odin.vikingshub.com:1337  

PtokaX forum

(No subject)
« Reply #17 on: 18 February, 2004, 23:24:11 »