1. Glossaryفەرهەنگی زاراوەکان
SQL injection
تێخزاندنی SQL
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

An attack in which someone types SQL code into a form or URL. If the script puts that input straight into its query, the attacker's code runs and can show or delete data. stop it.

هێرشێکە کە تێیدا هێرشبەر کۆدی SQL لە یان دەنووسێت. ئەگەر کۆدەکە ئەو نووسینە ڕاستەوخۆ لەگەڵ تێکەڵ بکات، کۆدی هێرشبەرەکە جێبەجێ دەبێت و دەتوانێت دراوەکان ئاشکرا بکات یان بیانسڕێتەوە. ڕێگەی لێ دەگرن.

Exampleنموونە

UNSAFE code: typing ' OR '1'='1 as the name makes the condition always true, so every user is returned.

کۆدی نەپارێزراو: نووسینی ' OR '1'='1 وەک ناو مەرجەکە دەکات بە مەرجێک کە هەمیشە ڕاستە، بۆیە هەموو بەکارهێنەرەکان دەگەڕێنرێنەوە.

<?php
// UNSAFE: user input is joined into the SQL text
$sql = "SELECT * FROM users WHERE username = '$name'";
// SAFE: use a prepared statement instead
$stmt = $conn->prepare('SELECT * FROM users WHERE username = ?');
$stmt->bind_param('s', $name);
$stmt->execute();

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

ئینجێکشنی SQL، دەرزیلێدانی SQL، تێخزاندنێکی SQL

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

No settled Kurdish term yet; تێخزاندن (slipping something in) is proposed, and many writers keep the English name.

Related termsزاراوە پەیوەندیدارەکان

Videosڤیدیۆکان

SQL Injections are scary!! (hacking tutorial for beginners)NetworkChuck · Englishئینگلیزی · 2.1M viewsبینین · 73K likesلایک · Partبەشی 2:08–10:14 (ofلە 10:14)
Hacking Websites with SQL Injection - ComputerphileComputerphile · Englishئینگلیزی · 2.5M viewsبینین · 51K likesلایک · Partبەشی 2:17–6:57 (ofلە 8:59)
Another Massive Hack - Are YOU Vulnerable?ThioJoe · Englishئینگلیزی · 97K viewsبینین · 5.3K likesلایک · Partبەشی 2:43–4:58 (ofلە 9:44)
PHP PDO Tutorial Part 1 - Prepared Statements - SQL Injection - Full PHP 8 TutorialProgram With Gio · Englishئینگلیزی · 53K viewsبینین · 1.4K likesلایک · Partبەشی 9:14–13:43 (ofلە 25:18)

Learn more inزیاتر فێربە لە