Hack Forums
Shell injection vs Sql injection - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Whitehat • Blue Team • Defensive Security (https://hackforums.net/forumdisplay.php?fid=448)
+---- Forum: Pentesting and Forensics (https://hackforums.net/forumdisplay.php?fid=231)
+---- Thread: Shell injection vs Sql injection (/showthread.php?tid=5454148)



Shell injection vs Sql injection - shazalamm - Nov 4, 2016

What is the difference between shell injection and sql injection ?

can shell injection be done using salman similar t how its done for sql injection?


* - something goes here - Nov 4, 2016

The difference in the words of the two terms should be a dead giveaway regarding how they're different, but I guess not everyone is "smart" enough to notice that. By shell injection, I'm assuming you mean being able to inject shell commands. Put simply, shell injection lets you execute commands, SQL injection lets you execute SQL queries.