资源简介
X-Scan-v2.3-cn.zip

代码片段和文件信息
/*****************************************************************
Filename : sample.cpp
Description : check xxxxxx vulnerable
Author : glacier
Update : 2002-07-09
Copyright (C) 2002 http://www.xfocus.org All Rights Reserved
*****************************************************************/
//-----------------------------------------------------------------
#include
#include
#include
#pragma comment(lib “ws2_32.lib“)
#define PLUGIN_PARAMS_1 1
#define VULN_MEMBER_NAME “Sample“
#define MAXLEN 256
/*
- AlertUser()
-
* Function:
* form of string output:
* “[szHostName]: find [szVulnName] vulmerabilities-[szLine]“
* when szVlunName==NULL form is as following:
* “[szHostName]: [szLine]“
*
* Parameters:
* IN szHostName - file name
* IN szVulnName - vulnerabilities name
* IN szLine - strings which will be inserted files
*
* Returned data:
* [nothing]
*
*/
typedef VOID (CALLBACK *PALERT_USER) (
char *szHostName
char *szVulnName
char *szLine);
/*
- LogToFile()
-
* Function:
* insert strings into LOG file and mark with “
“ automatically
* allow strings carrying other HTML sentinels
*
* Parameters:
* IN szLogFileName - LOG file name
* IN sLine - strings waiting to be inserted files
*
* Returned data:
* [nothing]
*
*/
typedef VOID (CALLBACK *PLOG_TO_FILE) (
char *szLogFileName
char *szLine);
/*
- AddToTreeView()
-
* Function:
* add nodes to TreeView in the window of X-Scan-GUI
*
* Parameters:
* IN szLine - complete path of nodes and the list separator
* should be “\n“ (for example “127.0.0.1\nPort\n80“)
* IN szImageFile - node ico file (size of this ico file must be 16*16
* .bmp type)
*
* Returned data
* [nothing]
*
*/
typedef VOID (CALLBACK *PADD_TO_TREEVIEW) (
char *szLine
char *szImageFile);
/* plug-in basic information */
typedef struct _PLUGIN_INFO {
char szClassName[50]; /* type of plug-in */
char szMemberName[50]; /* name of plug-in components */
char szVersion[10]; /* plug-in version */
char szFileName[50]; /* original file name of plug-in */
char szParamsRequest[50]; /* choose the parameterssuch as“-cgi“ */
char szPrompt[200]; /* explanation of parameter such as “-cgi: check HTTP vulnerability“ */
int nSingle; /* If it‘s the only vulnerability(the number of vulnerability can be 1 or 0 such as Netbios information) */
char szAuthorName[50]; /* Author of the plug-ins */
char szRisk[10]; /* vulnerability risk ranking */
char szDescription[300]; /* vulnerability description in plug-ins */
char szAdvic
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2002-09-23 15:01 dat\
文件 61028 2002-09-26 02:33 dat\cgi.lst
文件 14014 2001-11-25 03:08 dat\common_pass.dic
文件 1528 2001-10-22 02:33 dat\common_user.dic
文件 1596 2002-08-09 02:25 dat\config.bak
文件 1596 2002-09-29 02:48 dat\config.ini
文件 20 2001-11-25 03:09 dat\ftp_pass.dic
文件 35 2002-08-09 17:06 dat\ftp_user.dic
文件 23755 2002-09-29 02:48 dat\language.ini
文件 175 2002-07-05 05:21 dat\mail_pass.dic
文件 87 2001-11-11 10:56 dat\mail_user.dic
文件 115 2002-07-31 03:45 dat\notexists.htm
文件 175 2002-07-05 05:21 dat\nt_pass.dic
文件 76 2002-08-09 17:03 dat\nt_user.dic
文件 2321 2002-09-07 04:47 dat\os.finger
文件 19811 2002-08-07 00:01 dat\port.ini
文件 160 2002-07-12 03:38 dat\reg.lst
文件 3271 2002-09-12 23:40 dat\rpc.ini
文件 329 2002-07-09 14:47 dat\snmp_pass.dic
文件 198 2002-07-05 05:22 dat\sql_pass.dic
文件 44 2002-08-09 17:07 dat\sql_user.dic
文件 2433 2001-10-22 17:15 dat\telnet.ini
文件 1082818 2001-02-13 16:24 dat\wry.dll
目录 0 2002-09-28 02:22 images\
文件 824 2000-02-21 11:06 images\3com.bmp
文件 822 2001-09-10 11:14 images\alert.bmp
文件 824 2000-03-21 19:33 images\cgi.bmp
文件 246 2002-07-05 06:38 images\check.bmp
文件 824 2000-02-24 10:54 images\cisco.bmp
文件 246 2002-07-05 06:36 images\dns.bmp
文件 824 2001-01-03 02:15 images\file.bmp
............此处省略80个文件信息
- 上一篇:WLAN-MIMO微带天线阵列的研究与设计
- 下一篇:极限跳跃-源码
相关资源
- PID_AutoTune_v0.rar
- vspd7.2.308.zip
- 价值2k的H漫画小说系统
- Pythonamp;课堂amp;笔记(高淇amp;400;集第
- ddos压力测试工具99657
- UML建模大全
- 开源1A锂电池充电板TP4056原理图+PCB
- m1卡 ic卡可选择扇区初始化加密软件
- TSCC.exe
- FTP课程设计(服务端+客户端)
- 计算机图形学 边填充算法实现代码
- 电力系统潮流计算程序集合
- oracle数据迁移项目实施方案
- Web Api 通过文件流 文件到本地
- Visio图标-最新最全的网络通信图标库
- Spire API文档
- OpenGL参考手册
- Python中Numpy库最新教程
- SPD博士V5.3.exe
- 直流无刷电机方波驱动 stm32 例程代码
- layui后台管理模板
- 仿知乎界面小程序源代码
- 云平台-阿里云详细介绍
- photoshop经典1000例
- scratch垃圾分类源码(最终版本).sb
- IAR ARM 7.8破解
- TI CCS V5.4 安装步骤及破解文件
- 松下plc FP-XH的驱动
- 局域网硬件信息收集工具
- 加快Windows XP操作系统开机速度
评论
共有 条评论