Proxychains全局代理的安装、配置和应用.docx_第1页
Proxychains全局代理的安装、配置和应用.docx_第2页
Proxychains全局代理的安装、配置和应用.docx_第3页
Proxychains全局代理的安装、配置和应用.docx_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Proxychains全局代理的安装、配置和应用LINUX下可以实现全局代理的软件有tsocks和proxychains等多种,似乎proxychains要更加稳定可靠。proxychains介绍: 允许TCP和DNS通过代理隧道. 支持HTTP,SOCKS4和SOCKS5代理服务器. 不同的代理类型可以混合在同一个链. 代理链:用户自定义的列表的代理链接在一起.可以使用proxychains通过代理服务器运行任何程序和通过反向代理访问内部网络proxychains安装:yum install proxychains 或 RPM安装(需要有专门的rpm包)采用现成的rpm包安装较为方便。但是经测试,发现该rpm的安装路径有误,需要改正。/usr/lib64/proxychains/libproxychains.so改为/usr/lib/proxychains/libproxychains.so只要执行以下命令:mv /usr/lib64/proxychains /usr/lib配置文件-proxychains.conf# vim /etc/proxychains.conf 全文如下:# proxychains.conf VER 3.1# HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.# The option below identifies how the ProxyList is treated.# only one option should be uncommented at time,# otherwise the last appearing option will be accepted#dynamic_chain# Dynamic - Each connection will be done via chained proxies# all proxies chained in the order as they appear in the list# at least one proxy must be online to play in chain# (dead proxies are skipped)# otherwise EINTR is returned to the app#strict_chain# Strict - Each connection will be done via chained proxies# all proxies chained in the order as they appear in the list# all proxies must be online to play in chain# otherwise EINTR is returned to the app#random_chain# Random - Each connection will be done via random proxy# (or proxy chain, see chain_len) from the list.# this option is good to test your IDS :)# Make sense only if random_chain#chain_len = 2# Quiet mode (no output from library)#quiet_mode# Proxy DNS requests - no leak for DNS dataproxy_dns # Some timeouts in millisecondstcp_read_time_out 15000tcp_connect_time_out 8000# ProxyList format# type host port user pass# (values separated by tab or blank)# Examples:# socks581080lamersecret#http8080justuhidden# socks491080# http38080# proxy types: http, socks4, socks5# ( auth types supported: basic-http user/pass-socks )proxychains-3.1.tar#ProxyList# add proxy here .# meanwile# defaults set to torsocks4 9050配置文件修改如下:有三个链:dynamic_chainstrict_chainrandom_chain默认选择是strict_chain,也可选 dynamic_chain,或random_chain,但含义不一样的。三个链中只能选择一个。然后在最后的ProxyList下面添加需要的代理信息: socks5 1080usernamepassword以上语句的意思是:socks5代理服务器的地址、端口、用户名、密码)一个配置例子:strict_chainproxy_dns tcp_read_time_out 15000tcp_connect_time_out 8000socks41080socks561080socks5 11080alusasb#2345按照顺序执行,可以多个代理组成一条链。详细的配置说明列表: 属 性说 明配 置dynamic_chain按照列表中出现的代理服务器的先后顺序组成一条链,如果有代理服务器失效,则自动将其排除,但至少要有一个是有效的。默认#未开启strict_chain按照后面列表中出现的代理服务器的先后顺序组成一条链,要求所有的代理服务器都是有效的。默认开启random_chain列表中的任何一个代理服务器都可能被选择使用,这种方式很适合网络扫描操作(参数chain_len只对random_chain有效)。默认#未开启proxy_dns代理dns请求默认开启ProxyList添加代理

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论