add company and person types to search form, fix CRO visibility, update platform count
This commit is contained in:
parent
e405df7a08
commit
ee84906f6d
2 changed files with 15 additions and 2 deletions
|
|
@ -95,4 +95,10 @@ class EntityValidator:
|
|||
validator = validators.get(entity_type)
|
||||
if validator and not validator(value):
|
||||
return False, value
|
||||
# COMPANY and PERSON accept free-text — just require non-empty
|
||||
if entity_type in (EntityType.COMPANY, EntityType.PERSON):
|
||||
v = value.strip()
|
||||
if not v:
|
||||
return False, value
|
||||
return True, v
|
||||
return True, cls.normalize(value, entity_type)
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
type="text"
|
||||
name="query"
|
||||
class="search-input"
|
||||
placeholder="Enter email, username, phone, IP address, or domain..."
|
||||
placeholder="Enter email, username, phone, IP, domain, or company name..."
|
||||
value="{{ query or '' }}"
|
||||
autofocus
|
||||
required
|
||||
|
|
@ -32,6 +32,8 @@
|
|||
<option value="phone">Phone Number</option>
|
||||
<option value="ip_address">IP Address</option>
|
||||
<option value="domain">Domain</option>
|
||||
<option value="company">Company</option>
|
||||
<option value="person">Person</option>
|
||||
</select>
|
||||
<button type="submit" class="btn btn-primary search-btn">
|
||||
Investigate
|
||||
|
|
@ -44,7 +46,7 @@
|
|||
<div class="card">
|
||||
<div class="card-icon">👤</div>
|
||||
<h3>Username Search</h3>
|
||||
<p>Scan 40+ platforms for matching profiles</p>
|
||||
<p>Scan 200+ platforms for matching profiles</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-icon">📧</div>
|
||||
|
|
@ -61,6 +63,11 @@
|
|||
<h3>IP/Domain Recon</h3>
|
||||
<p>WHOIS, GeoIP, DNS records, subdomain enumeration</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-icon">🏢</div>
|
||||
<h3>Irish CRO Lookup</h3>
|
||||
<p>Company registrations, directors, status via CRO open data</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if recent_investigations %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue