[問題] 網頁執行nmap

看板NetSecurity (資安 資訊安全)作者 (閒泡菜)時間15年前 (2010/04/24 15:20), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/1
請問我在網頁去執行遠端主機nmap的時後 因為有些指令需要root的權限 所以我用了chmod 4755 /usr/bin/nmap 但顯示 Starting Nmap 5.00 ( http://nmap.org ) at 2010-04-24 16:28 CST NSE: Loaded 0 scripts for scanning. nexthost: failed to determine route to XXX.XXX.XXX.XXX QUITTING! 看這訊息好像跟路由器有關?! 請問有辦法解決嗎? 下面是一些資訊 [root@L1006 ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.3.0 * 255.255.255.0 U 1 0 0 eth0 192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0 default 192.168.3.254 0.0.0.0 UG 0 0 0 eth0 [root@L1006 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Broadcom Corporation NetXtreme BCM5705 Gigabit Ethernet DEVICE=eth0 BOOTPROTO=static HWADDR=00:0c:76:e0:0e:aa IPADDR=192.168.3.20 NETMASK=255.255.255.0 ONBOOT=yes GATEWAY=192.168.3.254 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.39.74.215

04/24 16:31, , 1F
你怎麼刪掉了... 看這篇我就知道了, 你沒 root 權限
04/24 16:31, 1F
我已經給解決了@@" 謝謝你~~ ※ 編輯: s66449 來自: 114.39.74.215 (04/24 18:13)
文章代碼(AID): #1Bqfkiyo (NetSecurity)
文章代碼(AID): #1Bqfkiyo (NetSecurity)