当前位置:网站首页>TCP 复位gongji原理和实战复现
TCP 复位gongji原理和实战复现
2022-04-23 13:17:00 【周杰伦本人】
TCP 复位gongji原理和实战复现
TCP
TCP是面向连接的运输层协议,应用程序在使用TCP协议之前,必须先建立TCP连接。在传送数据完毕后,必须释放建立的TCP连接。TCP是点对点的通信,提供可靠交付,通过TCP连接传送的数据,无差错,不丢失,不重复,并且按序到达。TCP提供全双工通信,TCP连接的两端都设有发送缓存和接收缓存,用来临时存放双向通信的数据,这样TCP在适合的时候把数据发送出去,应用进程在适合的时候读取缓存中的数据。TCP是面向字节流的,TCP把应用程序给的数据看成一连串无结构的字节流,但是TCP传送的数据单元是报文段。
TCP报文
一个TCP报文段分为首部和数据两部分,首部中有个复位RST(ReSet)字段,它是重置位,当RST=1时表明TCP连接中出现严重差错,必须释放连接,然后再重新建立运输连接。RST设置为1用来拒绝一个非法的报文段或拒绝打开一个连接。
复位gongji
RSTgongji就是服务器A和B建立了TCP连接,C伪造了一个TCP包发给B,使B异常的断开与A之间的TCP连接。
当服务器C伪装成A的包,发送RST包,B就会丢弃与A的缓冲区的数据,强制关掉连接。
当服务器C伪装成A的包,发送SYN包,服务器B在正常连接时又来新建连接,B主动向A发送RST包,并在服务器强制关掉连接。
这就是复位gonji的具体实现方法。
总结
要成功实现gongji,需要正确设置源和目的的IP地址、端口号和序列号,把gongji者和受害者放在同一个网络中可以降低猜测序列号的难度。
版权声明
本文为[周杰伦本人]所创,转载请带上原文链接,感谢
https://blog.51cto.com/u_15460453/5248424
边栏推荐
- mui picker和下拉刷新冲突问题
- GIS practical tips (III) - how to add legend in CASS?
- 4.22 study record (you only did water problems in one day, didn't you)
- 7_ The cell type scores obtained by addmodule and gene addition method are compared in space
- Feature Engineering of interview summary
- [quick platoon] 215 The kth largest element in the array
- mysql 基本语句查询
- PyTorch 21. NN in pytorch Embedding module
- 2021年6月程序员工资统计,平均15052元,你拖后腿了吗?
- [Technical Specification]: how to write technical documents?
猜你喜欢
![[untitled] PID control TT encoder motor](/img/ce/942a0b87994699f73da215e7cad2a1.png)
[untitled] PID control TT encoder motor

How to build a line of code with M4 qprotex

叮~ 你的奖学金已到账!C认证企业奖学金名单出炉
![[official announcement] Changsha software talent training base was established!](/img/ee/0c2775efc4578a008c872022a95559.png)
[official announcement] Changsha software talent training base was established!

AUTOSAR from introduction to mastery 100 lectures (52) - diagnosis and communication management function unit
![[point cloud series] relationship based point cloud completion](/img/87/153a78a229a2f2d38c7b2b5ef0fb6a.png)
[point cloud series] relationship based point cloud completion

超40W奖金池等你来战!第二届“长沙银行杯”腾讯云启创新大赛火热来袭!

MySQL -- 16. Data structure of index

Request和Response及其ServletContext总结

Common interview questions and detailed analysis of the latest Android developers in 2020
随机推荐
你和42W奖金池,就差一次“长沙银行杯”腾讯云启创新大赛!
[quick platoon] 215 The kth largest element in the array
100 GIS practical application cases (34) - splicing 2020globeland30
GIS practical tips (III) - how to add legend in CASS?
torch. Where can transfer gradient
[point cloud series] multi view neural human rendering (NHR)
(personal) sorting out system vulnerabilities after recent project development
mui + hbuilder + h5api模拟弹出支付样式
How to convert opencv pictures to bytes
MySQL5.5安装教程
Armv8m (cortex M33) MPU actual combat
Nodejs + Mysql realize simple registration function (small demo)
Mui close other pages and keep only the first page
Servlet of three web components
Imx6ull QEMU bare metal tutorial 1: GPIO, iomux, I2C
Async void provoque l'écrasement du programme
AUTOSAR from introduction to mastery 100 lectures (51) - AUTOSAR network management
Complete project data of UAV apriltag dynamic tracking landing based on openmv (LabVIEW + openmv + apriltag + punctual atom four axes)
100 lectures on practical application cases of Excel (VIII) - report connection function of Excel
Common interview questions and detailed analysis of the latest Android developers in 2020