Skip to content

Instantly share code, notes, and snippets.

@acba
acba / tor.service.ts
Created October 5, 2020 16:32
Typescript version of a estliberitas script to reset Tor IP
const net = require('net');
class TorService {
private host;
private port;
constructor(host = '127.0.0.1', port = 9051) {
this.host = host;
this.port = port;