当前位置:网站首页>Socat port forwarding
Socat 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 , Today we'll look at an enhanced version nc Port forwarding ,socat This tool and nc A little bit of origin , All are cat, It's all network related , Can do port forwarding 、 File transfer , These functions are the tip of the iceberg , If you have time, you can continue to dig deeply , Today, let's look at port forwarding , There are colored eggs at the end of the article ~
nc yes net cat , socat yes socket cat, Similar names , Functions are similar
Experimental environment :
- macos:192.168.199.206
- kali:192.168.199.247
- centos:192.168.199.236
Experiment 1 : Local forwarding
socat TCP-LISTEN:8888,reuseaddr,fork TCP:127.0.0.1:22
Take a look at packet capturing from the perspective of hackers

Then take a look at the traffic from the perspective of the victim , How does it feel like forwarding on other ports

Experiment two : Remote port forwarding , Change IP address
socat TCP-LISTEN:7777,reuseaddr,fork TCP:192.168.199.236:22
- Look at the traffic from the perspective of hackers , equally , No mapping
- Look at the traffic from the perspective of the springboard , equally , No more
Network security has a long way to go , Wash and sleep ~

Colored eggs : Use socat Transfer a small file from macos Pass on to kali
1、 stay macos On the operation
socat -u open: hackers 0717.png tcp-listen:7777,reuseaddr2、 stay kali On the operation
socat -u tcp:192.168.199.206:7777 open: hackers 0717.png,create3、 Check , Successfully get 「“ hackers 0717” This picture 」

边栏推荐
- Work with growingio engineers this time | startdt Hackathon
- 会议OA项目进度(一)
- AXI协议(3):AXI架构的握手机制和实现细节
- Why can't sizeof (ARR) / size (arr[0]) be used to calculate the array length inside the called function?
- 1163: SongGe's score splitting (C language)
- 安全:如何为行人提供更多保护
- Logisim group experiment 10 single cycle MIPS CPU
- Long awaited full platform support - Open Source im project uniapp update of openim
- Problems encountered in upgrading chrome to version 80 - solutions to system login failure
- Open source Invoicing system, 10 minutes to complete, it is recommended to collect!
猜你喜欢

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

ufw 端口转发

MySQL basic commands
Shardingsphere database read / write separation

Duplicate content in lookup table

2022年最新浙江建筑安全员模拟题库及答案

Check the actual data growth of the database

内核开发

Using unity to do simulation, I don't allow this chart plug-in, you don't know

Still shocked by the explosion in the movie? Then you must not miss this explosive plug-in of unity
随机推荐
Problems encountered in upgrading chrome to version 80 - solutions to system login failure
JS, call in the for loop is asynchronously converted to synchronous execution
Safety: how to provide more protection for pedestrians
自定义类型:枚举
CANN训练营学习2022第二季 模型系列 动漫风格化和AOE ATC调优
What is the meaning of void 0? Is undefined changeable?
Still developing games with unity? Then you're out. Try unity to build an answer system
JVM class loading subsystem
[sequential logic circuit] - counter
QT generation connection Library
2022-07-21 Daily: Wu Enda wrote: how to establish projects suitable for AI career
Work with growingio engineers this time | startdt Hackathon
Still shocked by the explosion in the movie? Then you must not miss this explosive plug-in of unity
Buffer overflow vulnerability lab experiment record
709. Convert to lowercase letters
Concept of IP, classification of IP, IP multiplexing technology
IP day 13 notes
Yolopose practice: one-stage human posture estimation with hands + code interpretation
HCNP Routing&Switching之DHCP中继
AI opportunities for operators: expand new tracks with large models