当前位置:网站首页>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 .
边栏推荐
- [Ruiji takeout] day05 package management business development
- If you want to grow rapidly, you must first experience a major blow!
- 使用webWorker执行后台任务
- mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
- Changes in the history of oscilloscope development
- 2022年一级建造师考试什么时候才能报名?
- 微信小程序剪切图片的功能
- How to realize dynamic route switching and route caching in vuejs
- imx6q gpio复用
- c语言实现字符串逆序排列
猜你喜欢
![[CS231N]Lecture_ 2:Image Classification pipelin](/img/4f/de56b071560ada746c587a9dbc5f02.jpg)
[CS231N]Lecture_ 2:Image Classification pipelin

静态成员static详解

【CVPR 2021】Cylinder3D:用于LiDAR点云分割的圆柱体非对称3D卷积网络

Static details of static members

Soft exam network engineer

Summary of common error types in JS

Day3 classification management of Ruiji takeout project

79. Word search (medium string array matrix backtracking)

PaddleNLP基于ERNIR3.0文本分类以CAIL2018-SMALL数据集罪名预测任务为例【多标签】

MySQL installation and configuration (super detailed, simple and practical)
随机推荐
Ngrok intranet penetration
LVS+KeepAlived高可用部署实战应用
Sword finger offer II 053. Medium order successor in binary search tree (medium binary search tree DFS)
Sword finger offer II 056. Sum of two nodes in a binary search tree (simple binary search tree DFS hash table double pointer iterator)
tutorial/detailed_workflow.ipynb 量化金融Qlib库
105. Construct binary tree from preorder and inorder traversal sequence (medium binary tree DFS hash table binary tree)
Ecmasript 5/6 notes
mysql8.0无法给用户授权或提示You are not allowed to create a user with GRANT的问题
When can I sign up for the 2022 class I constructor examination?
Winserver operation and maintenance technology stack
JVM——自定义类加载器
Att & CK preliminary understanding
ES6, deep copy, shallow copy
Openresty request authentication
Sword finger offer II 055. Binary search tree iterator (medium binary search tree iterator)
【转载】token令牌在登录场景使用
imx6q gpio复用
Soft exam network engineer
Which is the file transfer command in the basic services of the Internet
SSH password free login