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

📄 ftp_client.h

📁 Snort为国际上著名的轻量型入侵防御系统,为国内多家著名“自主知识产权”网络安全公司所使用。
💻 H
字号:
/* * ftp_client.h *  * Copyright (C) 2004 Sourcefire,Inc * Steven A. Sturges <ssturges@sourcefire.com> * Daniel J. Roelker <droelker@sourcefire.com> * Marc A. Norton <mnorton@sourcefire.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * Description: * * Header file for FTPTelnet FTP Client Module *  * This file defines the client reqest structure and functions * to access client inspection. *  * NOTES: * - 16.09.04:  Initial Development.  SAS * */#ifndef __FTP_CLIENT_H__#define __FTP_CLIENT_H__#ifdef HAVE_CONFIG_H#include "config.h"#endif#include <sys/types.h>#include "ftpp_include.h"typedef struct s_FTP_CLIENT_REQ{    char *cmd_line;    unsigned int  cmd_line_size;    char *cmd_begin;    char *cmd_end;    unsigned int  cmd_size;    char *param_begin;    char *param_end;    unsigned int param_size;    char *pipeline_req;}  FTP_CLIENT_REQ;typedef struct s_FTP_CLIENT{    FTP_CLIENT_REQ request;    int (*state)(void *, unsigned char, int);}  FTP_CLIENT;int ftp_client_inspection(void *Session, unsigned char *data, int dsize);int ftp_client_init(FTPTELNET_GLOBAL_CONF *GlobalConf);#endif 

⌨️ 快捷键说明

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