Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Proxy 

Setting up a system wide proxy chain using proxychain and tor

Last post on this platform. Dont ask me for external contact information I wont give you it. I MIGHT very very big MIGHT post further opsec/tool posts like I have in the past but I will not bother to make any kind of connections. Thanks.


You will need to edit proxychains config if you want to route through other ports/ips which you can do by doing this:
Code
sudo nano /etc/proxychains.conf
Scroll to the very bottom and add ips and their respective port like this:
Code
ip:port user pass

Installing needed programs/tools:
|
\-> Installing proxychains:
|
Code
sudo apt install proxychains
|
\-> Installing tornet:
|
Code
pip install tornet # it is a python package however you can add it to
|
|
\-> Making tornet a bash command and verifying it is 'installed':
Code
#!/bin/bash

# Define the file path
file_path="/usr/local/bin/tornet.py" # so we can use it as a bash command in our terminal (used later)

# Check if the script is run as root
if [[ $EUID -ne 0 ]]; then
    echo "Please run this script as root."
    exit 1
fi

# Create the Python script file with the provided content
echo '#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from tornet.tornet import main

if __name__ == "__main__":
    sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
    sys.exit(main())' > "$file_path"

# Make the script executable
chmod +x "$file_path"

# Confirm the file has been created and is executable
if [[ -x "$file_path" ]]; then
    echo "Script created successfully at $file_path"
else
    echo "Failed to create the script."
fi

# verify tornet is working correctly
tornet # should just output to console
|
|
\-> Editing /etc/profile:
Code
sudo nano /etc/profile # so we can edit it
Once you have nano-ed the profile file go all the way to the bottom of the file (VERY BOTTOM) and add the following two lines:
Code
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libproxychains.so.4
export PROXYCHAINS_CONF_FILE=/etc/proxychains.conf
|
|
\-> Finalize:
Once you have saved the changes to the profile file and have everything setup correctly then you will need to log out and log back in.
When you have relogged your first open terminal should have the following output on start:
Code
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
[proxychains] DLL init: proxychains-ng 4.17
If it does (I dont think it matters but either way) run the following command and compare your ip from the ip output:
Code
curl -X GET https://api.ipify.org
Example output:
Code
└────╼ ❯❯❯ curl -X GET https://api.ipify.org            

[proxychains] DLL init: proxychains-ng 4.17
[proxychains] Strict chain  ...  127.0.0.1:9050  ...  api.ipify.org:443  ...  OK
192.42.116.209%

@Bastille@ you might like this <3
Hey Biggy! Would you mind sending me a private message? I'd have a offer-related request... Thanks
(Dec 23, 2024 07:07 PM)2nd2N0NE Wrote:  Hey Biggy! Would you mind sending me a private message? I'd have a offer-related request... Thanks

I am barely active here anymore. What do you need? Send me a covno not a pm as pms are ass on this website.
(Jan 30, 2025 09:43 AM)Biggy_Asian Wrote:  I am barely active here anymore.

Sad, hope you're doing well, feel free to come back sometimes, a lot of new things will happen on HF
(Feb 2, 2025 02:24 AM)Bastille Wrote:  Sad, hope you're doing well, feel free to come back sometimes, a lot of new things will happen on HF

I come back every now and then to check on my posts. thanks tho bro.
__________________


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Proxy] by 2nd2N0NEDec 7, 2024 12:19 PM 0 337 Dec 7, 2024 12:19 PM
Last Post: 2nd2N0NE
[VPN] by UNOESep 1, 2024 12:45 AM 3 310 Sep 1, 2024 12:45 AM
Last Post: Bastille
by boopaFeb 1, 2024 07:18 AM 0 149 Feb 1, 2024 07:18 AM
Last Post: boopa