真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

每日記載內(nèi)容總結(jié)46-創(chuàng)新互聯(lián)

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

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

安裝:

yum install nmap
  1. 使用Hostname和IP地址來掃描系統(tǒng),掃描出他的系統(tǒng)所有開放端口,服務(wù)和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” 選項,此選項給了更多的遠程設(shè)備的細節(jié)。

     [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有多種多樣的選項去發(fā)現(xiàn)遠程機器的端口。通過“-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基本命令不能用解決方法

--

先執(zhí)行如下命令:

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

然后在當前命令界面,基本命令都已經(jīng)可用,繼續(xù)如下操作

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

// 查看狀態(tài)
service iptables status

//設(shè)置開機啟動
systemctl enable iptables

//管理
systemctl stop iptables  

systemctl start iptables  

systemctl restart iptables  

service iptables save

分享名稱:每日記載內(nèi)容總結(jié)46-創(chuàng)新互聯(lián)
轉(zhuǎn)載源于:http://weahome.cn/article/cesdhj.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部