ICode9

精准搜索请尝试: 精确搜索
  • Linux Rootkit技术2022-09-02 15:30:22

    一、介绍  Rootkit这一概念最早出现于上个世纪九十年代初期,CERT Coordination Center(CERT/CC)于1994年在CA-1994-01这篇安全咨询报告中使用了Rootkit这个词汇。在这之后Rootkit技术发展迅速,这种快速发展的态势在2000年达到了顶峰。2000年后,Rootkit技术的发展也进入了低潮期,但是

  • linux文件系统之获取目录信息总结2022-01-01 23:02:08

    List 文章目录 List获取文件目录信息DIR结构体目录信息结构体ino_t d_ino; /* inode number */off_t d_off; /* not an offset; see NOTES */unsigned short d_reclen; /* length of this record */unsigned char d_type; /* type of file; not supported */char d_name [N

  • Linux:遍历文件目录2021-10-20 19:03:27

    /** * 扫描一个目录 */ #include <dirent.h> #include <stdio.h> #include <string.h> #include <errno.h> static void list_files(const char *dir_path) { DIR *ptr_dir = NULL; struct dirent *ptr_dirent = NULL; ptr_dir = opendir(dir_pa

  • dirent.h使用详解2021-09-28 11:02:08

    Linux下遍历目录的方法,打开目录,读取目录,关闭目录 opendir -> readdir -> closedir 函数原型: #include <dirent.h> DIR *opendir(const char *dirname); struct dirent *readdir(DIR *dirp); int closedir(DIR *dirp); opendir用于打开目录,是类似于流的那种方式,返回一个指向D

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有