PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Secure Proxychain Config For Kali Linux

Go down

Secure Proxychain Config For Kali Linux Empty Secure Proxychain Config For Kali Linux

Post by jamied_uk 2nd July 2016, 23:29

Setup

Code:
sudo apt install -y proxychains tor


Code:
sudo service tor start


Code:
sudo gedit /etc/proxychains.conf

Uncomment the lines (by removing Hashes from beginning) has following words as shown in the link above: (find it using ctrl +f)


[*]
Code:
# proxychains.conf VER 3.1
#
# HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.

# The option below identifies how the ProxyList is treated.
# Only one option should be uncommented at a time.
# Otherwise, the last appearing option will be accepted.

# Dynamic - Each connection will be done via chained proxies.
# All proxies chained in the order as they appear in the list.
# At least one proxy must be online to play in the chain.
# Dead proxies are skipped, and otherwise, EINTR is returned to the app.
dynamic_chain

# Proxy DNS requests - no leak for DNS data.
proxy_dns

# Some timeouts in milliseconds.
tcp_read_time_out 15000
tcp_connect_time_out 8000

# ProxyList format
# type  host  port [user pass]
# (values separated by 'tab' or 'blank')
[ProxyList]
# Add proxy here.
# Meanwhile, defaults set to "tor".
socks4 127.0.0.1 9050
socks5 127.0.0.1 9050


[*]

When your done start tor

Code:
sudo service tor start

now pipe apps to tor
[*]

Code:
proxychains firefox


[*]After you setup a second browser like epiphany

[*]
Code:
# .bashrc / .zshrc file pc function (proxychain)
function pc(){
echo "Starting Tor Networking For Proxychains "
sudo service tor start
if [ -z "$1" ]
then
    App=firefox
    echo "Starting $App"
else
    App=$1
    echo "Starting $App"
fi
echo ""
echo "Starting $App"
proxychains $App
}


[*]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




Method 2

un-comment dynamic_chain line


add at least 2 secure (443) and 2 port 80 proxies to the bottom of the list (proxy list)
Replacing the socks line at the bottom (or comment out that socks line at the bottom).


and maybe even 8080 (is fine too)


To enable this for each app / prog you start, put the word proxychains before the app / prog name


Examples:

Code:
proxychains firefox

Code:
proxychains msfconsole

Code:
proxychains ping 8.8.8.8


More info
Kali linux 2.0

youtu.be/YjlcPAo9q-0

codingsec.net/2016/05/use-proxychains-evade-detection-kali-linux


Last edited by jamied_uk on 20th January 2024, 21:19; edited 4 times in total
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Secure Proxychain Config For Kali Linux Empty Re: Secure Proxychain Config For Kali Linux

Post by jamied_uk 15th February 2022, 23:45

here are some zshrc example functions

Code:
sudo nano ~/.zshrc

or bashrc

Code:
sudo nano ~/.bashrc


Code:
# Custom Funcs

function beeef(){
cd ~/Documents/Scripts/Beef/
sudo ./beef
}

function pc(){
if [ -z "$1" ]
then
        App="firefox"
else
        App="$1"
fi
sudo service tor start
proxychains $App
}


x(){
sudo chmod +x *.sh

}
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum