representations
All the content in this article is for learning and communication only, the content of the grab bag, sensitive URLs, data interfaces have been desensitized, is strictly prohibited for commercial and illegal purposes, otherwise all the consequences arising from the author has nothing to do with the author, if there is infringement, please contact me to delete immediately!
Learning Objectives
- ounter(line
ipv6 proxy pool learning
Pre-configuration
Requires linux system. I'm ubuntu under pve. The golang environment I'm on is 1.18.2.
Type ip a to view the network configuration and find the ipv6 proxy
Take the first four bits here +/64 example-->2109:3f21:d2c0:e11::810/64
Adding routes through the default Internet interface
- ounter(line
ip route add local 2109:3f21:d2c0:e11::810/64 dev ens18
Turn on ip_nonlocal_bind to bind any IP address:
- ounter(line
sysctl net.ipv6.ip_nonlocal_bind=1
For IPv6 NDP, install ndppd :
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
apt install ndppd
nano /etc/
// Enter the following
route-ttl 30000
proxy <INTERFACE-NAME>(enter the name of your network card) {
router no
timeout 500
ttl 30000
rule <IP6_SUBNET> (enter your ipv6 prefix){
static
}
}
// Here is my configuration
route-ttl 30000
proxy ens18 {
router no
timeout 500
ttl 30000
rule 2109:3f21:d2c0:e11::810/64{
static
}
}
Restart the ndppd service:
- ounter(line
service ndppd restart
So let's deploy our server
- ounter(line
- ounter(line
git clone /XiaoMiku01/go-proxy-ipv6-pool
cd go-proxy-ipv6-pool
Random ipv6 egress proxy server (support http/socks5) Random ipv6 egress proxy server (support http/socks5)
- ounter(line
- ounter(line
- ounter(line
go run . --port <port> --cidr < your ipv6 cidr > # . 2001:399:8205:ae00::/64
//Our commands
go run . --port 1552 --cidr 2109:3f21:d2c0:e11::810/64
After deploying the server, we'll go to curl and parse it.
- ounter(line
- ounter(line
- ounter(line
- ounter(line
curl -x http://127.0.0.1:1552 .
curl -x http://127.0.0.1:1552 /
curl -x socks5://127.0.0.1:1553 /
while true; do curl -x http://127.0.0.1:1552 ; done
Calling the proxy on the server side
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
- ounter(line
import requests
# Setting up the proxy
proxy = {
'http': 'http://192.168.1.155:1552',
'https': 'http://192.168.1.155:1552'
}
# Target URL
url = '.'
# Send request
response = (url, proxies=proxy)
# Print the response
print()
Final Success Chart
You can see that. If we go to request it, it's a random ipv6 address returned from our ipv6 generation
After part of the station test, support ipv6 and do not block segments, can achieve concurrent crawling effect
Thanks to GitHub open source projects as well as links, articles
Related articles
IPv6 Intrusion and Defense IPv6 "Out of Control": A Look at the State of Security in the IPv6 Network Environment Who doesn't want a proxy pool of 2^64 IPs? Using IPV6 to bypass B-site's anti-crawl Who doesn't want a proxy pool of 2^64 IPs? git project Go Proxy IPV6 Pool Building random exits based on ip6tables
Next-Target
Ali 140 Unsolicited calls to Android-Wechat text messages Tencent Slider tdc topsy-turvy enumerate the beauty of numbers js shield
Recent Thoughts
I opened a knowledge planet, will be built in this period written into shell script has been put inside, there is a need for partners can take by themselves, jd's parameters, ali bxet pure counting, fast hand slider, Pdd-Anti, ikuai, b station login of the - extreme test 3 text, a certain sound ab, rui number 456vmp make up the environment and so on, mainly Certain big brother plus I ask finished products, many people are playing the means of white whoring to add my friends for the purpose of asking after basically there is no intersection in the future, so that the handing over of friends finch does not have any significance. How about I directly open a planet, which directly put my reverse finished products as well as reverse ideas, so that we all take what we need, I also have a little gain, the meaning of a clearer point, so as not to waste everyone's time. Planet if you encounter any problems, you can also directly put forward, I am sure to my greatest ability to answer, follow-up, with the knowledge of the planet's works and ideas more and more, the price is inevitable. As for some stations or apps without special difficulties, I will directly put the ideas as well as finished products to the planet inside, but also welcome the technical cooperation of all the big brother, technology, ideas together to communicate and grow.