当前位置:网站首页>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 .
边栏推荐
- Sword finger offer II 053. Medium order successor in binary search tree (medium binary search tree DFS)
- Solve the problem that TS node xxx.ts executes TS code and reports errors
- npm ERR code ETIMEDOUT npm ERR syscall connect npm ERR errno ETIMEDOUT npm ERR network reques...
- How to realize dynamic route switching and route caching in vuejs
- Using nodejs to operate MySQL
- Ruiji takeout project - development of business development function Day2
- 6K6w5LiA5qyh5pS75Ye75YiG5p6Q
- Idea generate class diagram plug-in UML (super detailed)
- 842. 排列数字
- Summary of common error types in JS
猜你喜欢
随机推荐
What does GPRS network mean
SQL injection less34 (post wide byte injection + Boolean blind injection)
Win11 how to open software notification
How to install WiFi correctly
成立不到一年!MIT衍生量子计算公司完成900万美元融资
Ngrok intranet penetration
Sword finger offer II 058. schedule (medium design segment tree treemap ordered set)
(翻译)图技术简明历史
示波器发展史中的变化
ATT&CK初步了解
76. Minimum coverage substring (hard sliding window hash table string)
winServer运维技术栈
Awk blank line filtering
Ngx+sql environment offline installation log (RPM installation)
网易云信 2022Q2 产品补给站,快来获取你的产品补给计划吧!
Less than a year after its establishment! MIT derivative quantum computing company completed financing of US $9million
Integrating database Ecology: using eventbridge to build CDC applications
Sword finger offer II 064. magic Dictionary (medium dictionary tree string design)
There will be a black line on the border when the button in the wechat applet is clicked
Use REM to make the font size adaptive to the screen
![[connect set-top box] - use ADB command line to connect ec6108v9 Huawei Yuehe box wirelessly](/img/ab/624e9a3240416f8445c908378310ad.png)






