当前位置:网站首页>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 .
边栏推荐
- PaddleNLP基于ERNIR3.0文本分类以CAIL2018-SMALL数据集罪名预测任务为例【多标签】
- Ngrok intranet penetration
- Sword finger offer II 067. maximum XOR (medium prefix tree bit operation array)
- Soft exam network engineer
- 二进制的原码、反码、补码
- 2021 mathematical modeling group B exercise
- Sword finger offer II 052. flatten binary search tree (simple binary search tree DFS)
- 105. Construct binary tree from preorder and inorder traversal sequence (medium binary tree DFS hash table binary tree)
- ES6 concept
- Establishment of Ruiji takeout development environment
猜你喜欢
![[Ruiji takeout project]day4 - dish management](/img/2a/2d9deb7a583aa37b38a67ef2c74ee7.png)
[Ruiji takeout project]day4 - dish management
![[CS231N]Lecture_ 2:Image Classification pipelin](/img/4f/de56b071560ada746c587a9dbc5f02.jpg)
[CS231N]Lecture_ 2:Image Classification pipelin

Sword finger offer II 055. Binary search tree iterator (medium binary search tree iterator)

Win11怎么打开软件通知

Sword finger offer II 054. Sum of all values greater than or equal to nodes (medium binary search tree DFS)

The function of wechat applet to cut pictures

Establishment of Ruiji takeout development environment

Sword finger offer II 052. flatten binary search tree (simple binary search tree DFS)

LVS+KeepAlived高可用部署实战应用
![[CVPR 2021] cylinder3d: cylindrical asymmetric 3D convolution network for LIDAR point cloud segmentation](/img/3d/3def78ec88419712e14cf437e21447.png)
[CVPR 2021] cylinder3d: cylindrical asymmetric 3D convolution network for LIDAR point cloud segmentation
随机推荐
[LiteratureReview]Object Detection and Mapping with Bounding Box Constraints
771. 字符串中最长的连续出现的字符
Concise history of graphic technology
ngx+sql环境离线安装日志(rpm安装)
Which is the file transfer command in the basic services of the Internet
Ultra detailed visual studio 2019 running littlevgl (lvgl) simulator
Summary of common error types in JS
Log4j vulnerability elk platform processing method (logstah5.5.1)
ATT&CK初步了解
76. Minimum coverage substring (hard sliding window hash table string)
Chrome encountered a problem when debugging the code. After modifying and saving the code in vscode, chrome did not update after refreshing
20-09-27 the project is migrated to Alibaba toss record (the network card order makes the service unable to connect to DB through haproxy)
【转载】token令牌在登录场景使用
Idea generate class diagram plug-in UML (super detailed)
Using nodejs to operate MySQL
776. 字符串移位包含问题
How do we do full link grayscale on the database?
Use webworker to perform background tasks
2021 mathematical modeling group B exercise
PaddleNLP基于ERNIR3.0文本分类以CAIL2018-SMALL数据集罪名预测任务为例【多标签】