Exploit databaseDownload repository ZIP
GH-1917e82ea4e17d91152ad921475048a4
automateforceai/cve-2018-0202
Sources for CVE-2018-0202
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files566
automateforceai/cve-2018-0202Revision 9964c381baf5
- ↑..Parent directory
- .deps/
- .libs/
- 7z/
- c++/
- jsparse/
- nsis/
- regex/
- tomsfastmath/
- 7z_iface.c
- 7z_iface.h
- Makefile
- Makefile.am
- Makefile.in
- adc.c
- adc.h
- apm.c
- apm.h
- arc4.c
- arc4.h
- asn1.c
- asn1.h
- aspack.c
- aspack.h
- autoit.c
- autoit.h
- bcfeatures.h
- bignum.h
- bignum_fast.h
- binhex.c
- binhex.h
- blob.c
- blob.h
- builtin_bytecodes.h
- bytecode.c
- bytecode.h
- bytecode_api.c
- bytecode_api.h
- bytecode_api_decl.c
- bytecode_api_impl.h
- bytecode_detect.c
- bytecode_detect.h
- bytecode_hooks.h
- bytecode_nojit.c
- bytecode_priv.h
- bytecode_vm.c
- cab.c
- cab.h
- cache.c
- cache.h
- chmunpack.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
clamav-0.99.3/libclamav/phishcheck.h
Text · 2,388 bytes/*
* Copyright (C) 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2008 Sourcefire, Inc.
*
* Authors: Török Edvin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
#ifndef _PHISH_CHECK_H
#define _PHISH_CHECK_H
#include "regex/regex.h"
#include "htmlnorm.h"
#define CL_PHISH_BASE 100
enum phish_status {CL_PHISH_NODECISION=0, CL_PHISH_CLEAN=CL_PHISH_BASE,
CL_PHISH_CLOAKED_UIU, CL_PHISH_NUMERIC_IP, CL_PHISH_HEX_URL, CL_PHISH_CLOAKED_NULL, CL_PHISH_SSL_SPOOF, CL_PHISH_NOMATCH,
CL_PHISH_HASH0, CL_PHISH_HASH1, CL_PHISH_HASH2};
#define CHECK_SSL 1
#define CHECK_CLOAKING 2
#define CLEANUP_URL 4
#define CHECK_IMG_URL 8
#define LINKTYPE_IMAGE 1
#define CL_PHISH_ALL_CHECKS (CLEANUP_URL|CHECK_SSL|CHECK_CLOAKING|CHECK_IMG_URL)
struct string {
struct string* ref;
char* data;
int refcount;
};
struct phishcheck {
regex_t preg_numeric;
int is_disabled;
};
struct pre_fixup_info {
/* pre_* url before fixup_spaces */
struct string pre_displayLink;
size_t host_start;
size_t host_end;
};
struct url_check {
struct string realLink;
struct string displayLink;
struct pre_fixup_info pre_fixup;
unsigned short flags;
unsigned short always_check_flags;
unsigned short link_type;
};
int phishingScan(cli_ctx* ctx,tag_arguments_t* hrefs);
void phish_disable(struct cl_engine* engine,const char* reason);
/* Global, non-thread-safe functions, call only once! */
int phishing_init(struct cl_engine* engine);
void phishing_done(struct cl_engine* engine);
int cli_url_canon(const char *inurl, size_t len, char *urlbuff, size_t dest_len, char **host, size_t *hostlen, const char **path, size_t *pathlen);
/* end of non-thread-safe functions */
#endif