精品专区-精品自拍9-精品自拍三级乱伦-精品自拍视频-精品自拍视频曝光-精品自拍小视频

網站建設資訊

NEWS

網站建設資訊

每日記載內容總結46-創新互聯

nmap
Nmap 又叫做Network Mapper(網絡映射器)是一個開源并且為了Linux系統管理員或者網絡管理員的萬能的工具。Nmap用于瀏覽網絡,執行安全掃描,網絡審計以及在遠程機器找到開放端口。它可以掃描在線主機,操作系統,濾包器和遠程主機打開的端口。(來源)

創新互聯服務項目包括沙坡頭網站建設、沙坡頭網站制作、沙坡頭網頁制作以及沙坡頭網絡營銷策劃等。多年來,我們專注于互聯網行業,利用自身積累的技術優勢、行業經驗、深度合作伙伴關系等,向廣大中小型企業、政府機構等提供互聯網行業的解決方案,沙坡頭網站推廣取得了明顯的社會效益與經濟效益。目前,我們服務的客戶以成都為中心已經輻射到沙坡頭省份的部分城市,未來相信會繼續擴大服務區域并繼續獲得客戶的支持與信任!--每日記載內容總結46

安裝:

yum install nmap
  1. 使用Hostname和IP地址來掃描系統,掃描出他的系統所有開放端口,服務和MAC地址。

     [root@ssqs-test1 ~]# nmap baidu.com
     
     Starting Nmap 5.51 ( http://nmap.org ) at 2018-06-12 17:34 CST
     Nmap scan report for baidu.com (123.125.115.110)
     Host is up (0.0026s latency).
     Other addresses for baidu.com (not scanned): 220.181.57.216
     Not shown: 998 filtered ports
     PORT    STATE SERVICE
     80/tcp  open  http
     443/tcp open  https
     
     Nmap done: 1 IP address (1 host up) scanned in 4.02 seconds
    
     [root@ssqs-test1 ~]# nmap 47.92.65.98
    
     Starting Nmap 5.51 ( http://nmap.org ) at 2018-06-12 17:34 CST
     Nmap scan report for 47.92.65.98
     Host is up (0.0070s latency).
     Not shown: 996 filtered ports
     PORT     STATE  SERVICE
     22/tcp   open   ssh
     80/tcp   closed http
     443/tcp  closed https
     3389/tcp closed ms-term-serv
     
     Nmap done: 1 IP address (1 host up) scanned in 4.54 seconds
  2. 使用 “-v” 選項,此選項給了更多的遠程設備的細節。

     [root@ssqs-test1 ~]# nmap -v 47.92.65.98
    
     Starting Nmap 5.51 ( http://nmap.org ) at 2018-06-12 17:36 CST
     Initiating Ping Scan at 17:36
     Scanning 47.92.65.98 [4 ports]
     Completed Ping Scan at 17:36, 0.01s elapsed (1 total hosts)
     Initiating Parallel DNS resolution of 1 host. at 17:36
     Completed Parallel DNS resolution of 1 host. at 17:36, 0.02s elapsed
     Initiating SYN Stealth Scan at 17:36
     Scanning 47.92.65.98 [1000 ports]
     Discovered open port 22/tcp on 47.92.65.98
     Completed SYN Stealth Scan at 17:36, 4.04s elapsed (1000 total ports)
     Nmap scan report for 47.92.65.98
     Host is up (0.0070s latency).
     Not shown: 996 filtered ports
     PORT     STATE  SERVICE
     22/tcp   open   ssh
     80/tcp   closed http
     443/tcp  closed https
     3389/tcp closed ms-term-serv
     
     Read data files from: /usr/share/nmap
     Nmap done: 1 IP address (1 host up) scanned in 4.13 seconds
     Raw packets sent: 1996 (87.800KB) | Rcvd: 9 (480B)
  3. 掃描特定的端口,Nmap有多種多樣的選項去發現遠程機器的端口。通過“-p”選項,你可以指定你想要掃描的端口,默認情況下Nmap掃描只掃描TCP端口。可掃描單個或者多個,用逗號分隔。

     [root@ssqs-test1 ~]# nmap 47.92.65.98 -p 5672
    
     Starting Nmap 5.51 ( http://nmap.org ) at 2018-06-12 17:40 CST
     Nmap scan report for 47.92.65.98
     Host is up (0.0065s latency).
     PORT     STATE SERVICE
     5672/tcp open  amqp
     
     Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds
    
     [root@ssqs-test1 ~]# nmap 47.92.65.98 -p 5672,15672
    
     Starting Nmap 5.51 ( http://nmap.org ) at 2018-06-12 17:40 CST
     Nmap scan report for 47.92.65.98
     Host is up (0.0064s latency).
     PORT      STATE SERVICE
     5672/tcp  open  amqp
     15672/tcp open  unknown
     
     Nmap done: 1 IP address (1 host up) scanned in 0.13 seconds

Linux基本命令不能用解決方法

--

先執行如下命令:

export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin  

然后在當前命令界面,基本命令都已經可用,繼續如下操作

vim /etc/profile
source /etc/profile

/etc/sysconfig/iptables文件不存在

--

在虛擬機上裝的centos7是最小安裝方式,所以許多東西都沒裝,需要自己手動安裝。
因此/etc/sysconfig/iptables不存在,沒有安裝iptables防火墻
可以通過以下命令安裝iptables防火墻

systemctl stop firewalld

systemctl mask firewalld

// 安裝
yum install iptables-services

// 查看狀態
service iptables status

//設置開機啟動
systemctl enable iptables

//管理
systemctl stop iptables  

systemctl start iptables  

systemctl restart iptables  

service iptables save

名稱欄目:每日記載內容總結46-創新互聯
文章起源:http://m.jcarcd.cn/article/cesdhj.html
主站蜘蛛池模板: 成人精品区| 午夜嘿嘿嘿在线观看 | 欧美日韩亚洲第一页 | 国产精品天干天 | 日韩在线精品一区 | 国产视频精品免费 | 看黄免费进入 | 国内自拍视频91 | 欧美日韩中文在线 | 国产黑色 | 区三区夜色| 国产福利小视频 | 欧美日韩高清 | 欧美最猛黑人xx | 国语精品| 午夜理论片精品国产 | 国产精品成人自拍 | 精品视频无 | 91高清国 | 日本高清在 | 91免费视频观看 | 国产92刮伦脏话对 | 国产在线国 | 国产A级片乱伦网址 | 国产综合日韩 | 国产日韩综合导航 | 欧美另类video | 国产精品色女人 | 人人添人人 | 欧美性一| 成人影片免费观看 | 福利在线导航网 | 日本三级人妇在线 | 成人日韩欧美精品 | 成人一在线视频日 | 国产毛视频 | 国产成年 | 欧美中文字幕在线看 | 狠色狠色狠 | 97中文字幕在线 | 女同视频一区 |