Files
cedry2k1992andClaude Sonnet 5 873699e23e Initial commit: Laravel OSINT platform
Multi-user OSINT investigation tool with owner-controlled per-user and
per-group access grants. Includes Sherlock, theHarvester, crt.sh, WHOIS,
and ip-api.com collectors wired through a pluggable Runner/queue pipeline,
investigation search, and printable/CSV/JSON reporting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 10:22:05 +03:00

52 lines
2.9 KiB
PHP

<x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">
{{ __('Search') }}
</h2>
</x-slot>
<div class="py-12">
<div class="max-w-5xl mx-auto sm:px-6 lg:px-8 space-y-6">
<div class="bg-white dark:bg-gray-800 shadow-sm sm:rounded-lg p-6">
<form method="GET" action="{{ route('search.index') }}" class="flex items-end gap-3">
<div class="flex-1">
<x-input-label for="q" :value="__('Search investigations and targets')" />
<x-text-input id="q" name="q" type="text" class="mt-1 block w-full" :value="$query" autofocus placeholder="e.g. a username, domain, or investigation name" />
</div>
<x-primary-button type="submit">{{ __('Search') }}</x-primary-button>
</form>
</div>
@if ($query !== '')
<div class="bg-white dark:bg-gray-800 shadow-sm sm:rounded-lg p-6">
<h3 class="font-semibold text-gray-800 dark:text-gray-200 mb-4">
{{ __('Investigations') }} ({{ $investigations->count() }})
</h3>
@forelse ($investigations as $investigation)
<a href="{{ route('investigations.show', $investigation) }}" class="block py-2 border-t border-gray-200 dark:border-gray-700 first:border-t-0 hover:underline">
{{ $investigation->name }}
</a>
@empty
<p class="text-sm text-gray-500 dark:text-gray-400">{{ __('No matching investigations.') }}</p>
@endforelse
</div>
<div class="bg-white dark:bg-gray-800 shadow-sm sm:rounded-lg p-6">
<h3 class="font-semibold text-gray-800 dark:text-gray-200 mb-4">
{{ __('Targets') }} ({{ $targets->count() }})
</h3>
@forelse ($targets as $target)
<a href="{{ route('investigations.show', $target->investigation) }}" class="block py-2 border-t border-gray-200 dark:border-gray-700 first:border-t-0 hover:underline">
<span class="text-xs uppercase tracking-wide text-gray-500 dark:text-gray-400">{{ $target->type }}</span>
<span class="font-medium text-gray-900 dark:text-gray-100">{{ $target->value }}</span>
<span class="text-sm text-gray-500 dark:text-gray-400">&mdash; {{ $target->investigation->name }}</span>
</a>
@empty
<p class="text-sm text-gray-500 dark:text-gray-400">{{ __('No matching targets.') }}</p>
@endforelse
</div>
@endif
</div>
</div>
</x-app-layout>