Do you have any SQL Injection Testing “Ammo”?

后端 未结 5 590
滥情空心
滥情空心 2021-01-30 23:42

When reading about SQL Injection and XSS i was wondering if you guys have a single string that could be used to identify those vulnerabilities and others.

A string that

相关标签:
5条回答
  • 2021-01-31 00:27

    http://ferruh.mavituna.com/sql-injection-cheatsheet-oku/

    Includes versions for most DBs, including Hex tricks that bypass standard escaping.

    0 讨论(0)
  • 2021-01-31 00:30

    Honestly there are some tools that are pretty good a testing for SQL Injection, but honestly they don't fully replace manual testing and code review ideally.

    To use your example there are situations where "or (1=1)" doesn't work but "or/**/ (1=1);--" does.

    Sometimes tweaking certain strings will provide different results, depending on things like character encoding and general creativity. It also bears mentioning that sometimes you aren't safe from 3rd party tools in your web application as well. Never underestimate the creativity of people, especially if you have a public website.

    This is a pretty good cheatsheet.

    To do my testing I use Paros, it has an interesting website scanning tool that you can also run that finds some problems as well.

    This question bears the repeating of this SQL Injection cartoon.

    0 讨论(0)
  • 2021-01-31 00:32

    See the OWASP site for examples.

    0 讨论(0)
  • 2021-01-31 00:35

    I've found some nice firefox addons that do the trick.

    XSS Me

    SQL Inject Me

    0 讨论(0)
  • 2021-01-31 00:48

    https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet has lots of examples for testing SQL injection.

    0 讨论(0)
提交回复
热议问题