欧美一区2区三区4区公司二百,国产精品婷婷午夜在线观看,自拍偷拍亚洲精品,国产美女诱惑一区二区

歡迎來到云服務器

網絡技術

Nmap呼吁實用參數(shù)分享

nmap是一個網絡探測和安詳掃描措施,系統(tǒng)打點者和小我私家可以利用這個軟件掃描大型的網絡,獲取被掃描主機正在運行以及提供什么處事等信息。 nmap支持許多掃描技能,譬喻:UDP、TCP connect()、TCP SYN(半開掃描)、ftp署理(bounce進攻)、反向符號、ICMP、FIN、ACK掃描、圣誕樹(Xmas Tree)、SYN掃描和null掃描。從掃描范例一節(jié)可以獲得細節(jié)。nmap還提供了一些高級的特征,譬喻:通過TCP/IP協(xié)議棧特征探測操縱系統(tǒng)范例,奧秘掃描,動態(tài)延時和重傳計較,并行掃描,通過并行ping掃描探測封鎖的主機,誘餌掃描,避初步口過濾檢測,直接RPC掃描(無須端口影射),碎片掃描,以及機動的方針和端口設定。本文具體先容了NMap的具體利用選項,并給出了幾個實用實例,nmap是入侵和網絡安詳檢測的必備東西。

nmap

BT5(BackTrack--Information Gathering--Network Analysis--Network Scanners-nmap)

-sP 滲透內網之后判定當前網絡那些主機在線

nmap -sP 192.168.1/255

-vv 現(xiàn)實具體的掃描進程

-sS 利用SYN半開式掃描,美國云服務器 江西電信服務器,這種掃描方法使得掃描功效越發(fā)正確(又稱半開放,或

隱身掃描)

nmap -vv -sS IP

-O 大寫O代表OS 判定主機操縱系統(tǒng)

nmap -O IP

延時計策

-T(0-5) 默認為3

0 即Paranoid模式。為了避開IDS的檢測使掃描速度極慢,nmap串所有的掃描,

每隔至少5分鐘發(fā)送一個包

1 即Sneaky模式。也差不多,只是數(shù)據(jù)包的發(fā)送隔斷是15秒

2 即Polite模式。不增加太大的網絡負載,串行每個探測,并使每個探測隔斷

0.4秒

3 即Normal模式。nmap的默認選項,在不使網絡過載可能主機/端口丟失的環(huán)境

下盡大概快速地掃描

4 即Aggressive模式。配置5分鐘的超時限制,對每臺主機的掃描時間不高出5分

鐘,而且對每次探測回應的期待時間不高出1.5秒。

5 即lnsane模式。只適合快速的網絡可能不在意丟失默些信息,每臺主機的超時

限制為75秒,對每次探測只期待0.3秒。

nmap -sS -T1 IP

-sV 探測端口的處事范例/詳細版本等信息

nmap -vv -sV IP

-p 端標語 對某個端口的處事版本舉辦具體探測 有助于升入的針對性進攻,

好比緩沖溢出進攻

nmap -vv -sV IP -p 21

合用于表里網的探測,以內網操縱為示例(外網參數(shù)同)


簡樸端口掃描: nmap -vv -sT(sS、sF、sU、sA) 192.168.0.1 -D 127.0.0.1

(-D偽造的地點)


OS檢測: nmap -vv -sS -O 192.168.0.1


RPC辨別: nmap -sS -sR 192.168.0.1 Linux上的portmap就是一個簡樸的RPC服

務,監(jiān)聽端口為111(默認)

Ping掃射:nmap -sP 172.16.15.0/24

十條常用nmap呼吁行名目

1)獲取長途主機的系統(tǒng)范例及開放端口

Get info about remote host ports and OS detection

nmap -sS -P0 -sV -O <target>

這里的 < target > 可以是單一 IP, 或主機名,或域名,或子網

-sS TCP SYN 掃描 (又稱半開放,或隱身掃描)

-P0 答允你封鎖 ICMP pings.

-sV 打開系統(tǒng)版本檢測

-O 實驗識別長途操縱系統(tǒng)

-sS TCP SYN scanning (also known as half-open, or stealth scanning)

-P0 option allows you to switch off ICMP pings.

-sV option enables version detection

-O flag attempt to identify the remote operating system

Other option:

-A 同時啟用操縱系統(tǒng)指紋識別和版本檢測

-A option enables both OS fingerprinting and version detection

-v use -v twice for more verbosity.

nmap -sS -P0 -A -v < target >

2)列出開放了指定端口的主機列表

Get list of servers with a specific port open

nmap -sT -p 80 -oG – 192.168.1.* | grep open

Change the -p argument for the port number. See “man nmap” for

different ways to specify address ranges.

3)在網絡尋找所有在線主機

Find all active IP addresses in a network

nmap -sP 192.168.0.*

可能也可用以下呼吁:

nmap -sP 192.168.0.0/24

指定 subnet

4)Ping 指定范疇內的 IP 地點

Ping a range of IP addresses

nmap -sP 192.168.1.100-254

nmap accepts a wide variety of addressing notation, multiple

targets/ranges, etc.

5)在某段子網上查找未占用的 IP

Find unused IPs on a given subnet

nmap -T4 -sP 192.168.2.0/24 && egrep "00:00:00:00:00:00" /proc/net/arp

6)在局域網上掃找 Conficker 蠕蟲病毒

Scan for the Conficker virus on your LAN ect.

nmap -PN -T4 -p139,445 -n -v –script=smb-check-vulns –script-args

safe=1 192.168.0.1-254

replace 192.168.0.1-256 with the IP’s you want to check.

7)掃描網絡上的惡意接入點 rogue APs.

Scan Network for Rogue APs.

nmap -A -p1-85,113,443,8080-8100 -T4 –min-hostgroup 50 –max-rtt-

timeout 2000 –initial-rtt-timeout 300 –max-retries 3 –host-timeout

20m –max-scan-delay 1000 -oA wapscan 10.0.0.0/8

I’ve used this scan to successfully find many rogue APs on a very,

very large network.

8)利用誘餌掃描要領來掃描主機端口

Use a decoy while scanning ports to avoid getting caught by the sys

admin

sudo nmap -sS 192.168.0.10 -D 192.168.0.2

Scan for open ports on the target device/computer (192.168.0.10) while

setting up a decoy address (192.168.0.2). This will show the decoy ip

address instead of your ip in targets security logs. Decoy address

needs to be alive. Check the targets security log at /var/log/secure

to make sure it worked.

9)為一個子網列出反向 DNS 記錄

List of reverse DNS records for a subnet

nmap -R -sL 209.85.229.99/27 | awk '{if($3=="not")print"("$2") no

PTR";else print$3" is "$2}' | grep '('

10)顯示網絡上共有幾多臺 Linux 及 Win 設備?

How Many Linux And Windows Devices Are On Your Network?

sudo nmap -F -O 192.168.1.1-255 | grep "Running: " > /tmp/os; echo

"$(cat /tmp/os | grep Linux | wc -l) Linux device(s)"; echo "$(cat

/tmp/os | grep Windows | wc -l) Window(s) devices"

騰訊云代理

Copyright © 2003-2021 MFISP.COM. 國外vps服務器租用 夢飛云服務器租用 版權所有 ? 粵ICP備11019662號

主站蜘蛛池模板: 邻水| 任丘市| 富源县| 南丰县| 磴口县| 鸡东县| 黑河市| 崇礼县| 牡丹江市| 北京市| 高州市| 内丘县| 布拖县| 故城县| 弥勒县| 清水河县| 六盘水市| 准格尔旗| 沂源县| 定州市| 牡丹江市| 新宁县| 波密县| 休宁县| 慈利县| 宁德市| 南川市| 枣阳市| 来宾市| 南丹县| 连平县| 封丘县| 丰都县| 徐汇区| 林西县| 西畴县| 于都县| 江达县| 浙江省| 江川县| 塔河县|