kali2020科学冲浪
科学 冲浪
2023-06-13 09:18:56 时间
前言
在kali更新到2020后,原本直接修改网络设置中代理的方法不再好使,转而需要用到proxychains
,在kali2020中已自带,不需要再单独安装,此篇文章将介绍基于物理机v2ray代理的通过proxychains
完成的科学冲浪方式
过程
第一步
将vmware中虚拟机的网络连接改为桥接模式
第二步
将v2ray设置为允许来自局域网的连接
第三步
修改kali中proxychains
的配置文件,文件所在目录
/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 data
proxy_dns
# Some timeouts in milliseconds
tcp_read_time_out 15000
tcp_connect_time_out 8000
# ProxyList format
# type host port [user pass]
# (values separated by 'tab' or 'blank')
#
#
# Examples:
#
# socks5 192.168.67.78 1080 lamer secret
# http 192.168.89.3 8080 justu hidden
# socks4 192.168.1.49 1080
# http 192.168.39.93 8080
#
#
# proxy types: http, socks4, socks5
# ( auth types supported: "basic"-http "user/pass"-socks )
#
[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
将dynamic_chain
前的#
删去,在strict_chain
前加上#
,将最后的[ProxyList]
部分最下面内容删去,然后加上如下格式的一行
socks5 [物理机ip] [v2ray本地监听端口]
例如
[ProxyList]
# add proxy here ...
# meanwile
# defaults set to "tor"
socks5 1.2.3.4 12345
修改结束后保存即可
第四步
检查是否配置成功
proxychains firefox www.google.com
能够成功访问即配置成功
其他
如果不想每次都使用这种命令行来访问,也可以直接修改浏览器的网络代理设置,以火狐为例
首选项 → 网络设置
保存配置后重启浏览器即可
使用方法
proxychains [命令]
其他文章
有关Ubuntu可参考:虚拟机使用物理机 v2ray 代理
相关文章
- hoststool – 科学访问Google的工具
- 登上Science!将2D图像打印成3D可触,盲人离科学更近一步
- 首位90后美女研究员获奖!2022年「科学探索奖」1.5亿元重奖发出
- 2022,数据科学与数据治理项目全纪录
- 【说站】python应用数据科学的优势
- 【Python数据科学库】Numpy从入门到精通
- AI科学语言大模型火了,数学生物计算机样样行,编代码写综述也不在话下
- Nature|2023年值得关注的科学事件
- 科学绘图软件origin中文版下载,Origin2022详细激活安装教程
- 科学数据绘图Origin软件安装包下载安装,Origin 2022中文版下载
- 坚持12个用餐好习惯,科学瘦身不反弹
- 别光看特效!刘慈欣、吴京带你看懂《流浪地球》里的科学奥秘
- 走近科学,无臂机器人是如何靠意念“打砸”玻璃的?