{"id":1913,"date":"2025-09-13T18:14:28","date_gmt":"2025-09-13T14:44:28","guid":{"rendered":"http:\/\/localhost\/dezhamn\/?p=1913"},"modified":"2025-09-14T13:14:48","modified_gmt":"2025-09-14T09:44:48","slug":"sql-injection","status":"publish","type":"post","link":"https:\/\/rastinnet.ir\/?p=1913","title":{"rendered":"SQL Injection"},"content":{"rendered":"<p><span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">SQL Injection (SQLi) \u06cc\u06a9 \u0646\u0648\u0639 \u062d\u0645\u0644\u0647 \u0633\u0627\u06cc\u0628\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u062f\u0647\u0627\u06cc \u0645\u062e\u0631\u0628 SQL \u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u06cc\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u062a\u0632\u0631\u06cc\u0642 \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u062d\u0645\u0644\u0647 \u0632\u0645\u0627\u0646\u06cc \u0631\u062e \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 \u0648\u0631\u0648\u062f\u06cc \u06a9\u0627\u0631\u0628\u0631 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u0628\u0631\u0631\u0633\u06cc \u0648 \u0641\u06cc\u0644\u062a\u0631 \u0646\u0634\u0648\u062f \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0633\u062a\u0642\u06cc\u0645 \u062f\u0631 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc (\u067e\u0631\u0633\u200c\u0648\u062c\u0648\u0647\u0627\u06cc) \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0642\u0631\u0627\u0631 \u06af\u06cc\u0631\u062f.<\/span><br \/>\n<span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">SQL Injection \u0686\u0637\u0648\u0631 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061f<\/span><br \/>\n<span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">\u062a\u0635\u0648\u0631 \u06a9\u0646\u06cc\u062f \u06cc\u06a9 \u0641\u0631\u0645 \u0648\u0631\u0648\u062f \u0628\u0647 \u0633\u0627\u06cc\u062a \u062f\u0627\u0631\u06cc\u062f \u06a9\u0647 \u0627\u0632 \u0634\u0645\u0627 \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0648 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u062f. \u06cc\u06a9 \u0628\u0631\u0646\u0627\u0645\u0647 \u0622\u0633\u06cc\u0628\u200c\u067e\u0630\u06cc\u0631\u060c \u0627\u06cc\u0646 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u0633\u062a\u0642\u06cc\u0645 \u062f\u0631 \u06cc\u06a9 \u06a9\u0648\u0626\u0631\u06cc SQL \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u062f\u0647\u062f:<\/span><\/p>\n<p dir=\"ltr\"><span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\"><span style=\"color: #008000;\">SELECT <\/span>* <span style=\"color: #008000;\">FROM <\/span>users <span style=\"color: #008000;\">WHERE <\/span>username = <span style=\"color: #ff0000;\">&#8216;\u0648\u0631\u0648\u062f\u06cc_\u06a9\u0627\u0631\u0628\u0631&#8217; <\/span><span style=\"color: #008000;\">AND <\/span>password = <span style=\"color: #ff0000;\">&#8216;\u0648\u0631\u0648\u062f\u06cc_\u0631\u0645\u0632_\u0639\u0628\u0648\u0631&#8217;<\/span>;<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">\u06cc\u06a9 \u0645\u0647\u0627\u062c\u0645 \u0628\u0647 \u062c\u0627\u06cc \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0639\u0627\u062f\u06cc\u060c \u0639\u0628\u0627\u0631\u062a\u06cc \u0645\u062b\u0644 &#8216; OR &#8216;1&#8217;=&#8217;1 \u0631\u0627 \u0648\u0627\u0631\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f. \u06a9\u0648\u0626\u0631\u06cc \u0646\u0647\u0627\u06cc\u06cc \u0628\u0647 \u0634\u06a9\u0644 \u0632\u06cc\u0631 \u062f\u0631\u0645\u06cc\u200c\u0622\u06cc\u062f:<\/span><\/p>\n<p dir=\"ltr\"><span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\"><span style=\"color: #008000;\">SELECT <\/span>* <span style=\"color: #008000;\">FROM <\/span>users <span style=\"color: #008000;\">WHERE <\/span>username = <span style=\"color: #ff0000;\">&#8216;\u0648\u0631\u0648\u062f\u06cc_\u06a9\u0627\u0631\u0628\u0631&#8217;<\/span> <span style=\"color: #008000;\">AND <\/span>password = &#8216;password&#8217; <span style=\"color: #ff0000;\">OR 1=1<\/span>;<\/span><\/p>\n<p><span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">\u0627\u0632 \u0622\u0646\u062c\u0627\u06cc\u06cc \u06a9\u0647 &#8216;\u06f1&#8217;=&#8217;\u06f1&#8242; \u0647\u0645\u06cc\u0634\u0647 \u062f\u0631\u0633\u062a \u0627\u0633\u062a\u060c \u06a9\u0644 \u0639\u0628\u0627\u0631\u062a WHERE \u0646\u06cc\u0632 \u062f\u0631\u0633\u062a \u0627\u0631\u0632\u06cc\u0627\u0628\u06cc \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0645\u0647\u0627\u062c\u0645 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u062f\u0648\u0646 \u062f\u0627\u0634\u062a\u0646 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0635\u062d\u06cc\u062d \u0648\u0627\u0631\u062f \u0633\u06cc\u0633\u062a\u0645 \u0634\u0648\u062f.<\/span><\/p>\n<p style=\"text-align: right;\"><span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">\u067e\u06cc\u0627\u0645\u062f\u0647\u0627\u06cc SQL Injection<\/span><\/p>\n<p style=\"text-align: right; padding-right: 40px;\"><span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">\u2022 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a: \u0645\u0647\u0627\u062c\u0645 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062d\u0633\u0627\u0633 \u0645\u0627\u0646\u0646\u062f \u0646\u0627\u0645 \u06a9\u0627\u0631\u0628\u0631\u06cc\u060c \u0631\u0645\u0632 \u0639\u0628\u0648\u0631\u060c \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0634\u062e\u0635\u06cc \u0648 \u0645\u0627\u0644\u06cc \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u062f\u060c \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u062f \u06cc\u0627 \u062d\u0630\u0641 \u06a9\u0646\u062f.<\/span><br \/>\n<span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">\u2022 \u062a\u062e\u0631\u06cc\u0628 \u062f\u0627\u062f\u0647\u200c\u0647\u0627: \u0627\u0645\u06a9\u0627\u0646 \u062d\u0630\u0641 \u06a9\u0627\u0645\u0644 \u062c\u062f\u0627\u0648\u0644 \u06cc\u0627 \u06a9\u0644 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f.<\/span><br \/>\n<span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">\u2022 \u062f\u0633\u062a\u0631\u0633\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a\u06cc: \u062f\u0631 \u0628\u0631\u062e\u06cc \u0645\u0648\u0627\u0631\u062f\u060c \u0645\u0647\u0627\u062c\u0645 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645\u060c \u062f\u0633\u062a\u0631\u0633\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a\u06cc \u067e\u06cc\u062f\u0627 \u06a9\u0646\u062f.<\/span><\/p>\n<p style=\"text-align: right;\"><span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">\u0686\u0637\u0648\u0631 \u0627\u0632 \u0622\u0646 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u0645\u061f<\/span><br \/>\n<span style=\"color: #000000; font-family: Tahoma; font-size: 18px;\">\u0628\u0647\u062a\u0631\u06cc\u0646 \u0631\u0627\u0647 \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u062d\u0645\u0644\u0647\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0648\u0626\u0631\u06cc\u200c\u0647\u0627\u06cc \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0627\u06cc\u0632 \u0634\u062f\u0647 (<span style=\"color: #ff0000;\">Prepared Statements)<\/span> \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0648\u0634\u060c \u06a9\u062f SQL \u0648 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc \u0628\u0647 \u0635\u0648\u0631\u062a \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u0628\u0647 \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0641\u0631\u0633\u062a\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0628\u0647 \u0627\u06cc\u0646 \u062a\u0631\u062a\u06cc\u0628\u060c \u067e\u0627\u06cc\u06af\u0627\u0647 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u062f\u0627\u0646\u062f \u06a9\u0647 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc \u0641\u0642\u0637 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0633\u0627\u062f\u0647 \u0647\u0633\u062a\u0646\u062f \u0648 \u0646\u0628\u0627\u06cc\u062f \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0628\u062e\u0634\u06cc \u0627\u0632 \u062f\u0633\u062a\u0648\u0631 SQL \u0627\u062c\u0631\u0627 \u06a9\u0646\u062f. \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0648\u0631\u0648\u062f\u06cc\u200c\u0647\u0627\u06cc \u0645\u062e\u0631\u0628 \u0631\u0627 \u062e\u0646\u062b\u06cc \u06a9\u0631\u062f\u0647 \u0648 \u0627\u0645\u0646\u06cc\u062a \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u062a\u0636\u0645\u06cc\u0646 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL Injection (SQLi) \u06cc\u06a9 \u0646\u0648\u0639 \u062d\u0645\u0644\u0647 \u0633\u0627\u06cc\u0628\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0628\u0647 \u0645\u0647\u0627\u062c\u0645 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u062f\u0647\u0627\u06cc \u0645\u062e\u0631\u0628 SQL \u0631\u0627 \u0628\u0647 \u06cc\u06a9 \u0648\u0628\u200c\u0633\u0627\u06cc\u062a \u06cc\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 &#8230; <a class=\"cz_readmore\" href=\"https:\/\/rastinnet.ir\/?p=1913\"><i class=\"fa czico-201-back\" aria-hidden=\"true\"><\/i><span>\u0627\u062f\u0627\u0645\u0647 \u0645\u0637\u0644\u0628<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2037,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1913","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/rastinnet.ir\/index.php?rest_route=\/wp\/v2\/posts\/1913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rastinnet.ir\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rastinnet.ir\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rastinnet.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rastinnet.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1913"}],"version-history":[{"count":2,"href":"https:\/\/rastinnet.ir\/index.php?rest_route=\/wp\/v2\/posts\/1913\/revisions"}],"predecessor-version":[{"id":2038,"href":"https:\/\/rastinnet.ir\/index.php?rest_route=\/wp\/v2\/posts\/1913\/revisions\/2038"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rastinnet.ir\/index.php?rest_route=\/wp\/v2\/media\/2037"}],"wp:attachment":[{"href":"https:\/\/rastinnet.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rastinnet.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rastinnet.ir\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}