原理利用SQL拼接的安全性,将一些恶意的SQL语句传到服务器中执行。如:
12345678网页端登录页面: user: userpassword: ****传入服务器中可能就是SELECT * FROM users WHERE id='user' and password='1234'
如果程序员没有进行过滤,则可能会发生这种情况
...
Basic Usage
Make sure compile file with -g option, which mean turn on debugging with gdb
like this: gcc -g main.cpp -o main
Debugging with GDB
Open file
here are two way
gdb <file>
gdb pat...