Winsock with telnet

c++ / delphi package - dll injection and api hooking
Post Reply
LeVuHoang
Posts: 131
Joined: Fri Oct 22, 2004 8:37 am

Winsock with telnet

Post by LeVuHoang »

I used AppSnif or another debugger, API Spy but not found what telnet use.
I tried to use telnet connect to a SMTP server. Incomming Data is get correctly, but outcomming data is empty.
What the hell it is ???
Thanks all :)
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Does this one catch outgoing data?

http://www.blad3.ro/
LeVuHoang
Posts: 131
Joined: Fri Oct 22, 2004 8:37 am

Post by LeVuHoang »

no, It can't :). Incomming data is catched well. But outgoing data is empty.
Even Spy API, Auto Debug... All of them get the same result :o but Norton Anti Virus can :crazy:
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Well, I don't know how it works.
LeVuHoang
Posts: 131
Joined: Fri Oct 22, 2004 8:37 am

Post by LeVuHoang »

Anybody has an idea ???
dcsoft
Posts: 380
Joined: Sat Dec 11, 2004 2:11 am
Location: San Francisco Bay Area, CA USA
Contact:

Post by dcsoft »

LeVuHoang wrote:Anybody has an idea ???
Perhaps TracePlus/Winsock will tell you what you need to know.

-- David
LeVuHoang
Posts: 131
Joined: Fri Oct 22, 2004 8:37 am

Post by LeVuHoang »

I've tried. But the demo version doesn't show me if the data is empty or not.
Do you have full version ???
dcsoft
Posts: 380
Joined: Sat Dec 11, 2004 2:11 am
Location: San Francisco Bay Area, CA USA
Contact:

Post by dcsoft »

LeVuHoang wrote:I've tried. But the demo version doesn't show me if the data is empty or not.
Do you have full version ???
Yes, but I don't know how to use it to test the telnet.

Have you tried a packet-level sniffer like Ethereal? That intercepts network traffic at a lower-level than intercepting Winsock calls.

-- David
LeVuHoang
Posts: 131
Joined: Fri Oct 22, 2004 8:37 am

Post by LeVuHoang »

oh my god. I have just tried. Ethereal is the same :cry: :confused: ... Message incomming is ok but outcomming can't see :(( :confused:
LeVuHoang
Posts: 131
Joined: Fri Oct 22, 2004 8:37 am

Post by LeVuHoang »

hallo All,
I'd found why is it :crazy:
Because when you TYPED a character, telnet SENDS it immediately without buffering it in the string :)).
OK, thank you all very much :D
Post Reply