Cachebuster on blockedservers list due to caching causing flip flopping
This commit is contained in:
parent
26e9c173ab
commit
eb0ad100b6
@ -16,6 +16,6 @@ for tld in $(cat tld.txt); do cat middle_segments.txt|awk '{print $1".'$tld'"}';
|
||||
echo "Deduping..."
|
||||
sort -u domains_to_try.txt -o domains_to_try.txt
|
||||
|
||||
DOMAIN_COUNT=$(wc -l domains_to_try.txt|awk '{print $1}')
|
||||
DOMAIN_COUNT=$(wc -w domains_to_try.txt|awk '{print $1}')
|
||||
echo "Checking against $DOMAIN_COUNT possible strings..."
|
||||
cat domains_to_try.txt | pv -l | xargs -P3 node try_url.js
|
||||
|
@ -12,7 +12,7 @@ var current_file = fs.readFileSync(current_path, 'utf8');
|
||||
var current_hash_count = current_file.split('\n').length;
|
||||
|
||||
// fetch the blacklisted servers from https://sessionserver.mojang.com/blockedservers
|
||||
http.get('https://sessionserver.mojang.com/blockedservers', function(res) {
|
||||
http.get('https://sessionserver.mojang.com/blockedservers?' + Math.floor(Math.random() * 999999), function(res) {
|
||||
var body = '';
|
||||
res.on('data', function(chunk) {
|
||||
body += chunk;
|
||||
|
Loading…
Reference in New Issue
Block a user