cyber / README.md
stellababy2004's picture
промених индекса сега ще ти дам да оправиш и другите файлове etch('openphish.txt') <<<<<<< HEAD .then(r => r.ok ? r.text() : Promise.reject()) .then(text => { window.phishList = text.split('\n').map(u=>u.trim()).filter(Boolean); }) .catch(() => { document.getElementById('phishing-result').innerText = '⚠️ Unable to load list'; document.getElementById('url').disabled = true; }); ======= .then(res => { if (!res.ok) throw new Error('List not found'); return res.text(); }) >>>>>>> bca74ca78fd15384b1f9ff7d21bb805b35f6e0f3 document.getElementById('phishing-form').addEventListener('submit', async e => { e.preventDefault(); const url = document.getElementById('url').value; const norm = url.replace(/^https?:\/\//,'').replace(/\/$/,'').toLowerCase(); const isPhish = window.phishList.includes(norm); const resEl = document.getElementById('phishing-result'); if (isPhish) { resEl.innerText = '⚠️ Dangerous/phishing site!'; resEl.style.color = 'red'; } else { resEl.innerText = '✅ Site appears safe.'; resEl.style.color = 'lime'; } }); - Initial Deployment
b53ac60 verified
---
title: cyber
emoji: 🐳
colorFrom: red
colorTo: green
sdk: static
pinned: false
tags:
- deepsite
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference