Comments on: Few Useful Netcat Tricks http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Netcat – lenriquez2016 http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-300553 Fri, 25 Mar 2016 06:04:40 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-300553

[…] Here some useful examples, there are many more on the net, for example g-loaded.eu[…] and here. You might need to use the command netcat instead of nc. Also see the similar command […]

]]>
By: dav3 http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-19840 Tue, 02 Aug 2011 10:18:37 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-19840

really useful :) bookmarked!

Reply  |  Quote
]]>
By: js http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-16010 Thu, 17 Jun 2010 03:08:11 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-16010

@stevee : the “file too big” error is due to a limitation of the FAT32 filesystem : it can’t store files bigger than 2^32 = 4G . You might want to split your file (using dd for example) :

# Part 1
rx pc x.x.x.x: $ netcat -lp 1234 | pv | > file-A.iso
tx pc: $ dd if=file.iso bs=1M count=3999 | pv | netcat x.x.x.x 1234

# Part 2
rx pc x.x.x.x: $ netcat -lp 1234 | pv | > file-B.iso
tx pc: $ dd if=file.iso bs=1M skip=3999 | pv | netcat x.x.x.x 1234

Reply  |  Quote
]]>
By: Knight ZeRo http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-11415 Sun, 01 Feb 2009 09:30:45 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-11415

hello, i have a smiple (at lest i think) question..
how can you forward Traffic to another PC runing Net cat?

so like computer A is me, and computer B is where i am sending it to. i guss you could call it ip spoofing, so computer C thinks all of my traffic form computer A is coming form computer B. i have see Ex. where computer C is the computer your going to attack , but i just want it to make it look like all internet activity is coming form computer B when it is really computer A. any ideas?

Reply  |  Quote
]]>
By: stevee http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-11199 Thu, 08 Jan 2009 17:50:38 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-11199

HI – I have mirrored netcat win32 binary on my site (if its up and ddclient is working!). The problem will be overcoming your Win Anti-virus to download it, maybe..I had to get it on my Linux box then transfer it on internal LAN which worked (???) then unpack it and tell AVG to list it as an exception.

http://www.stevepedwards.dyndns.org

last page – Alcatel stuff
Steve

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-11182 Wed, 07 Jan 2009 06:39:36 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-11182

@toto: It is usually preinstalled on most Linux and unix systems. Windows binary is sometimes hard to find. Check this post with two working links.

Reply  |  Quote
]]>
By: toto http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-11181 Wed, 07 Jan 2009 06:02:51 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-11181

whretofindnetcat?

Reply  |  Quote
]]>
By: stevee http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-11175 Tue, 06 Jan 2009 16:14:16 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-11175

Hi – see no one mentioned the use of pv, ($apt-get install pv) for giving a Visual Progress of a file transfer in the form eg:
rx pc x.x.x.x: $ netcat -lp 1234 | pv | > file.iso
tx pc: $cat file.iso | pv | netcat x.x.x.x 1234
I was using this to send a 7GB video .iso but it stopped at4GB, with a “file too big…” Anyone know why?
cheers
Steve

Reply  |  Quote
]]>
By: A Few Useful Netcat Tricks « A Better Flapjack http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-11090 Wed, 24 Dec 2008 21:26:55 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-11090

[…] post info By abetterflapjack Categories: Uncategorized A Few Useful Netcat Tricks is a very useful post. Read it if you’re interested in netcat. […]

]]>
By: Peter Jones http://www.terminally-incoherent.com/blog/2007/08/07/few-useful-netcat-tricks/#comment-10417 Sat, 18 Oct 2008 07:26:42 +0000 http://www.terminally-incoherent.com/blog/2007/08/06/few-useful-netcat-tricks/#comment-10417

Hi all, I read somewhere a long time ago about techniques to ‘push’ the server side of any client-server remote control application onto the remote PC over which you have no physical control. Lets say grandpa calls you up for some remote support but has no idea how to install any s/w you send him or run the simplest of .exe/.com scripts. I would like to be able to simply port scan grandpa’s m/c (it could be running WXP/VISTA/Linux/*BSD/Solaris/MAC OS X… whatever) and check for any open ports I can use to hook onto and by knowing his IP address, somehow use netcat/nc/socat or other derivative of netcat to execute a cmd which runs netcat on that port preferable opening a remote console e.g. cmd.exe or a konsole shell.. Then I could use my client to interact with that shell with the credentials of the remote user. So a number of questions:

1. Is it possible to do it without getting the remote user to run a script at the remote end which tells netcat to interact with a given port?

2. If yes to (1), how do you do it? And how do you determine which user a/c the program you execute with netcat under? Of course any useful tips on privaledge escalation would be appreciated too if say on XP/vista you cannot get in as Administrator, or under *nix root.?

3. Under Vista, how do you get past the Windows Defender application which keeps poping up a dialogue asking the user to allow/disallow the execution of a program, when you are trying to install remotely?

4. If its not possible to do it with netcat, do u have any other solutions to get that initial connection setup so that one can then transfer netcat to the remote m/c and then run it through a console shell ?

TIA.

Reply  |  Quote
]]>