友情提醒
本文阅读时间推荐20min,模拟练习推荐0.5H
CCSK(云安全)(已通过认证)
ISO/IEC 27001 Foundation(已通过认证)
以下为科学上网的方式:使用brook方式走“坡县”的vps进行流量代理。
Brook:一款跨平台的可编程网络工具。
https://github.com/txthinking/brook
以HTB靶场示例,vps采用的是腾讯云-新加坡-轻量服务器
1、HTB平台下载VPN
2、查看vpn指向的域名
└─$ cat lab_htb.ovpn
remote edge-sg-dedivip-1.hackthebox.eu 443
apt update && apt install screen
screen -S brook
wget https://github.com/txthinking/brook/releases/download/v20240606/brook_linux_amd64
chmod +x brook_linux_amd64
4、执行流量监听及转发
./brook_linux_amd64 relay -l :443 -t edge-sg-dedivip-1.hackthebox.eu:443
5、服务器(vps)上设置防火墙
如果是offsec官方的要注意1194端口,htb要注意443端口的出入限制。
6、设置流量转发到vps服务器
43.134.178.152edge-sg-dedivip-1.hackthebox.eu
7、kali拨VPN
8、Htb vpn连接成功
9、Kali 内网IP验证
11、其他参考
screen常用命令参考网站
https://blog.csdn.net/weixin_51291234/article/details/134673591
https://blog.csdn.net/qq_21438461/article/details/131441286
https://blog.csdn.net/herocheney/article/details/130984403
查看目前进程
root@VM-12-10-debian:~# screen -ls
停止某个进程
root@VM-12-10-debian:~# screen -X -S 2145481 quit
本期工具介绍到此结束咯,欢迎添加好友进VX交流群
原文始发于微信公众号(从放弃到入门):从频繁掉线到稳定畅连:OSCP 打靶的 Brook + 坡县 VPS 攻略
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论