Exploit databaseDownload repository ZIP
GH-ea821316336f01071e5d83d15c2dd13b
opsxcq/exploit-cve-2017-7494
Sources for CVE-2017-7494
38 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files43
opsxcq/exploit-cve-2017-7494Revision 4d0bde4f1a7d
- ↑..Parent directory
- bench_pthreadpool.c
- cmd_vfs.c
- denytest.c
- locktest2.c
- mangle_test.c
- masktest.c
- msg_sink.c
- msg_source.c
- msgtest.c
- nbench.c
- nbio.c
- pdbtest.c
- proto.h
- rpc_open_tcp.c
- scanner.c
- test_addrchange.c
- test_async_echo.c
- test_authinfo_structs.c
- test_buffersize.c
- test_case_insensitive.c
- test_chain3.c
- test_cleanup.c
- test_dbwrap_ctdb.c
- test_dbwrap_watch.c
- test_idmap_tdb_common.c
- test_messaging_fd_passing.c
- test_messaging_read.c
- test_notify.c
- test_notify_online.c
- test_ntlm_auth.py
- test_nttrans_create.c
- test_nttrans_fsctl.c
- test_oplock_cancel.c
- test_posix_append.c
- test_smb2.c
- test_smbsock_any_connect.c
- torture.c
- utable.c
- vfstest.c
- vfstest.h
- vfstest_chain.c
- wbc_async.c
- wbc_async.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/source3/torture/vfstest.h
Text · 1,514 bytes/*
Unix SMB/CIFS implementation.
VFS module tester
Copyright (C) Simo Sorce 2002
Copyright (C) Eric Lorimer 2002
Most of this code was ripped off of rpcclient.
Copyright (C) Tim Potter 2000-2001
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 3 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, see <http://www.gnu.org/licenses/>.
*/
struct func_entry {
char *name;
int (*fn)(struct connection_struct *conn, const char *path);
};
struct vfs_state {
struct connection_struct *conn;
uint64_t mid;
struct files_struct *files[1024];
DIR *currentdir;
void *data;
size_t data_size;
};
struct smb_request *vfstest_get_smbreq(TALLOC_CTX *mem_ctx,
struct vfs_state *vfs);
struct cmd_set {
const char *name;
NTSTATUS (*fn)(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc,
const char **argv);
const char *description;
const char *usage;
};
NTSTATUS cmd_test_chain(struct vfs_state *vfs, TALLOC_CTX *mem_ctx,
int argc, const char **argv);