With TOR, you can specify the country of exit nodes to test a particular website from a specific country.
Just add these 4 lines in the torrc file.
ExitNodes {jp}
StrictNodes 1
GeoIPExcludeUnknown 1
AllowSingleHopCircuits 0
| // the script will run across all accounts with exactly this label. If you want the script to run | |
| // accross all accounts just remove this all together | |
| var SCRIPT_LABEL = 'Your Script!'; | |
| function run() { | |
| // your script goes here | |
| } | |
| // this will execute your script sequentially accounts and is only used for accounts in excess of 50 | |
| function executeInSequence(sequentialIds, executeSequentiallyFunc) { |
| import requests | |
| import base64 | |
| from tqdm import tqdm | |
| master_json_url = 'https://178skyfiregce-a.akamaihd.net/exp=1474107106~acl=%2F142089577%2F%2A~hmac=0d9becc441fc5385462d53bf59cf019c0184690862f49b414e9a2f1c5bafbe0d/142089577/video/426274424,426274425,426274423,426274422/master.json?base64_init=1' | |
| base_url = master_json_url[:master_json_url.rfind('/', 0, -26) + 1] | |
| resp = requests.get(master_json_url) | |
| content = resp.json() |
| #Hooking SafetyNet stuff for fun (no profit tho :( ) | |
| #Several Functions just uncomment to use or modify :) | |
| #by T31M | |
| import frida | |
| import sys | |
| PACKAGE_NAME = "com.nianticlabs.pokemongo" | |
| process = frida.get_usb_device().attach(PACKAGE_NAME) |
| <?php | |
| /* | |
| * Using a key => value pair with the yield keyword is | |
| * the cleanest method I could find to add identifiers or tags | |
| * to asynchronous concurrent requests in Guzzle, | |
| * so you can identify which response is from which request! | |
| */ | |
| $client = new GuzzleHttp\Client(['base_uri' => 'http://httpbin.org']); |
With TOR, you can specify the country of exit nodes to test a particular website from a specific country.
Just add these 4 lines in the torrc file.
ExitNodes {jp}
StrictNodes 1
GeoIPExcludeUnknown 1
AllowSingleHopCircuits 0
Create a folder to store the databases :
mkdir -p /usr/share/GeoIP
Download Country IP database
wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
gunzip GeoIP.dat.gz
/*
Made by [egyJs.com](https://www.instagram.com/egyjs/);
*/
install it on your localhost and try it :
| proxy_cache_path /tmp/cacheapi levels=1:2 keys_zone=microcacheapi:100m max_size=1g inactive=1d use_temp_path=off; | |
| server { | |
| listen 443 ssl http2 default_server; | |
| listen [::]:443 ssl http2 default_server; | |
| server_name example.com; | |
| location /api/ { | |
| # Rate Limiting | |
| limit_req zone=reqlimit burst=20; # Max burst of request |
| <?php | |
| $_SERVER['HTTP_HOST'] = Request::getHttpHost(); | |
| $_SERVER['HTTP_HOST'] = request()->getHttpHost(); | |
| // Alternative could be to use URL::previous(), but this will always return current URL if no referer is present. | |
| // @see https://github.com/laravel/framework/blob/5.7/src/Illuminate/Routing/UrlGenerator.php#L154 | |
| $_SERVER['HTTP_REFERER'] = Request::header('referer', 'default'); | |
| $_SERVER['HTTP_ACCEPT_LANGUAGE'] = Request::getPreferredLanguage(); |