flat assembler
Message board for the users of flat assembler.

Index > Windows > icq clone written in fasm

Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Author
Thread Post new topic Reply to topic
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina
is it imposible?
i realy would like to have a icq clone very quick and very small in size
is there any works on this?
Post 17 Dec 2003, 00:11
View user's profile Send private message ICQ Number Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
Miranda? Trillian?

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 17 Dec 2003, 00:48
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Dryobates



Joined: 13 Jul 2003
Posts: 46
Location: Poland
Dryobates
Miranda is very small and very quick (and can connect not only with ICQ network), but as I remember is written in C (or C++).
Post 17 Dec 2003, 12:21
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard
Yeah, it's written in C++. But it's still small and fast. And it can hadle more than one instant messaging protocol - I'm using as a client for ICQ and Gadu-Gadu (the most popular communicator in Poland).
Post 17 Dec 2003, 15:42
View user's profile Send private message Visit poster's website Reply with quote
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina
i know miranda and others but they are not asm
miranda is good i think and its source code is msvc++6

and there is ysm (yousickme) icq clone its console based and code in c

any asm?
Post 17 Dec 2003, 19:53
View user's profile Send private message ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
i'm newbie in this topic Sad , but i 've read somewhere that ICQ is buggiest client. Here you are writing about ICQ as if it was protocol. SO how is it?
Post 17 Dec 2003, 19:59
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
GuyonAsm



Joined: 27 Sep 2003
Posts: 45
GuyonAsm
Hell, if you guys wanna write our own fasm (icq like) type chatting client/server that would be nice. I'd join in if you guys want.

So then we'll have the Fasm Studio(and fresh) and now we'll have our own little fasm instant messaging client. That would be nice.

_________________
I shall not evade what is predestined
because every battle, is another lesson
- GuyonAsm.

A Believer of The System.
Post 17 Dec 2003, 20:18
View user's profile Send private message Reply with quote
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina
and i would really like to work on this too
but i am not enough to start a project like this

and creating another big task like this maybe effects fresh production
becouse it a big job and not lots of programmers here

and what about fresh? did the website thing slowed down the production?
Post 17 Dec 2003, 22:10
View user's profile Send private message ICQ Number Reply with quote
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina
actually i have found lots of info about icq protocol
anyone interested?
Post 18 Dec 2003, 21:42
View user's profile Send private message ICQ Number Reply with quote
GuyonAsm



Joined: 27 Sep 2003
Posts: 45
GuyonAsm
Yes I am. you can contact me through my email at guyonasm@hotmail.com or jsut through the boards if you want.

_________________
I shall not evade what is predestined
because every battle, is another lesson
- GuyonAsm.

A Believer of The System.
Post 19 Dec 2003, 00:54
View user's profile Send private message Reply with quote
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina
if we make it through the boards then may be other people look at our posts and may be they can join the works it they become interested

the source code of "miranda" + "ysm" is avaliable at www.sf.net
they are really valuable codes (in c and c++)

and also there is a program called icqmanace in www.ifud.ru
- Sniffing all ICQ FLAP, Direct & HTTP connections
- Saving sniffed packets to files
- View the contents of the packet
- Content parser built using external programable scripts (pascal like), which can be extended by everyone
- Exporting to XML, HTML, TXT files
- Compatible with any ICQ (clone) applications: ICQ, Miranda, etc.

and also at http://www.cobans.net there is a delphi 5 6 7 component supports v7 protocol named TICQClient Version 1.18f (u can find it in www.torry.ru) with full source code


Description:
Download
Filename: aim-proto.zip
Filesize: 61.95 KB
Downloaded: 289 Time(s)

Description: the best i think
Download
Filename: oscar_spec.zip
Filesize: 356.98 KB
Downloaded: 392 Time(s)

Description:
Download
Filename: ICQv7proto.zip
Filesize: 12.36 KB
Downloaded: 310 Time(s)

Post 20 Dec 2003, 22:40
View user's profile Send private message ICQ Number Reply with quote
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina
this is the source code of oscar.dll icq lib for miranda


Description:
Download
Filename: icqvsrc.zip
Filesize: 146.68 KB
Downloaded: 327 Time(s)

Post 21 Dec 2003, 13:51
View user's profile Send private message ICQ Number Reply with quote
GuyonAsm



Joined: 27 Sep 2003
Posts: 45
GuyonAsm
Hmmm,

I thought we were rewriting everything from scratch, but eh I guess this will ease the process along. =)

_________________
I shall not evade what is predestined
because every battle, is another lesson
- GuyonAsm.

A Believer of The System.
Post 21 Dec 2003, 14:35
View user's profile Send private message Reply with quote
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina
we can rewrite of course but these sources will be helpfull
and i think that we should first try sending a simple message
or just create the connection with something like this

and just experimentally i called it "faim" flat assembler instant messanger Smile


Last edited by sina on 21 Dec 2003, 20:15; edited 1 time in total
Post 21 Dec 2003, 17:14
View user's profile Send private message ICQ Number Reply with quote
GuyonAsm



Joined: 27 Sep 2003
Posts: 45
GuyonAsm
Faim it is. =)

Oh so we're just creating our own client for the icq protocol? I thought we we're creating our own server, having someone host it, and develop for the client and server alike.

_________________
I shall not evade what is predestined
because every battle, is another lesson
- GuyonAsm.

A Believer of The System.
Post 21 Dec 2003, 17:33
View user's profile Send private message Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard
Why do you want new protocol? Creating a new client to existing one is better IMO, because:
1. Many people are using ICQ, AIM, etc. and it you could talk with them using your client.
2. It's easier Smile

ICQ client written in Fasm is an excellent idea; Good luck!!!! Smile
Post 21 Dec 2003, 18:00
View user's profile Send private message Visit poster's website Reply with quote
GuyonAsm



Joined: 27 Sep 2003
Posts: 45
GuyonAsm
Honestly I dont care what we do, I just thought we were doing that. ICQ Client. Okay sir We'll be on our way. =). I'd like to discuss this in real time.

my icq # = 149490736

my irc = irc.bararcade.com , port 6667, channel : #clanhp.

_________________
I shall not evade what is predestined
because every battle, is another lesson
- GuyonAsm.

A Believer of The System.
Post 21 Dec 2003, 19:32
View user's profile Send private message Reply with quote
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina
yes as i mentioned in the topic
it is a clone of icq written in fasm

ok i have seen the source code of quetannon for using winsock and modified the code a bit to support getting ip name from hostname (i think so)

in the quetannon program it just sends simple texts between the two program. i am thinking of sending the login packet with the way used in qeatannon, but i dont know if it will work or not. Do u have any information on winsock? can this work for the faim sample (that can just send a message or just login) ?

i am working on this sample becouse i dont have any experience with windows sockets and icq protocol. If i can get this sample work then i will start producing the main faim project

ok here is what i am trying to send to the icq server login.icq.com port:5190
Code:
2A 01 13 5A 00 83 00 00 00 01 00 01 00 06 37 37 *..Z..........77
  37 37 37 37 00 02 00 08 83 47 F2 B7 4E E9 A9 F6 7777.....G..N...
  00 03 00 33 49 43 51 20 49 6E 63 2E 20 2D 20 50 ...3ICQ Inc. - P
  72 6F 64 75 63 74 20 6F 66 20 49 43 51 20 28 54 roduct of ICQ (T
  4D 29 2E 32 30 30 30 62 2E 34 2E 36 35 2E 31 2E M).2000b.4.65.1.
  33 32 38 31 2E 38 35 00 16 00 02 01 0A 00 17 00 3281.85.........
  02 00 04 00 18 00 02 00 41 00 19 00 02 00 01 00 ........A.......
  1A 00 02 0C D1 00 14 00 04 00 00 00 55 00 0F 00 ............U...
  02 65 6E 00 0E 00 02 75 73                      .en....us
    

this is the Example SNAC dump with flap header (uin="777777", pass="password") as mentioned in oscar doc. example login sequence
[/quote]


Last edited by sina on 27 Feb 2004, 20:19; edited 1 time in total
Post 21 Dec 2003, 20:15
View user's profile Send private message ICQ Number Reply with quote
GuyonAsm



Joined: 27 Sep 2003
Posts: 45
GuyonAsm
I really think we can do this. It'll be some hard work (not a 2 day or 1 week project) ,but it can be done. I was looking over the protocol for connecting to the server, and there seems to be so much work involved to authenticate, but eh i guess thats what makes icq secure =).

just getting it to get past the first authentication will be the first task. everything else is pretty much self explanitory inside of it except roasting the password, I need to see how thats done, and then implement it.

_________________
I shall not evade what is predestined
because every battle, is another lesson
- GuyonAsm.

A Believer of The System.
Post 22 Dec 2003, 14:23
View user's profile Send private message Reply with quote
sina



Joined: 18 Aug 2003
Posts: 132
Location: istanbul turkey
sina
some info:
Passwords are roasted when sent to the host. This is done so they aren't sent in "clear text" over the wire, although they are still trivial to decode. Roasting is performed by first xoring each byte in the password with the equivalent modulo byte in the roasting array ( 0xF3, 0x26, 0x81, 0xC4, 0x39, 0x86, 0xDB, 0x92, 0x71, 0xA3, 0xB9, 0xE6, 0x53, 0x7A, 0x95, 0x7C )

and the c code to do it:

Code:
void EncryptPassword (char *Password, char *output)
{

   unsigned int x;
     static const u_int8_t tablilla[] = 
 {
              0xF3, 0x26, 0x81, 0xC4, 0x39, 0x86, 0xDB, 0x92, 0x71, 0xA3, 0xB9, 0xE6,
             0x53, 0x7A, 0x95, 0x7C,
     };

 for(x=0;x<strlen(Password);x++)
          *(output+x) =  Password[x] ^ tablilla[x];
}
    


i just could not clearly understand this c code and what it does...
Post 22 Dec 2003, 18:55
View user's profile Send private message ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.