{# R53.2-R53.3 (Hani #1 2026-11-01): attacks per hosted account of every cPanel server, and their attackers with the same bulk and row actions as every other table of addresses. #} {% set HA = V.accounts %}

Hosted accounts {{ fresh_tag("security:hosted-accounts") }}

{% if not HA or not HA.servers %}

No cPanel server is connected. Add one with its WHM token under the server's Tools › cPanel; its accounts and the attacks on their websites then show here.

{% else %}

The accounts of {% for s in HA.servers %}{{ s.name }} ({{ s.accounts }}){{ ', ' if not loop.last }}{% endfor %} and the attacks on their websites: unknown pages, refusals and probes from the servers' domain logs. A site counts for the account whose domain it is or ends with; cPanel's own pages count for the server.

{% for r in HA.rows %}{% endfor %}
AccountServerSites attackedEventsProbesAnswered probesAttackersTop attackers
{% if r.own %}{{ r.account }}{% if r.domain %}
{{ r.domain }}{% endif %}{% if r.suspended %} suspended{% endif %}{% else %}{{ r.label }}{% endif %}
{{ r.server }}{{ r.sites|join(', ') if r.sites else '—' }}{{ r.events }}{% if r.probes %}{{ r.probes }}{% else %}0{% endif %} {% if r.answered %}{{ r.answered }}{% else %}0{% endif %} {% if r.attacker_count %}{{ r.attacker_count }}{% else %}0{% endif %} {% for h in r.top %}{{ h.address }} {{ h.n }}{% if not loop.last %}
{% endif %}{% else %}—{% endfor %}

{{ HA.rows|selectattr('own')|list|length }} accounts · All attackers of every account

{% if HA.account %}

Attackers of {{ 'every account' if HA.account == 'all' else (HA.chosen.account if HA.chosen and HA.chosen.own else (HA.chosen.label if HA.chosen else HA.account)) }}

{% set back = '/settings/security-events?tab=accounts&period=' ~ HA.period ~ '&account=' ~ HA.account %} {% if HA.attackers %}{% with bar_id='bulk-accounts' %}{% include "_address_bulk_bar.html" %}{% endwith %}

Block refuses the address on this Portal and sends it to the MikroTik routers and the servers' own firewalls kept up to date (Blocked addresses).

{% if HA.account == 'all' %}{% endif %} {% import "_ai_analysis.html" as ai with context %}{% set AIH = ai_analysis(HA.attackers|map(attribute='address')|list) %}{% for h in HA.attackers %}{% if HA.account == 'all' %}{% endif %} {% endfor %}
AddressCountryRequestsProbesSitesAccountsActions
{{ h.address }}{{ ai.inline(AIH.get(h.address), h.address) }}{{ (h.place|country) if h.place else '—' }}{{ h.n }}{% if h.probes %}{{ h.probes }}{% else %}0{% endif %} {{ h.sites|join(', ') }}{{ h.accounts|join(', ') }}{% with address=h.address %}{% include "_address_row_actions.html" %}{% endwith %}
{% with has_logs_dialog=True %}{% include "_address_shared_dialogs.html" %}{% endwith %} {% else %}

No attacker in this period.

{% endif %} {% endif %} {% endif %}