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 files110
opsxcq/exploit-cve-2017-7494Revision 4d0bde4f1a7d
- ↑..Parent directory
- idmap_hash/
- idmap.c
- idmap_ad.c
- idmap_ad_nss.c
- idmap_autorid.c
- idmap_autorid_tdb.c
- idmap_ldap.c
- idmap_nss.c
- idmap_passdb.c
- idmap_proto.h
- idmap_rfc2307.c
- idmap_rid.c
- idmap_rw.c
- idmap_rw.h
- idmap_script.c
- idmap_tdb.c
- idmap_tdb2.c
- idmap_tdb_common.c
- idmap_tdb_common.h
- idmap_util.c
- nss_info.c
- nss_info_template.c
- wb_dsgetdcname.c
- wb_fill_pwent.c
- wb_getgrsid.c
- wb_getpwsid.c
- wb_gettoken.c
- wb_group_members.c
- wb_lookupname.c
- wb_lookupsid.c
- wb_lookupsids.c
- wb_lookupuseraliases.c
- wb_lookupusergroups.c
- wb_next_grent.c
- wb_next_pwent.c
- wb_ping.c
- wb_query_group_list.c
- wb_query_user_list.c
- wb_queryuser.c
- wb_seqnum.c
- wb_seqnums.c
- wb_sids2xids.c
- wb_xids2sids.c
- winbindd.c
- winbindd.h
- winbindd_ads.c
- winbindd_allocate_gid.c
- winbindd_allocate_uid.c
- winbindd_async.c
- winbindd_cache.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/source3/winbindd/winbindd_rpc.h
Text · 4,598 bytes/*
* Unix SMB/CIFS implementation.
*
* Winbind rpc backend functions
*
* Copyright (c) 2000-2003 Tim Potter
* Copyright (c) 2001 Andrew Tridgell
* Copyright (c) 2005 Volker Lendecke
* Copyright (c) 2008 Guenther Deschner (pidl conversion)
* Copyright (c) 2010 Andreas Schneider <[email protected]>
*
* 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/>.
*/
#ifndef _WINBINDD_RPC_H_
#define _WINBINDD_RPC_H_
/* Query display info for a domain */
NTSTATUS rpc_query_user_list(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *samr_pipe,
struct policy_handle *samr_policy,
const struct dom_sid *domain_sid,
uint32_t *pnum_info,
struct wbint_userinfo **pinfo);
NTSTATUS rpc_enum_dom_groups(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *samr_pipe,
struct policy_handle *sam_policy,
uint32_t *pnum_info,
struct wb_acct_info **pinfo);
/* List all domain groups */
NTSTATUS rpc_enum_local_groups(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *samr_pipe,
struct policy_handle *samr_policy,
uint32_t *pnum_info,
struct wb_acct_info **pinfo);
/* Convert a single name to a sid in a domain */
NTSTATUS rpc_name_to_sid(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *lsa_pipe,
struct policy_handle *lsa_policy,
const char *domain_name,
const char *name,
uint32_t flags,
struct dom_sid *psid,
enum lsa_SidType *ptype);
/* Convert a domain SID to a user or group name */
NTSTATUS rpc_sid_to_name(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *lsa_pipe,
struct policy_handle *lsa_policy,
struct winbindd_domain *domain,
const struct dom_sid *sid,
char **pdomain_name,
char **pname,
enum lsa_SidType *ptype);
/* Convert a bunch of rids to user or group names */
NTSTATUS rpc_rids_to_names(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *lsa_pipe,
struct policy_handle *lsa_policy,
struct winbindd_domain *domain,
const struct dom_sid *sid,
uint32_t *rids,
size_t num_rids,
char **pdomain_name,
char ***pnames,
enum lsa_SidType **ptypes);
/* Lookup user information from a rid or username. */
NTSTATUS rpc_query_user(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *samr_pipe,
struct policy_handle *samr_policy,
const struct dom_sid *domain_sid,
const struct dom_sid *user_sid,
struct wbint_userinfo *user_info);
/* Lookup groups a user is a member of. */
NTSTATUS rpc_lookup_usergroups(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *samr_pipe,
struct policy_handle *samr_policy,
const struct dom_sid *domain_sid,
const struct dom_sid *user_sid,
uint32_t *pnum_groups,
struct dom_sid **puser_grpsids);
NTSTATUS rpc_lookup_useraliases(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *samr_pipe,
struct policy_handle *samr_policy,
uint32_t num_sids,
const struct dom_sid *sids,
uint32_t *pnum_aliases,
uint32_t **palias_rids);
/* Lookup group membership given a rid. */
NTSTATUS rpc_lookup_groupmem(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *samr_pipe,
struct policy_handle *samr_policy,
const char *domain_name,
const struct dom_sid *domain_sid,
const struct dom_sid *group_sid,
enum lsa_SidType type,
uint32_t *pnum_names,
struct dom_sid **psid_mem,
char ***pnames,
uint32_t **pname_types);
/* Find the sequence number for a domain */
NTSTATUS rpc_sequence_number(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *samr_pipe,
struct policy_handle *samr_policy,
const char *domain_name,
uint32_t *pseq);
/* Get a list of trusted domains */
NTSTATUS rpc_trusted_domains(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *lsa_pipe,
struct policy_handle *lsa_policy,
uint32_t *pnum_trusts,
struct netr_DomainTrust **ptrusts);
#endif /* _WINBINDD_RPC_H_ */