Upgrade netcat a lot. Make -e able to take the rest of the command line as
what to exec. Add -f mode and a brief explanation of how to use it to replace minicom. Add -l -l mode so you can turn any command into a server. And group all of netcat's command line options under two CONFIG entries, so if you disable both it doesn't use getopt at all.
This commit is contained in:
@@ -446,13 +446,21 @@ config CONFIG_NC
|
||||
A simple Unix utility which reads and writes data across network
|
||||
connections.
|
||||
|
||||
config CONFIG_NC_GAPING_SECURITY_HOLE
|
||||
bool "gaping security hole"
|
||||
config CONFIG_NC_SERVER
|
||||
bool "Netcat server options (-lp)"
|
||||
default n
|
||||
depends on CONFIG_NC
|
||||
help
|
||||
Add support for executing a program after making or receiving a
|
||||
successful connection (-e option).
|
||||
Allow netcat to act as a server.
|
||||
|
||||
config CONFIG_NC_EXTRA
|
||||
bool "Netcat extensions (-eiw and filename)"
|
||||
default n
|
||||
depends on CONFIG_NC
|
||||
help
|
||||
Add -e (support for executing the rest of the command line after
|
||||
making or receiving a successful connection), -i (delay interval for
|
||||
lines sent), -w (timeout for initial connection).
|
||||
|
||||
config CONFIG_NETSTAT
|
||||
bool "netstat"
|
||||
|
Reference in New Issue
Block a user