NimScan
?New Banner &
非常快速的連接埠掃描器(帶有過濾選項 - 僅支援 Windows)
類別 | ?️ Nmap | ? Rust掃描 | ♨️ 品質掃描 | ?尼姆掃描 |
---|---|---|---|---|
已過濾 | ~107 秒 | 約 60 秒(僅限 Windows) | ||
未過濾的 | ~25 秒 | ~3 秒 (Linux) | ~8 秒 (Linux) | ~7 秒(2 個執行緒) |
依賴關係 | Npcap驅動程式 | 地圖 | libpcap 驅動程式 | 無依賴關係 |
可用作模組/庫 | ✔️ |
所有基準測試均在 LAN 內部和 65K 連接埠上執行。
Usage:
NimScan < host | IPs > -p: < portX > - < portY > [--timeout =< time > ] [--files =< limit of file descriptors > ] [-a]
NimScan < host | IPs > -p: < port >
NimScan < host | IPs > -p: < port 1> , < port 2> , < portN >
NimScan (-h | --help)
Options:
-h, --help Show this screen.
-p, --ports Ports to scan. [default: 1-65,535]
-a, --all Use rawsockets to find filtered/closed/open ports (Takes longer and limited to 10,000 ports).
-t, --threads Number of threads per scan.
-f, --files= < limit > File descriptors per thread limit.
-i, --ignore Ignore ping latency check.
--timeout= < time > Timeout to add to the latency [default: 1500].
掃描範圍為 1 至 5000 個連接埠
NimScan 10.0.0.0/24 -p:1-5000
掃描特定連接埠
NimScan 10.0.0.1-10.0.0.10 -p:80,443,445
使用原始套接字顯示關閉/過濾/打開
NimScan.exe 10.0.0.69 -a
scan ( char * host , int * ports , int size );
scanner ( char * host , int * ports , int size , char * parameters );
#include <stdio.h>
int main ( void )
{
NimMain (); // A MUST!
int ports [] = { 1 , 445 , 8080 , 3389 , 135 , 139 };
int size = sizeof ports / sizeof ports [ 0 ];
scan ( < IP / HOST > , ports , size ); // Scan given ports with default configuration (timeout = 1500ms, files = 5000)
scanner ( < IP / HOST > , NULL , 0 , "<arguments>" ); // Scanning all 65K ports with given arguments
return 0 ;
}
確保 NimScanToC.a 位於您的程式資料夾中。
gcc < file > .c -L. -l:NimScanToC.a -w -o NimScan.exe