Jump to content
1 post in this topic

Recommended Posts

Can someone tell me how can I use netcat in mac intel but with option or parameter "-e"?

it worked for me in Archlinux, but it does not in Mac intel. since in mac it returns "nc -h for help" and I don't know what syntax to use. I compiled it like this("-DTELNET -DGAPING_SECURITY_HOLE"):

 

In Archlinux:

http://netcat.sourceforge.net/download.php

# ./configure --prefix=/usr 
# make linuxDFLAGS=" -DTELNET -DGAPING_SECURITY_HOLE" 
# make install linuxDFLAGS=" -DTELNET -DGAPING_SECURITY_HOLE"

 

In mac intel with fink($ sudo fink install netcat):

$ nc -l -p 2000 -e /bin/date 
nc -h for help

:):unsure:

 

In ArchLinux it works because it "-e" works in the server with DGAPING_SECURITY_HOLE...:

$ nc localhost 2000 
vie ene 19 06:02:12 CLST 2007

 

 

any idea?

Edited by patton
Link to comment
https://www.insanelymac.com/forum/topic/42934-netcat-nc-h-for-help/
Share on other sites

×
×
  • Create New...