Computer AwarenessHardSBI PO · IBPS Clerk · SSC CGL

An attacker types ' OR '1'='1 into a website's login box to bypass the password check. This is an example of:

  1. A. Brute-force attack
  2. B. Cross-site scripting
  3. C. SQL injection
  4. D. Buffer overflow

Correct answer: C. SQL injection

Inserting SQL code into an input field to alter the database query is SQL injection. Cross-site scripting injects scripts into web pages viewed by other users; brute force tries many passwords.

हिंदी में

कोई हमलावर पासवर्ड जाँच को बायपास करने के लिए किसी वेबसाइट के लॉगिन बॉक्स में ' OR '1'='1 टाइप करता है। यह किसका उदाहरण है?

  1. A. ब्रूट-फ़ोर्स हमला
  2. B. क्रॉस-साइट स्क्रिप्टिंग
  3. C. SQL इंजेक्शन
  4. D. बफ़र ओवरफ़्लो

उत्तर: C. डेटाबेस क्वेरी बदलने के लिए इनपुट फ़ील्ड में SQL कोड डालना SQL इंजेक्शन है। क्रॉस-साइट स्क्रिप्टिंग अन्य उपयोगकर्ताओं द्वारा देखे जाने वाले वेब पेजों में स्क्रिप्ट डालती है; ब्रूट फ़ोर्स कई पासवर्ड आज़माता है।

More MS Office, Internet and Cyber Security questions

Exams that ask this topic