Question
What is the primary difference between SQL Injection and
Command Injection?Solution
SQL Injection manipulates database queries through insecure input handling, compromising data integrity and confidentiality. Command Injection executes arbitrary OS commands, leveraging vulnerabilities in web applications to gain deeper system access. For example:
- SQL Injection: ' OR 1=1 -- retrieves all database records.
- Command Injection: ; rm -rf / executes a destructive system command.
- Impact of SQL Injection: It compromises database security but doesn’t directly access the OS.
- Impact of Command Injection: Can control the host system, escalating privileges and causing more extensive damage.
- Exploits browsers: Neither attack targets browsers.
- Targets protocols: SQL Injection and Command Injection are unrelated to HTTP or SMTP protocols.
- Disrupts servers/clients: Both can disrupt servers but differ in targets (database vs. OS).
- Harmless comparison: SQL Injection is equally dangerous depending on context.
A sum of ₹20,000 is invested at an annual interest rate of 10% compounded half-yearly. What will be the total amount after 2 years?
Divide Rs. 2,440 into two parts such that the first part after 10 years is equal to the second part after 8 years, compound interest being 20% per annum...
Find the compound interest on Rs. 4000 at 10% per annum for 2 years, compounded annually.
What is the compound interest in a sum of 7500 for 12/5 years at 20% p.a., interest compounded yearly (nearest to an integer)?
Raj and Simran each invested a sum of ₹10,000 for three years at 25% compound interest per annum. However, while for Raj the interest was compounded a...
A sum of money was invested at 10% p.a. compound interest (compounded annually), and it amounted to Rs. 6050 at the end of 2 year...
Find the compound interest on Rs. 8000 at 12% per annum for 2 years (compounded annually).
A person invested ₹15000 in a scheme for 3 years at 8% compound interest, compounded annually. After 3 years, the person decided to withdraw the amoun...
Find the compound interest on Rs. 5000 at 8% per annum for 2 years, compounded annually.