I'm glad to come and share with you how to use socks5 global proxy on kali, today's story is as exciting as finding a treasure in an adventure!
How kali uses socks5 global proxy
First, we need to open our beloved kali system, as if it were the key to a hidden treasure. Install the agent software by typing the following command in the terminal:
"`bash
sudo apt update
sudo apt install proxychains
“`
Next, we need to edit the configuration file of the agent software by entering the following command:
"`bash
sudo nano /etc/proxychains.conf
“`
Find the proxy options for socks4 and socks5 in the configuration file that opens, uncomment them and point them to your proxy server address and port number, marking the way as if you were giving treasure.
"`conf
socks5 127.0.0.1 1080
“`
Save the configuration file and exit. Now, our agent software is configured, like setting up signposts on a path to treasure.
kali sslstrip
Next, we can use proxychains to run any commands to get them through the socks5 proxy server. For example, we can use the curl command to access a web page by entering the following command:
"`bash
proxychains curl www.example.com
“`
In this way, we have successfully passed our access through the socks5 proxy, as if we have avoided the magic trap guarding the treasure. At the same time, when using sslstrip for man-in-the-middle attacks, you can also configure proxychains to enable traffic forwarding through the socks5 proxy to protect yourself from attacks on your way to the treasure.
Through the above methods, we have successfully used the socks5 global proxy on kali, as if we have successfully arrived at the location of the treasure in the adventure, let us in the network world unimpeded, to find more exciting it!