网站大量收购独家精品文档,联系QQ:2885784924

资安产学个案研讨.ppt

  1. 1、本文档共69页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
资安产学个案研讨

資安產學個案研討 許 富 皓 資 訊 工 程 學 系 國 立 中 央 大 學 SQL Injection [SK] SQL Injection Version of Hello World Let’s surf the Internet for fun. What is SQL Injection? Many web pages take parameters from web users, and make SQL query to the database. Take for instance when a user login a web page, the web page accepts that user name and password and makes SQL query to the database to check if the user has valid name and password. With SQL Injection, it is possible for us to send crafted user name and/or password field that will change the SQL query and thus grant us something else. SQL Injection Attack Channels SQL injection is one type of web hacking that require nothing but port 80 and it might just work even if the admin is patch-happy. It attacks on the web application (like ASP, JSP, PHP, CGI, etc) itself rather than on the web server or services running in the OS. What You Should Look for? Try to look for pages that allow you to submit data, i.e: login page, search page, feedback, etc. Sometimes, HTML pages use POST command to send parameters to another ASP page. Therefore, you may not see the parameters in the URL. However, you can check the source code of the HTML, and look for FORM tag in the HTML code. You may find something like this in some HTML codes: FORM action=Search/search.asp method=post input type=hidden name=A value=C /FORM Everything between the FORM and /FORM have potential parameters that might be useful (exploit wise). What If You Cant Find Any Page That Takes Input? You should look for pages like ASP, JSP, CGI, or PHP web pages. Try to look especially for URL that takes parameters, like: http://duck/index.asp?id=10 How Do You Test If It Is Vulnerable? Start with a single quote trick. Input something like: hi or 1=1-- into login, or password, or even in the URL. Example: ? - Login: hi or 1=1-- - Pass: hi or 1=1-- ?- http://duck/index.asp?id=hi or 1=1— If luck is on your side, you will get login without any login name or pass

文档评论(0)

ligennv1314 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档