当前位置:网站首页>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
边栏推荐
- X509 parsing
- [Journal Conference Series] IEEE series template download guide
- ESP32 VHCI架构传统蓝牙设置scan mode,让设备能被搜索到
- vscode小技巧
- The use of dcast and melt in R language is simple and easy to understand
- MySQL 8.0.11下载、安装和使用可视化工具连接教程
- Loading and using image classification dataset fashion MNIST in pytorch
- Office 2021 installation package download and activation tutorial
- Async void caused the program to crash
- playwright控制本地谷歌浏览打开,并下载文件
猜你喜欢
在 pytorch 中加载和使用图像分类数据集 Fashion-MNIST
nodejs + mysql 实现简单注册功能(小demo)
FatFs FAT32 learning notes
Stack protector under armcc / GCC
Use Proteus to simulate STM32 ultrasonic srf04 ranging! Code+Proteus
Data warehouse - what is OLAP
9419 page analysis of the latest first-line Internet Android interview questions
十万大学生都已成为猿粉,你还在等什么?
【动态规划】221. 最大正方形
Example interview | sun Guanghao: College Club grows and starts a business with me
随机推荐
Use Proteus to simulate STM32 ultrasonic srf04 ranging! Code+Proteus
榜样专访 | 孙光浩:高校俱乐部伴我成长并创业
Loading and using image classification dataset fashion MNIST in pytorch
[notes de marche]
Example interview | sun Guanghao: College Club grows and starts a business with me
[untitled] make a 0-99 counter, P1 7 connected to key, P2 connected to nixie tube section, common anode nixie tube, P3 0,P3. 1. Connect the nixie tube bit code. Each time you press the key, the nixie
[indicators] precision, recall
5 tricky activity life cycle interview questions. After learning, go and hang the interviewer!
Melt reshape decast long data short data length conversion data cleaning row column conversion
缘结西安 | CSDN与西安思源学院签约,全面开启IT人才培养新篇章
Scons build embedded ARM compiler
[official announcement] Changsha software talent training base was established!
Design of body fat detection system based on 51 single chip microcomputer (51 + OLED + hx711 + US100)
[point cloud series] learning representations and generative models for 3D point clouds
@Excellent you! CSDN College Club President Recruitment!
How to convert opencv pictures to bytes
Summary of request and response and their ServletContext
Mysql数据库的卸载
Nodejs + Mysql realize simple registration function (small demo)
你和42W奖金池,就差一次“长沙银行杯”腾讯云启创新大赛!