PHP-da aks ettirilgan XSS hujumlariga moyil bo'lgan zaif kodning misoli: BASH `` $name = $_GET['name']; echo "Salom, ". $name; ``` Ushbu misolda `$name` o'zgaruvchisi to'g'ridan-to'g'ri URL-ning so'rovlar qatoridan olinadi va foydalanuvchi kiritgan ma'lumotni hech qanday tasdiq yoki sanitariyalashsiz aks ettiradi. Hujumkor ``name `` parametrida zararli yuklangan URL-ni yaratishi mumkin, masalan: PHP ``` http://example.com/?name=<script>alert('XSS Attack')</script> ``` ` ` Qurbon ushbu URL-ga tashrif buyurganida, zararli skript qurbonning brau
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence