@php $http = $d['http'] ?? null; $html = $http['html'] ?? null; @endphp

Overview

@if ($a->type === 'url')
URL
{{ $a->subject }}
@endif
Host
{{ $d['host'] ?? $a->subject }}
@if (! empty($d['registrable_domain']) && $d['registrable_domain'] !== ($d['host'] ?? null))
Domain
{{ $d['registrable_domain'] }}
@endif @if (! empty($d['reverse_dns']))
Reverse DNS
{{ $d['reverse_dns'] }}
@endif
@if ($http)

What the page returned

@if (empty($http['fetched']))

{{ $http['error'] }}

@else
Final URL
{{ $http['final_url'] }}
Status
{{ $http['status'] }}
Served from
{{ $http['served_from_ip'] }}
Content type
{{ $http['content_type'] ?: '?' }}
Body SHA-256
{{ $http['content_sha256'] }}
@if ($html)
Page title
{{ $html['title'] ?? '(none)' }}
Password fields
{{ $html['password_fields'] }}
Links
{{ $html['link_count'] }}
@endif @if (! empty($http['download']))
Download
{{ $http['download']['looks_like'] }}
@endif @foreach (($http['headers'] ?? []) as $k => $v)
{{ $k }}
{{ \Illuminate\Support\Str::limit($v, 200) }}
@endforeach
@endif
@if (count($http['redirect_chain'] ?? []) > 1)

Redirect chain

    @foreach ($http['redirect_chain'] as $hop)
  1. {{ $hop['url'] }} → {{ $hop['status'] }}
  2. @endforeach
@endif @if ($html && $html['forms'])

Forms on the page

@foreach ($html['forms'] as $f)@endforeach
Submits toMethodPasswordOther site
{{ $f['action'] }}{{ $f['method'] }}{{ $f['password_field'] ? 'Yes' : 'No' }}{{ $f['posts_offsite'] ? 'Yes' : 'No' }}
@endif @if ($html && ($html['external_hosts'] || $html['scripts']))
@if ($html['scripts'])

Scripts loaded

@endif @if ($html['external_hosts'])

Other sites linked

@endif
@endif @endif @if (! empty($d['certificate'])) @php $c = $d['certificate']; @endphp

TLS certificate

Issued to
{{ $c['subject'] }}
Issued by
{{ $c['issuer'] }}
Valid
{{ \Carbon\Carbon::parse($c['valid_from'])->format('j M Y') }} to {{ \Carbon\Carbon::parse($c['valid_to'])->format('j M Y') }}{{ $c['expired'] ? ' (expired)' : '' }}
Matches host
{{ $c['hostname_matches'] ? 'Yes' : 'No' }}{{ $c['self_signed'] ? ', self-signed' : '' }}
@if ($c['san'])
Also covers
{{ implode(', ', array_slice($c['san'], 0, 12)) }}
@endif
@endif @if (! empty($d['whois'])) @php $w = $d['whois']; @endphp

Domain registration

Registrar
{{ $w['registrar'] ?? '?' }}
Registered
{{ $w['created'] ? \Carbon\Carbon::parse($w['created'])->format('j M Y') : '?' }}@isset($w['age_days']) ({{ number_format($w['age_days']) }} days ago)@endisset
Expires
{{ $w['expires'] ? \Carbon\Carbon::parse($w['expires'])->format('j M Y') : '?' }}
@if ($w['nameservers'])
Name servers
{{ implode(', ', $w['nameservers']) }}
@endif @if ($w['status'])
Status
{{ implode(', ', $w['status']) }}
@endif
@endif @foreach (['hosting' => 'Hosting network', 'ip_whois' => 'Network owner'] as $k => $title) @if (! empty($d[$k]))

{{ $title }}

Network
{{ $d[$k]['network'] ?? '?' }}
Organisation
{{ $d[$k]['organization'] ?? '?' }}
Range
{{ $d[$k]['cidr'] ?? $d[$k]['range'] ?? '?' }}
Country
{{ $d[$k]['country'] ?? '?' }}
@endif @endforeach @foreach (['dns' => 'DNS records', 'domain_dns' => 'DNS records for '.($d['registrable_domain'] ?? '')] as $k => $title) @if (! empty($d[$k]))

{{ $title }}

@foreach ($d[$k] as $type => $vals)
{{ $type }}
@foreach ($vals as $v){{ $v }}
@endforeach
@endforeach
@endif @endforeach