为私有网络程序设置pcap和SUID位(如nmap)

.

0

linux命令:export BIN=`which nmap` && sudo setcap cap_net_raw,cap_net_admin+eip $BIN && sudo chown root $BIN && sudo chmod u+s $BIN $BIN u+s chmod sudo && $BIN root chown sudo && $BIN cap_net_raw,cap_net_admin+eip setcap sudo && nmap` BIN=`which export export BIN=`which nmap` && sudo setcap cap_net_raw,cap_net_admin+eip $BIN && sudo chown root $BIN && sudo chmod u+s $BINrootopen.com
linux命令:export BIN=`which nmap` && sudo setcap cap_net_raw,cap_net_admin+eip $BIN && sudo chown root $BIN && sudo chmod u+s $BIN $BIN u+s chmod sudo && $BIN root chown sudo && $BIN cap_net_raw,cap_net_admin+eip setcap sudo && nmap` BIN=`which export export BIN=`which nmap` && sudo setcap cap_net_raw,cap_net_admin+eip $BIN && sudo chown root $BIN && sudo chmod u+s $BINrootopen.com
katu 2019-06-04 22:35:28
输出

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

热门文章