Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 3.144.40.90
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
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 /
src /
xtables-addons-2.12 /
extensions /
[ HOME SHELL ]
Name
Size
Permission
Action
ACCOUNT
[ DIR ]
drwxr-xr-x
pknock
[ DIR ]
drwxr-xr-x
Kbuild
1020
B
-rw-r--r--
Makefile
14.31
KB
-rw-r--r--
Makefile.am
910
B
-rw-r--r--
Makefile.in
13.55
KB
-rw-r--r--
Mbuild
989
B
-rw-r--r--
compat_skbuff.h
325
B
-rw-r--r--
compat_user.h
262
B
-rw-r--r--
compat_xtables.c
1.18
KB
-rw-r--r--
compat_xtables.h
2.52
KB
-rw-r--r--
compat_xtnu.h
1.97
KB
-rw-r--r--
libxt_CHAOS.c
2.56
KB
-rw-r--r--
libxt_CHAOS.man
1
KB
-rw-r--r--
libxt_DELUDE.c
1.11
KB
-rw-r--r--
libxt_DELUDE.man
286
B
-rw-r--r--
libxt_DHCPMAC.c
2.55
KB
-rw-r--r--
libxt_DHCPMAC.man
1.2
KB
-rw-r--r--
libxt_DNETMAP.c
6.62
KB
-rw-r--r--
libxt_DNETMAP.man
7.71
KB
-rw-r--r--
libxt_ECHO.c
1.03
KB
-rw-r--r--
libxt_ECHO.man
141
B
-rw-r--r--
libxt_IPMARK.c
4.71
KB
-rw-r--r--
libxt_IPMARK.man
1.99
KB
-rw-r--r--
libxt_LOGMARK.c
3.27
KB
-rw-r--r--
libxt_LOGMARK.man
312
B
-rw-r--r--
libxt_SYSRQ.c
844
B
-rw-r--r--
libxt_SYSRQ.man
3.67
KB
-rw-r--r--
libxt_TARPIT.c
2.75
KB
-rw-r--r--
libxt_TARPIT.man
2.55
KB
-rw-r--r--
libxt_condition.c
2.5
KB
-rw-r--r--
libxt_condition.man
175
B
-rw-r--r--
libxt_dhcpmac.c
2.52
KB
-rw-r--r--
libxt_dhcpmac.man
207
B
-rw-r--r--
libxt_fuzzy.c
3.37
KB
-rw-r--r--
libxt_fuzzy.man
263
B
-rw-r--r--
libxt_geoip.c
8.21
KB
-rw-r--r--
libxt_geoip.man
1
KB
-rw-r--r--
libxt_gradm.c
2.3
KB
-rw-r--r--
libxt_gradm.man
225
B
-rw-r--r--
libxt_iface.c
7.21
KB
-rw-r--r--
libxt_iface.man
1.39
KB
-rw-r--r--
libxt_ipp2p.c
7.36
KB
-rw-r--r--
libxt_ipp2p.man
1.52
KB
-rw-r--r--
libxt_ipv4options.c
4.32
KB
-rw-r--r--
libxt_ipv4options.man
1.44
KB
-rw-r--r--
libxt_length2.c
4.69
KB
-rw-r--r--
libxt_length2.man
695
B
-rw-r--r--
libxt_lscan.c
2.64
KB
-rw-r--r--
libxt_lscan.man
1.58
KB
-rw-r--r--
libxt_psd.c
5.34
KB
-rw-r--r--
libxt_psd.man
720
B
-rw-r--r--
libxt_quota2.c
4.06
KB
-rw-r--r--
libxt_quota2.man
1.6
KB
-rw-r--r--
mac.c
572
B
-rw-r--r--
xt_CHAOS.c
6.29
KB
-rw-r--r--
xt_CHAOS.h
249
B
-rw-r--r--
xt_DELUDE.c
4.96
KB
-rw-r--r--
xt_DHCPMAC.c
4.18
KB
-rw-r--r--
xt_DHCPMAC.h
311
B
-rw-r--r--
xt_DNETMAP.c
25.22
KB
-rw-r--r--
xt_DNETMAP.h
402
B
-rw-r--r--
xt_ECHO.c
6.98
KB
-rw-r--r--
xt_IPMARK.c
2.75
KB
-rw-r--r--
xt_IPMARK.h
252
B
-rw-r--r--
xt_LOGMARK.c
3.96
KB
-rw-r--r--
xt_LOGMARK.h
209
B
-rw-r--r--
xt_SYSRQ.c
9.75
KB
-rw-r--r--
xt_TARPIT.c
14.94
KB
-rw-r--r--
xt_TARPIT.h
258
B
-rw-r--r--
xt_condition.c
6.75
KB
-rw-r--r--
xt_condition.h
276
B
-rw-r--r--
xt_fuzzy.c
4.65
KB
-rw-r--r--
xt_fuzzy.h
397
B
-rw-r--r--
xt_geoip.c
8.73
KB
-rw-r--r--
xt_geoip.h
1.34
KB
-rw-r--r--
xt_gradm.h
108
B
-rw-r--r--
xt_iface.c
3.32
KB
-rw-r--r--
xt_iface.h
596
B
-rw-r--r--
xt_ipp2p.c
23.63
KB
-rw-r--r--
xt_ipp2p.h
995
B
-rw-r--r--
xt_ipv4options.c
1.96
KB
-rw-r--r--
xt_ipv4options.h
581
B
-rw-r--r--
xt_length2.c
6.99
KB
-rw-r--r--
xt_length2.h
457
B
-rw-r--r--
xt_lscan.c
7.85
KB
-rw-r--r--
xt_lscan.h
200
B
-rw-r--r--
xt_psd.c
14.2
KB
-rw-r--r--
xt_psd.h
792
B
-rw-r--r--
xt_quota2.c
9
KB
-rw-r--r--
xt_quota2.h
478
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : libxt_length2.c
#include <getopt.h> #include <netdb.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <xtables.h> #include "xt_length2.h" #include "compat_user.h" enum { F_LAYER = 1 << 0, F_LENGTH = 1 << 1, XT_LENGTH_LAYER_MASK = XT_LENGTH_LAYER3 | XT_LENGTH_LAYER4 | XT_LENGTH_LAYER5 | XT_LENGTH_LAYER7, }; static void length_mt_help(void) { printf( "length match options:\n" " --layer3 Match against layer3 size (e.g. L4 + IPv6 header)\n" " --layer4 Match against layer4 size (e.g. L5 + SCTP header)\n" " --layer5 Match against layer5 size (e.g. L7 + chunk headers)\n" " --layer7 Match against layer7 payload (e.g. SCTP payload)\n" "[!] --length n[:n] Match packet length against value or range\n" " of values (inclusive)\n" ); } static const struct option length_mt_opts[] = { {.name = "layer3", .has_arg = false, .val = '3'}, {.name = "layer4", .has_arg = false, .val = '4'}, {.name = "layer5", .has_arg = false, .val = '5'}, {.name = "layer7", .has_arg = false, .val = '7'}, {.name = "length", .has_arg = true, .val = '='}, {NULL}, }; static void length_mt_init(struct xt_entry_match *match) { struct xt_length_mtinfo2 *info = (void *)match->data; info->flags = XT_LENGTH_LAYER3; } static int length_mt_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) { struct xt_length_mtinfo2 *info = (void *)(*match)->data; unsigned int from, to; char *end; switch (c) { case '3': /* --layer3 */ xtables_param_act(XTF_ONLY_ONCE, "length", "--layer*", *flags & F_LAYER); info->flags &= ~XT_LENGTH_LAYER_MASK; info->flags |= XT_LENGTH_LAYER3; *flags |= F_LAYER; return true; case '4': /* --layer4 */ xtables_param_act(XTF_ONLY_ONCE, "length", "--layer*", *flags & F_LAYER); info->flags &= ~XT_LENGTH_LAYER_MASK; info->flags |= XT_LENGTH_LAYER4; *flags |= F_LAYER; return true; case '5': /* --layer5 */ xtables_param_act(XTF_ONLY_ONCE, "length", "--layer*", *flags & F_LAYER); info->flags &= ~XT_LENGTH_LAYER_MASK; info->flags |= XT_LENGTH_LAYER5; *flags |= F_LAYER; return true; case '7': /* --layer7 */ xtables_param_act(XTF_ONLY_ONCE, "length", "--layer*", *flags & F_LAYER); info->flags &= ~XT_LENGTH_LAYER_MASK; info->flags |= XT_LENGTH_LAYER7; *flags |= F_LAYER; return true; case '=': /* --length */ xtables_param_act(XTF_ONLY_ONCE, "length", "--length", *flags & F_LENGTH); if (invert) info->flags |= XT_LENGTH_INVERT; if (!xtables_strtoui(optarg, &end, &from, 0, ~0U)) xtables_param_act(XTF_BAD_VALUE, "length", "--length", optarg); to = from; if (*end == ':') if (!xtables_strtoui(end + 1, &end, &to, 0, ~0U)) xtables_param_act(XTF_BAD_VALUE, "length", "--length", optarg); if (*end != '\0') xtables_param_act(XTF_BAD_VALUE, "length", "--length", optarg); info->min = from; info->max = to; *flags |= F_LENGTH; return true; } return false; } static void length_mt_check(unsigned int flags) { if (!(flags & F_LENGTH)) xtables_error(PARAMETER_PROBLEM, "length: You must specify \"--length\""); if (!(flags & F_LAYER)) fprintf(stderr, "iptables: length match: Defaulting to " "--layer3. Consider specifying it explicitly.\n"); } static void length_mt_save(const void *ip, const struct xt_entry_match *match) { const struct xt_length_mtinfo2 *info = (const void *)match->data; if (info->flags & XT_LENGTH_LAYER3) printf(" --layer3 "); else if (info->flags & XT_LENGTH_LAYER4) printf(" --layer4 "); else if (info->flags & XT_LENGTH_LAYER5) printf(" --layer5 "); else if (info->flags & XT_LENGTH_LAYER7) printf(" --layer7 "); if (info->flags & XT_LENGTH_INVERT) printf(" !"); printf(" --length "); if (info->min == info->max) printf("%u ", (unsigned int)info->min); else printf("%u:%u ", (unsigned int)info->min, (unsigned int)info->max); } static void length_mt_print(const void *ip, const struct xt_entry_match *match, int numeric) { printf(" -m length2"); length_mt_save(ip, match); } static struct xtables_match length2_mt_reg = { .version = XTABLES_VERSION, .name = "length2", .revision = 2, .family = NFPROTO_UNSPEC, .size = XT_ALIGN(sizeof(struct xt_length_mtinfo2)), .userspacesize = XT_ALIGN(sizeof(struct xt_length_mtinfo2)), .init = length_mt_init, .help = length_mt_help, .parse = length_mt_parse, .final_check = length_mt_check, .print = length_mt_print, .save = length_mt_save, .extra_opts = length_mt_opts, }; static void _init(void) { xtables_register_match(&length2_mt_reg); }
Close