Anyone want to give a few examples of cool things they actually do with netcat?
Cool stuff you can do with netcat
21–30 of 44 posts
Re: Cool stuff you can do with netcat
#22I actually got in trouble trying to use netcat for something quite legitimate in my former job at RandomBigCorp... Oops.
Please elaborate? At my current place of employment, "hacking tools" are banned. On that list is netcat. It is installed on every unix desktop and server, and I use it daily. I have decided to just not point out the stupidity of this -- they might do something that's even more stupid as a response.
Re: Cool stuff you can do with netcat
#23Anyone want to give a few examples of cool things they actually do with netcat?
Like others in this thread, I too received a few bureaucratic slaps on the wrist for doing unauthorized port-scanning during the development process (we were trying to find a set of suitable unused ports for the package). Apparently it was worth the trouble, though--it was nearly 10 years ago that I built the package, and the software's still in use!
Re: Cool stuff you can do with netcat
#24Earlier quoted context omitted.
Please elaborate? At my current place of employment, "hacking tools" are banned. On that list is netcat. It is installed on every unix desktop and server, and I use it daily. I have decided to just not point out the stupidity of this -- they might do something that's even more stupid as a response.
I've always found that it's better to ask for forgiveness than permission in a large bureaucratic technically simplified corporation, otherwise I'd get nothing done. Ask, and they say "no".
Yes, that Randall Schwartz.
Re: Cool stuff you can do with netcat
#25Anyone want to give a few examples of cool things they actually do with netcat?
nc -l -p 80 -e /bin/sh
And then just telnet or netcat to that port and you get yourself a shell.
Re: Cool stuff you can do with netcat
#26Anyone want to give a few examples of cool things they actually do with netcat?
A few days ago I was wondering if the link between two remote hosts was 100Mbps or 1Gbps, and didn't have root access to run ethtool (sidenote: is there an easier way for an unprivileged user to determine this?), so out came netcat and dd: host1$ dd if=/dev/zero | nc host2 5432 host2$ nc -l 5432 > /dev/null Let it run for a moment and then ctrl-C'd host1; the stats dd printed on exit gave a pretty clear answer to my…
Re: Cool stuff you can do with netcat
#27Poor man's skype: sender arecord -f cd -c 2 | lame -b128 - - | netcat -u your-ip 6881 | mpg123 - receiver arecord -f cd -c 2 | lame -b128 - - | netcat -u -l 6881 | mpg123 -
Re: Cool stuff you can do with netcat
#28Earlier quoted context omitted.
Please elaborate? At my current place of employment, "hacking tools" are banned. On that list is netcat. It is installed on every unix desktop and server, and I use it daily. I have decided to just not point out the stupidity of this -- they might do something that's even more stupid as a response.
Yeah that is ridiculous. It's misleading for potential netcat users. And by banning it there can be no discussion about how to actually use it safely and responsibly. "hacking tools" are banned. If you are asked about it. The best way is to respond that you use it as a a diagnostic tool or analysis tool. As for arguing it's not a hacking tool - A person could take something as innocent as VBScript for Office and writ…
Re: Cool stuff you can do with netcat
#29Earlier quoted context omitted.
I've always found that it's better to ask for forgiveness than permission in a large bureaucratic technically simplified corporation, otherwise I'd get nothing done. Ask, and they say "no".
It's always wise to exercise discretion: http://db.tidbits.com/article/8886 Yes, that Randall Schwartz.
And no blame, but it's probably a good idea to say, "We're scanning for weak passwords" first. The sysadmin at the library I used to work at ran password crackers occasionally, and sent out an e-mail once saying that he suddenly knew a lot of staffs' boyfriends names. It's a delicate issue.
Re: Cool stuff you can do with netcat
#30I actually got in trouble trying to use netcat for something quite legitimate in my former job at RandomBigCorp... Oops.
Please elaborate? At my current place of employment, "hacking tools" are banned. On that list is netcat. It is installed on every unix desktop and server, and I use it daily. I have decided to just not point out the stupidity of this -- they might do something that's even more stupid as a response.