⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checkxdisplay.c

📁 非常高效的扫描器
💻 C
字号:
/* Check if a remote display allows us to open it... * if it does, return one, else return 0. * being open means we can sniff keystrokes, etc, etc.. */// this function iz kiddie proof.. if you kno a bit you can uncomment it// and edit the make script with the right include/lib paths.#include <stdio.h>#include <stdlib.h>#include <X11/Xlib.h>int checkXdisplay(char *ip){/*char buff[32], buff2[32];strcpy(buff, (ip - 2));strcat(buff, "\0");sprintf(buff2, "%s:0", ip);#ifdef DEBUGprintf("DEBUG: checkXdisplay: %s\n", ip);#endifif (XOpenDisplay(buff2) != NULL)return 1;*/return 0;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -