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 files65
opsxcq/exploit-cve-2017-7494Revision 4d0bde4f1a7d
- ↑..Parent directory
- MacExtensions.h
- ads.h
- adt_tree.h
- async_smb.h
- auth.h
- auth_generic.h
- auth_info.h
- client.h
- ctdb_srvids.h
- ctdbd_conn.h
- debugparse.h
- fake_file.h
- g_lock.h
- idmap.h
- idmap_autorid_tdb.h
- includes.h
- intl.h
- krb5_env.h
- libsmb_internal.h
- libsmbclient.h
- local.h
- locking.h
- lsa.h
- mangle.h
- messages.h
- msdfs.h
- nameserv.h
- nss_info.h
- nt_printing.h
- ntdomain.h
- ntioctl.h
- ntquotas.h
- passdb.h
- popt_common.h
- printing.h
- proto.h
- registry.h
- rpc_dce.h
- rpc_misc.h
- safe_string.h
- secrets.h
- serverid.h
- session.h
- smb.h
- smb_acls.h
- smb_krb5.h
- smb_ldap.h
- smb_macros.h
- smb_perfcount.h
- smb_share_modes.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/source3/include/idmap.h
Text · 1,936 bytes#ifndef _IDMAP_H_
#define _IDMAP_H_
/*
Unix SMB/CIFS implementation.
Idmap headers
Copyright (C) Jim McDonough <[email protected]> 2003
Copyright (C) Simo Sorce 2003
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/* The interface version specifier.
Updated to 3 for enum types by JRA. */
/* Updated to 4, completely new interface, SSS */
/* Updated to 5, simplified interface by Volker */
#define SMB_IDMAP_INTERFACE_VERSION 5
#include "librpc/gen_ndr/idmap.h"
struct idmap_domain {
const char *name;
struct idmap_methods *methods;
uint32_t low_id;
uint32_t high_id;
bool read_only;
void *private_data;
};
/* Filled out by IDMAP backends */
struct idmap_methods {
/* Called when backend is first loaded */
NTSTATUS (*init)(struct idmap_domain *dom);
/* Map an array of uids/gids to SIDs. The caller specifies
the uid/gid and type. Gets back the SID. */
NTSTATUS (*unixids_to_sids)(struct idmap_domain *dom, struct id_map **ids);
/* Map an arry of SIDs to uids/gids. The caller sets the SID
and type and gets back a uid or gid. */
NTSTATUS (*sids_to_unixids)(struct idmap_domain *dom, struct id_map **ids);
/* Allocate a Unix-ID. */
NTSTATUS (*allocate_id)(struct idmap_domain *dom, struct unixid *id);
};
#include "winbindd/idmap_proto.h"
#endif /* _IDMAP_H_ */