cd C:\Users\HistoryDeveloper\Desktop\Tor
tor --hash-password MySuperPassword
Configure tor by editing the torrc file usually located at /etc/tor/torrc, /lib/etc/tor/torrc, ~/.torrc or /usr/local/etc/tor/torrc - Alternatively you can supply the path yourself with the --default-torrc PATH command line argument.
tor -f path\to\torrc
-f FILE
Specify a new configuration file to contain further Tor configuration options OR pass - to make Tor read its configuration from standard input. (Default: @CONFDIR@/torrc, or $HOME/.torrc if that file is not found)
FILES
@CONFDIR@/torrc
The configuration file, which contains "option value" pairs.
$HOME/.torrc
Fallback location for torrc, if @CONFDIR@/torrc is not found.
ControlPort 9051
HashedControlPassword 16:hash
async function Scrap(query, type) {
torridest.request(`https://www.rusprofile.ru/search?query=${encodeURI(query)}&search_inactive=0&type=${type || 'ul'}`, function (err, res, body) {
console.log(1);
return !err && res.statusCode === 200 ? console.log(body) : console.log(err);
});
}
C:\Users\History Developer\Desktop\Tor>tor
Mar 26 00:04:39.146 [notice] Tor 0.4.2.7 (git-74cad14699087b7e) running on Windows 8 [or later] with Libevent 2.1.8-stable, OpenSSL 1.1.1d, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Mar 26 00:04:39.147 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Mar 26 00:04:39.161 [notice] Configuration file "C:\Users\History Developer\AppData\Roaming\tor\torrc" not present, using reasonable defaults.
Mar 26 00:04:39.162 [warn] Path for GeoIPFile () is relative and will resolve to C:\Users\History Developer\Desktop\Tor\. Is this what you wanted?
Mar 26 00:04:39.163 [warn] Path for GeoIPv6File () is relative and will resolve to C:\Users\History Developer\Desktop\Tor\. Is this what you wanted?
Mar 26 00:04:39.165 [notice] Opening Socks listener on 127.0.0.1:9050
Mar 26 00:04:39.165 [warn] Could not bind to 127.0.0.1:9050: Address already in use [WSAEADDRINUSE ]. Is Tor already running?
Mar 26 00:04:39.166 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Mar 26 00:04:39.166 [err] Reading config failed--see warnings above.
C:\Users\History Developer\Desktop\Tor>tor
Mar 26 00:05:03.617 [notice] Tor 0.4.2.7 (git-74cad14699087b7e) running on Windows 8 [or later] with Libevent 2.1.8-stable, OpenSSL 1.1.1d, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A.
Mar 26 00:05:03.618 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Mar 26 00:05:03.631 [notice] Configuration file "C:\Users\History Developer\AppData\Roaming\tor\torrc" not present, using reasonable defaults.
Mar 26 00:05:03.632 [warn] Path for GeoIPFile () is relative and will resolve to C:\Users\History Developer\Desktop\Tor\. Is this what you wanted?
Mar 26 00:05:03.633 [warn] Path for GeoIPv6File () is relative and will resolve to C:\Users\History Developer\Desktop\Tor\. Is this what you wanted?
Mar 26 00:05:03.634 [notice] Opening Socks listener on 127.0.0.1:9050
Mar 26 00:05:03.634 [notice] Opened Socks listener on 127.0.0.1:9050
Mar 26 00:05:03.000 [notice] Bootstrapped 0% (starting): Starting
Mar 26 00:05:04.000 [notice] Starting with guard context "default"
Mar 26 00:05:05.000 [notice] Bootstrapped 5% (conn): Connecting to a relay
Mar 26 00:05:05.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay
Mar 26 00:05:06.000 [notice] Bootstrapped 14% (handshake): Handshaking with a relay
Mar 26 00:05:06.000 [notice] Bootstrapped 15% (handshake_done): Handshake with a relay done
Mar 26 00:05:06.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
Mar 26 00:05:06.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
Mar 26 00:05:06.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
Mar 26 00:05:07.000 [notice] Bootstrapped 100% (done): Done