Home page logo
/

pen-test logo Penetration Testing mailing list archives

Re: Controling Segment Contents in TCP Stream
From: "Crist J. Clark" <crist.clark () attbi com>
Date: Fri, 13 Jun 2003 12:16:03 -0700

On Fri, Jun 13, 2003 at 09:25:38AM +0200, Bernd Jendrissek wrote:
In article <20030611175204.GA55615 () blossom cjclark org> "Crist J. Clark" <crist.clark () attbi com> wrote:
I am looking for a simple tool that I can use to control how TCP data
is split up among segments. I can't seem to figure out how to coax
Netcat into doing this.

Type: U S E R <space> ^D

The ^D causes netcat's read(2) to return the characters it already has.

You might also try stty -icanon for character-by-character reading in
netcat.

That's strange. Now netcat is doing that for me. I could have sworn
when I tried that before that I would get a little,

  E
   O
    F

Symbol on my terminal and netcat actually sent the \004
character. Maybe my terminal settings were mucking with things.

Thanks for making me look again. I should have known netcat could do
what I want.
-- 
Crist J. Clark                     |     cjclark () alum mit edu
                                   |     cjclark () jhu edu
http://people.freebsd.org/~cjc/    |     cjc () freebsd org

---------------------------------------------------------------------------
----------------------------------------------------------------------------


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]