0
我要执行这样的事情:通作为参数的tcpdump输出
sudo tcpdump -n dst port 40010 -X
通过每个包内收到来砸文件read.sh
和foreach接收的分组执行read.sh
这是像
sudo bash read.sh -y (tcpdump -n dst port 40010 -X)
或者
tcpdump -n dst port 40010 -X > read.sh
在20-24包本身......哪里是在蓄能“脚本”包中的命令停止? – Ratiess 2015-04-02 08:42:38
它是从标准输入中读取的,一次只能读取一个数据包。真的,'脚本'内部发生的事情取决于你。 – tripleee 2015-04-02 08:53:19
它的工作原理,非常感谢! – Ratiess 2015-04-02 10:50:13