Results 1 to 3 of 3
Hi all,
I am trying to run netcat in listen mode on certain port and redirect all output to the file, eg.
netcat -l -p 2345 >> systemout &
and ...
- 08-21-2009 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 11
running netcat in background mode
Hi all,
I am trying to run netcat in listen mode on certain port and redirect all output to the file, eg.
netcat -l -p 2345 >> systemout &
and on another machine:
tail -f /test/SystemOut.log | sed 's/\(.*\)/LPSERVER05 - \1/g' >/dev/tcp/192.168.179.59/2345
It all looks fine but after writing 2048 bytes the listener netcat stops writing anything to the file. I believe it is waiting for input - any idea how can I make it fully background? Thank you.
- 08-21-2009 #2Just Joined!
- Join Date
- Jul 2009
- Posts
- 6
nice man....it very usefull for help me getting root..
- 08-23-2009 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 11
Any suggestions?


Reply With Quote