All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 10s
35 lines
991 B
JavaScript
35 lines
991 B
JavaScript
const tor_axios = require('tor-axios');
|
|
const tor = tor_axios.torSetup({
|
|
ip: 'localhost',
|
|
port: 9050,
|
|
controlPort: '9051',
|
|
controlPassword: 'KarlMax',
|
|
})
|
|
|
|
async function main() {
|
|
let response = await tor.get('http://api.ipify.org');
|
|
let ip = response.data;
|
|
console.log(await tor.get('http://api.ipify.org'));
|
|
|
|
await tor.torNewSession(); //change tor ip
|
|
|
|
response = await tor.get('http://api.ipify.org');
|
|
ip = response.data;
|
|
console.log(ip);
|
|
}
|
|
|
|
main()
|
|
|
|
|
|
// "http://finger-ya-bum-hole.site:80",
|
|
// "http://9paday.wtf:80",
|
|
// "http://app.crazyservertimes.pro",
|
|
// "http://xiu96ctyh6-content.xyz:80",
|
|
// "http://gtech.club",
|
|
// "http://gogogadgethand.xyz",
|
|
// "http://radaravoider.win:2052",
|
|
// "http://diamondbob15.win",
|
|
// "http://sarahgraphite.liveme.vip",
|
|
// "http://anyholeisagoal.ru:2095",
|
|
// "http://panel.sulu1.cc:2052",
|
|
// "https://kugatruncher.xyz:2096"
|