删除表,先猜表名,可以使用下面的语名:

Select * from A where A.a = ‘testdata’; drop table A---’;

If a field only allow number, give it a String or others 假如一个字段仅仅只允许使用一个数字,传给他一个字符串或者其它类型。

Use ‘OR 1=1’, get all records in query function 使用‘or 1=1’ 能得到所有的查询记录

Select * from A where A.a = ‘testdata’ OR ‘1’=’1’;

In login function, give user name field like ‘username’--’, “--’ and A.password = ‘’” is commented

在登录功能,给用户传 ‘username’--’, “--’ and A.password = ‘’”

Select * from user A where A.username =  ‘username’--’ and A.password = ‘’;

Adding records function, if there is 4 fields in this table, add 5 fields, eg.

添加 一条记录,假如这条表只有4个字段,那就多加一个字段

Normal: Insert into table A values(‘’,’’,’’,’’);

Test Data: Insert into table A values(‘’,’testdata’,’’,’’,’’);

Input test data in or out of this field data

Add single quotation marks and semicolon, and break off string splicing, this is similar with point 4

Update table A set A.a = ‘testdata’;--’

Yellow partis test data we input

最新文章

  1. 关于在BAE上部署ThinkPHP框架的问题
  2. mysql的从头到脚优化之数据库引擎的选择(转载)
  3. onload是代码在也买你的追加元素的完成,而不是http请求的完成
  4. Effective Java之最佳建议
  5. MEF依赖注入调试小技巧!
  6. android-'Using 1.7 requires compiling with Android 4.4 (KitKat); currently using API 8'
  7. python笔记——第二天
  8. demo说明
  9. 使用BeanUtils类实现DTO之间的同名属性复制
  10. YOLO v3
  11. 7-10 多项式A除以B (25 分)
  12. this inspection detects names that should resolved but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are sup
  13. PHP之缓存雪崩,及解决方法(转)
  14. 64位版本为什么叫amd64,而不是intel64
  15. 【作业三】结队任务二-----CourseManagement
  16. JavaScript 第九章总结
  17. 外购半成品报SHORT问题(验货客户)
  18. 【代码审计】iCMS_v7.0.7 search.admincp.php页面存在SQL注入漏洞
  19. redis环境搭建与配置
  20. 数据库中的html在页面上显示

热门文章

  1. ListView去除顶部和底部边缘阴影(亲测4.4及以前的版本都适用)
  2. GT 940M 到底怎么样! 768的可以 1080的不要用了
  3. C#编程语言与面向对象——核心
  4. LintCode Search For a Range (Binary Search)
  5. macos下sed小试
  6. unbuntu server (linux系统)下面安装 lamp
  7. Windows安装包制作指南——Advanced Installer的使用
  8. 动态加载、移除、替换JS和CSS
  9. Lab_5_SysOps_Resources_Linux_v2.5
  10. List和Map之间的转换和关联