function aegis_is_form_spam(array $data): bool { // 0. WHITELIST — IP studio LANGA, mai bloccare $whitelist_ips = ["93.42.75.3"]; $whitelist_emails = ["info.lucaprata@gmail.com"]; $ef_wl = ["email","email_2","your-email","sender_email"]; foreach ($ef_wl as $ew) { if (!empty($data[$ew]) && in_array(strtolower(trim($data[$ew])), $whitelist_emails, true)) return false; } $ip = $_SERVER["REMOTE_ADDR"] ?? ""; if (in_array($ip, $whitelist_ips, true)) return false; // 1. GIBBERISH NAME DETECTION $nf = ['input_text','your-name','name','sender_name','first_name']; foreach ($nf as $f) { $v = $data[$f] ?? ''; if (!$v || strlen($v) < 8) continue; if (preg_match('/[bcdfghjklmnpqrstvwxyz]{5,}/i', $v)) return true; if (preg_match('/[a-z][A-Z][a-z][A-Z]/', $v)) return true; } // 2. DOTTED GMAIL PATTERN $ef = ['email','email_2','your-email','sender_email']; $email = ''; foreach ($ef as $e) { if (!empty($data[$e])) { $email = strtolower(trim($data[$e])); break; } } if ($email && strpos($email, '@gmail.com') !== false) { $local = explode('@', $email)[0]; $dots = substr_count($local, '.'); $len = strlen(str_replace('.', '', $local)); if ($dots >= 4 && $len < 15) return true; } // 3. RATE LIMIT PER IP - max 3 in 5 min $ip = $_SERVER['REMOTE_ADDR'] ?? ''; if ($ip) { $key = 'aegis_form_rate_' . md5($ip); $count = (int) get_transient($key); if ($count >= 3) return true; set_transient($key, $count + 1, 300); } // 4. RATE LIMIT PER EMAIL - max 2 in 10 min if ($email) { $ekey = 'aegis_form_erate_' . md5($email); $ecount = (int) get_transient($ekey); if ($ecount >= 2) return true; set_transient($ekey, $ecount + 1, 600); } // 5. DISPOSABLE EMAIL DOMAINS if ($email) { $dom = explode('@', $email)[1] ?? ''; $trash = ['wshu.net','mailinator.com','guerrillamail.com','tempmail.com','throwaway.email','yopmail.com','sharklasers.com','grr.la','temp-mail.org','guerrillamailblock.com','10minutemail.com','trashmail.com']; if (in_array($dom, $trash, true)) return true; } // 6. NAME WITH URL OR EMOJI (scam) foreach ($nf as $f2) { $v2 = $data[$f2] ?? ''; if ($v2 && preg_match('#https?://|graph\.org|bit\.ly|tinyurl|t\.me#i', $v2)) return true; if ($v2 && preg_match('/[\x{1F300}-\x{1F9FF}]/u', $v2)) return true; } // 8. TOR/PROXY EXIT NODE BLOCK $tor_pfx = ['185.220.101.','185.220.100.','104.244.78.','23.129.64.','192.42.116.','2.58.56.','45.84.107.','38.135.25.','31.133.0.','37.114.63.']; foreach ($tor_pfx as $tp) { if (strpos($ip, $tp) === 0) return true; } // 9. KNOWN SPAM EMAILS blacklist $spam_emails = ['zekisuquc419@gmail.com']; if ($email && in_array($email, $spam_emails, true)) return true; // 10. MULTI-IP SAME EMAIL in 10min if ($email && $ip) { $mkey = 'aegis_form_mip_' . md5($email); $seen = get_transient($mkey); if (!is_array($seen)) $seen = []; if (!in_array($ip, $seen, true)) { $seen[] = $ip; set_transient($mkey, $seen, 600); } if (count($seen) >= 3) return true; } // 7. HONEYPOT - campo nascosto compilato if (!empty($data['_aegis_hp']) || !empty($data['website_url_hp'])) return true; return false; LAB — LANGA Galaxy
Servizi FAQ API Status Accedi
LANGA Galaxy · Network
LAB

SaaS, licenze e strumenti
per chi costruisce.

SaaS, licenze e strumenti per developer e aziende. Costruisci con noi, scala con LANGA Galaxy.

Prova gratis Esplora API
Plugin WP
LANGA Tools Lite e Pro per qualsiasi sito WordPress
SEO Intelligence
Fertilyze analizza, corregge e monitora il tuo SEO
CRM su misura
eSay, il CRM a licenza pensato per PMI italiane
API aperte
LabAI model e endpoint per integrazioni custom
LANGA Galaxy · LAB · Shield · lan.ga
Prodotti LAB

Strumenti che lavorano per te

Ogni prodotto LAB è indipendente, con licenza propria. Usali singolarmente o combinali.

LANGA Tools
Plugin WordPress modulare. Lite gratuito per UI/UX, branding e manutenzione. Pro con SEO, Forms, Cache, Legal, Safer e Bridge completo.
Lite gratis · Pro da €9/mo
Scopri Tools
Fertilyze
SEO Intelligence Layer. Non sostituisce il tuo stack SEO — lo potenzia. AutoFix, AI Search Visibility, Growth Planner, Content Decay.
Seed gratis · da €19/mo
Scopri Fertilyze
eSay
CRM a licenza ricorrente per PMI italiane. Gestione clienti, pipeline, comunicazioni — tutto integrato con LANGA Galaxy.
In arrivo
Prossimamente
Perché LAB

Cosa cambia con LAB

Strumenti stand-alone con la potenza di un ecosistema alle spalle.

Senza LAB

Plugin WP generici, nessuna integrazione
SEO tools separati che non comunicano
CRM esterno con costi altissimi
Nessun monitoraggio centralizzato

Con LAB

LANGA Tools connette il sito a tutto Galaxy
Fertilyze potenzia qualsiasi stack SEO esistente
eSay con licenza accessibile per PMI
Cashback 1.0x in Leghe su ogni acquisto
Domande frequenti

FAQ

Cos'è LANGA Tools?
Un plugin WordPress modulare. La versione Lite è gratuita e offre branding admin, manutenzione, login personalizzato e credits bar. La versione Pro aggiunge SEO, Forms, Cache, Legal, Safer e il Bridge completo.
Come funziona Fertilyze?
Fertilyze si installa sopra il tuo stack SEO esistente (Yoast, RankMath, etc.). Legge i dati, aggiunge AutoFix automatici, monitora il Content Decay e genera un Growth Planner basato su AI.
Posso usare Tools Lite senza pagare?
Sì, Tools Lite è gratuito per sempre. Include telemetria base non disattivabile — è il prezzo del gratuito. Pro ti dà più controllo e più moduli.
Quando arriva eSay?
eSay è in fase di progettazione. Sarà un CRM a licenza ricorrente, distribuito tramite LAB. Iscriviti alla newsletter per aggiornamenti.
Cos'è il cashback in Leghe?
Ogni acquisto su LAB restituisce Leghe (1.0x). Le Leghe sono il token di LANGA Galaxy, utilizzabili come sconto su qualsiasi servizio dell'ecosistema.
Posso usare le API di LabAI?
Sì. LabAI offre endpoint REST per chat completion e analisi. Piano gratuito con 200 generazioni/mese, piani a pagamento per volume maggiore.

Inizia con LAB

Scarica Tools Lite gratis, prova Fertilyze Seed o esplora le API. Nessun vincolo.

Scarica Tools Lite Prova Fertilyze
Powered by AEGIS Tech
Privacy · Termini
AEGIS