c3a3be2d |
/* |
2023340a |
* Copyright (C) 2007-2008 Sourcefire, Inc.
*
* Authors: Trog |
c3a3be2d |
*
* This program is free software; you can redistribute it and/or modify |
2023340a |
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. |
c3a3be2d |
*
* 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 |
48b7b4a7 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA. |
c3a3be2d |
*/
#ifndef __SPECIAL_H
#define __SPECIAL_H
|
be63d0ad |
#include "others.h" |
42d26ac9 |
struct swizz_stats { |
f27fab00 |
uint16_t gngrams[17576]; |
42d26ac9 |
uint32_t total;
uint32_t suspicious;
int has_version;
int has_manifest;
}; |
be63d0ad |
|
c3a3be2d |
int cli_check_mydoom_log(int desc, const char **virname); |
be63d0ad |
int cli_check_jpeg_exploit(int fd, cli_ctx *ctx); |
eb308794 |
int cli_check_riff_exploit(int fd); |
42d26ac9 |
void cli_detect_swizz_str(const unsigned char *str, uint32_t len, struct swizz_stats *stats, int blob);
int cli_detect_swizz(struct swizz_stats *stats); |
c3a3be2d |
#endif |