当前位置:网站首页>Command line agent: proxychains configuration
Command line agent: proxychains configuration
2022-07-28 22:36:00 【TwilightZrui】
Set up proxychains
sudo apt-get install proxychains
sudo gedit /etc/proxychains.conf
Modify the port :
# defaults set to "tor"
socks5 127.0.0.1 1088
1088 Is the ladder port number , from agent Obtained in software 
And then run
sudo proxychains wget google.com
result :
ProxyChains-3.1 (http://proxychains.sf.net)
--2022-01-11 16:42:17-- http://google.com/
Resolving google.com (google.com)... |DNS-request| google.com
|S-chain|-<>-127.0.0.1:1080-<><>-4.2.2.2:53-<><>-OK
|DNS-response| google.com is 142.250.193.46
142.250.193.46
Connecting to google.com (google.com)|142.250.193.46|:80... |S-chain|-<>-127.0.0.1:1080-<><>-142.250.193.46:80-<><>-OK
connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.google.com/ [following]
--2022-01-11 16:42:18-- http://www.google.com/
Resolving www.google.com (www.google.com)... |DNS-request| www.google.com
|S-chain|-<>-127.0.0.1:1080-<><>-4.2.2.2:53-<><>-OK
|DNS-response| www.google.com is 142.250.193.68
142.250.193.68
Connecting to www.google.com (www.google.com)|142.250.193.68|:80... |S-chain|-<>-127.0.0.1:1080-<><>-142.250.193.68:80-<><>-OK
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
index.html [ <=> ] 14.69K --.-KB/s in 0.07s
2022-01-11 16:42:20 (201 KB/s) - ‘index.html’ saved [15045]
The successful running
Difficult miscellaneous diseases
There is an error
ERROR: ld.so: object 'libproxychains.so.3' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
$ proxychains ping google.com
ProxyChains-3.1 (http://proxychains.sf.net)
ERROR: ld.so: object 'libproxychains.so.3' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
PING google.com (142.251.43.14) 56(84) bytes of data.
problem :
libproxychains.so.3 Can't find
solve :
First look for libproxychains.so.3 Where is the
Know the location :libproxychains.so: /usr/lib/x86_64-linux-gnu/libproxychains.so.3
whereis libproxychains.so.3
libproxychains.so: /usr/lib/x86_64-linux-gnu/libproxychains.so.3
modify :/usr/bin/proxychains
code /usr/bin/proxychains
#!/bin/sh
echo "ProxyChains-3.1 (http://proxychains.sf.net)"
if [ $# = 0 ] ; then
echo " usage:"
echo " proxychains <prog> [args]"
exit
fi
#export LD_PRELOAD=libproxychains.so.3
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libproxychains.so.3
exec "[email protected]"
Verify changes :
sudo cat /usr/bin/proxychains
#!/bin/sh
echo "ProxyChains-3.1 (http://proxychains.sf.net)"
if [ $# = 0 ] ; then
echo " usage:"
echo " proxychains <prog> [args]"
exit
fi
#export LD_PRELOAD=libproxychains.so.3
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libproxychains.so.3
exec "[email protected]"
Verify that the configuration is successful
$ sudo proxychains wget google.com
....
Saving to: ‘index.html’
index.html [ <=> ] 14.73K --.-KB/s in 0.05s
2022-01-11 16:22:20 (281 KB/s) - ‘index.html’ saved [15082]
ProxyChains What is it? :
ProxyChains yes Linux And others Unices Under the agent Tools . It can make any program pass agent surf the internet , allow TCP and DNS adopt agent Tunnel , Support HTTP、SOCKS4 and SOCKS5 Type of agent The server , And multiple can be configured agent.ProxyChains Through a user-defined agent The list forces the connection to the specified application , Disconnect the receiver and sender directly .
边栏推荐
- Integrating database Ecology: using eventbridge to build CDC applications
- PaddleNLP基于ERNIR3.0文本分类:WOS数据集为例(层次分类)
- Common commands of NPM
- 静态成员static详解
- Ngx+sql environment offline installation log (RPM installation)
- For loops and functions
- 职场pua但有道理
- npm ERR code ETIMEDOUT npm ERR syscall connect npm ERR errno ETIMEDOUT npm ERR network reques...
- NPM switch Taobao source (NPM source)
- SQL injection less34 (post wide byte injection + Boolean blind injection)
猜你喜欢

Less than a year after its establishment! MIT derivative quantum computing company completed financing of US $9million

软考网络工程师

【转载】token令牌在登录场景使用

Idea generate class diagram plug-in UML (super detailed)

Research cup element recognition multi label classification task based on ernie-3.0 cail2019 method
Integrating database Ecology: using eventbridge to build CDC applications

2022年一级建造师考试什么时候才能报名?

Netease Yunxin 2022q2 product supply station, come and get your product supply plan!

The function of wechat applet to cut pictures

c语言实现字符串逆序排列
随机推荐
【CVPR 2021】Cylinder3D:用于LiDAR点云分割的圆柱体非对称3D卷积网络
ssh免密登陆
105. Construct binary tree from preorder and inorder traversal sequence (medium binary tree DFS hash table binary tree)
Remember the first line segment tree (corresponding to Luogu 3372)
775. 倒排单词
What are the main functions and uses of LCR tester
Sword finger offer II 066. sum of words (medium prefix tree design string)
Win11怎么打开软件通知
Which is the file transfer command in the basic services of the Internet
CMD common commands
75. Color classification (medium array double pointer sorting)
Ultra detailed visual studio 2019 running littlevgl (lvgl) simulator
Container configuration starts redis cluster single machine 6 nodes 3 Master 3 slave
Wechat applet uses canvas drawing, round avatar, network background, text, dotted line, straight line
[Ruiji takeout project]day4 - dish management
ES6, deep copy, shallow copy
elment-plus图标input上面带的图标为什么不显示
ssh 免密码登录
ES6 concept
What does GPRS network mean