linux 下c实现简单的网络嗅探器

  • F6_574088
    了解作者
  • 131.5KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-26 01:35
    上传日期
简单的网络嗅探器
src.zip
  • src
  • common.c
    2.4KB
  • log.txt
    53.2KB
  • udp.c
    1.8KB
  • sniffer.c
    4KB
  • tcp.c
    3.7KB
  • find_gateway.c
    4.9KB
  • port.c
    7.6KB
  • device.c
    800B
  • sniffer.h
    2.5KB
  • igmp.c
    1.9KB
  • ethernet.c
    918B
  • makefile
    112B
  • sniffer
    242KB
  • icmp.c
    7.4KB
  • arp.c
    2.6KB
  • main.c
    3.6KB
内容介绍
网络嗅探器日志报告 记录时间 10:59:02, 设备 enp1s0 (192.168.50.89) ---[ TCP ]----------------------------------------------------------- 192.168.50.89:50898(unknown) -> 220.181.7.21:443(https) TTL: 64 Window: 65340 Version: 4 Lenght: 40 FLAGS: --R-A-- SEQ: 857163067 - ACK: 1547329021 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:38888(unknown) -> 172.217.31.238:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 4092895364 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:60654(unknown) -> 223.252.199.69:443(https) TTL: 64 Window: 325 Version: 4 Lenght: 52 FLAGS: ----A-- SEQ: 404207790 - ACK: 4229289285 ---[ TCP ]----------------------------------------------------------- 223.252.199.69:443(https) -> 192.168.50.89:60654(unknown) TTL: 56 Window: 1404 Version: 4 Lenght: 52 FLAGS: ----A-- SEQ: 4229289285 - ACK: 404207791 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:46158(unknown) -> 47.95.47.253:443(https) TTL: 64 Window: 1106 Version: 4 Lenght: 40 FLAGS: ----A-- SEQ: 2804193564 - ACK: 886038926 ---[ TCP ]----------------------------------------------------------- 47.95.47.253:443(https) -> 192.168.50.89:46158(unknown) TTL: 52 Window: 328 Version: 4 Lenght: 40 FLAGS: ----A-- SEQ: 886038926 - ACK: 2804193565 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:38888(unknown) -> 172.217.31.238:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 4092895364 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:38888(unknown) -> 172.217.31.238:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 4092895364 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:43824(unknown) -> 151.101.108.133:443(https) TTL: 64 Window: 340 Version: 4 Lenght: 52 FLAGS: F---A-- SEQ: 152414522 - ACK: 857146218 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:57860(unknown) -> 220.181.7.190:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 1152063983 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:50944(unknown) -> 220.181.7.21:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 4144236340 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:37624(unknown) -> 36.110.213.254:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 1532355831 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:37728(unknown) -> 1.81.3.49:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 2335322803 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:60116(unknown) -> 125.75.32.226:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 1195572718 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 1.81.3.49:443(https) -> 192.168.50.89:37728(unknown) TTL: 56 Window: 65535 Version: 4 Lenght: 52 FLAGS: -S--A-- SEQ: 3304536735 - ACK: 2335322804 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:37728(unknown) -> 1.81.3.49:443(https) TTL: 64 Window: 229 Version: 4 Lenght: 40 FLAGS: ----A-- SEQ: 2335322804 - ACK: 3304536736 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:53614(unknown) -> 1.81.3.34:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 2878400503 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:60228(unknown) -> 110.185.121.220:80(http) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 3013574608 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:48124(unknown) -> 219.144.106.48:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 3024480627 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:37728(unknown) -> 1.81.3.49:443(https) TTL: 64 Window: 229 Version: 4 Lenght: 557 FLAGS: ---PA-- SEQ: 2335322804 - ACK: 3304536736 ---[ TCP Data ]------------------------------------------------------ *xa e[ QV _D / P R" H W M ' t1k " + / , 0 / 5 dup.baidustatic.com # h2 http/1.1 3 + ) J( $ p) j y t*0W': $ P - + :: ---[ TCP ]----------------------------------------------------------- 219.144.106.48:443(https) -> 192.168.50.89:48124(unknown) TTL: 56 Window: 29200 Version: 4 Lenght: 52 FLAGS: -S--A-- SEQ: 3629443521 - ACK: 3024480628 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:48124(unknown) -> 219.144.106.48:443(https) TTL: 64 Window: 229 Version: 4 Lenght: 40 FLAGS: ----A-- SEQ: 3024480628 - ACK: 3629443522 ---[ TCP ]----------------------------------------------------------- 1.81.3.34:443(https) -> 192.168.50.89:53614(unknown) TTL: 56 Window: 65535 Version: 4 Lenght: 52 FLAGS: -S--A-- SEQ: 268949141 - ACK: 2878400504 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:53614(unknown) -> 1.81.3.34:443(https) TTL: 64 Window: 229 Version: 4 Lenght: 40 FLAGS: ----A-- SEQ: 2878400504 - ACK: 268949142 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:42314(unknown) -> 1.81.3.45:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 883833848 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:36030(unknown) -> 103.72.47.247:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 1009172017 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:47920(unknown) -> 110.185.121.220:443(https) TTL: 64 Window: 29200 Version: 4 Lenght: 60 FLAGS: -S----- SEQ: 3606872769 - ACK: 0 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:48124(unknown) -> 219.144.106.48:443(https) TTL: 64 Window: 229 Version: 4 Lenght: 557 FLAGS: ---PA-- SEQ: 3024480628 - ACK: 3629443522 ---[ TCP Data ]------------------------------------------------------ m f #? ` B : b; 4 } a # # 0 ( ` j` Ku " + / , 0 / 5 gh.bdstatic.com # h2 http/1.1 3 + ) \ ; P I> H? w vA Q ' - + JJ ---[ TCP ]----------------------------------------------------------- 1.81.3.49:443(https) -> 192.168.50.89:37728(unknown) TTL: 56 Window: 4380 Version: 4 Lenght: 40 FLAGS: ----A-- SEQ: 3304536736 - ACK: 2335323321 ---[ TCP ]----------------------------------------------------------- 192.168.50.89:53614(unknown) -> 1.81.3.34:443(https) TTL: 64 Window: 229 Version: 4 Lenght: 557 FLAGS: ---PA-- SEQ: 2878400504 - ACK: 268949142 ---[ TCP Data ]------------------------------------------------------ & )\ X |y #6 [f | + {J) e 1 n 1GU 4>eNG ^ 0H ":: + / , 0 / 5 cpro.baidustatic.com JJ # h2 htt
评论
    相关推荐
    • Linux课件
      本课件,浅显易懂,对需要快速入门Linux的人将有极大的帮助。 里面包括在Linux上配置网络的相关知识和Linux的基础知识。
    • Linux教程
      第一章:Linux系统的基本知识 第二章:Linux系统安装 第三章:Linux文本编辑 第四章:Linux常用命令与基本管理 第五章:Linux Shell的使用 第六章:Linux应用程序安装与管理 第七章:Linux核心...
    • linux
      linux 深入了解Linux OS和编程的概念
    • Linux procfs
      Linux procfs相关资料,里面有N个文档。 Linux procfs详解 .doc Linux_proc.pdf linux_proc_文件程序.doc linux_procfs详解.txt linux_proc文件系统.doc Linux中proc文件详解.pdf Proc 源代码分析.pdf proc_访问_...
    • Linux基础
      适合初学者入门,使Linux不在枯燥;高级编程者可以为你打开另外一扇Linux的大门! 让你感受Linux的魅力!
    • linux book
      一本关于Linux 使用 非常详尽的书! 一本关于Linux 使用 非常详尽的书! 一本关于Linux 使用 非常详尽的书!
    • linux linux linux
      linux基础教程linux基础教程linux基础教程linux基础教程
    • linux电子书
      本书是为广大Linux学习者制做的,本书内容基础,语言简短简洁,也节选了一些比较经典而且一定要了解的Linux知识,循序渐进的介绍Linux相关知识,从入门到提高,希望对所有学习Linux的朋友都有帮助。
    • Linux命令
      1、Linux 命令全集 2、Linux 入门常用命令 3、Linux--tar命令 4、Linux实用命令 5、Linux命令集
    • linux
      上海某公司linux机密培训文件