heuristic.py 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-"
  3. # vim: set expandtab tabstop=4 shiftwidth=4:
  4. """
  5. This file is part of the XSSer project, https://xsser.03c8.net
  6. Copyright (c) 2010/2019 | psy <epsylon@riseup.net>
  7. xsser is free software; you can redistribute it and/or modify it under
  8. the terms of the GNU General Public License as published by the Free
  9. Software Foundation version 3 of the License.
  10. xsser is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  12. FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  13. details.
  14. You should have received a copy of the GNU General Public License along
  15. with xsser; if not, write to the Free Software Foundation, Inc., 51
  16. Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  17. """
  18. ## This file contains different XSS fuzzing vectors.
  19. ## If you have some new, please email me to [epsylon@riseup.net]
  20. ## Happy Cross Hacking! ;)
  21. heuristic_test = [
  22. { 'payload' : """XSS\\XSS""",
  23. 'browser' : """[Heuristic test]""" },
  24. { 'payload' : """XSS/XSS""",
  25. 'browser' : """[Heuristic test]""" },
  26. { 'payload' : """XSS>XSS""",
  27. 'browser' : """[Heuristic test]""" },
  28. { 'payload' : """XSS<XSS""",
  29. 'browser' : """[Heuristic test]""" },
  30. { 'payload' : """XSS;XSS""",
  31. 'browser' : """[Heuristic test]""" },
  32. { 'payload' : """XSS'XSS""",
  33. 'browser' : """[Heuristic test]""" },
  34. { 'payload' : '''XSS"XSS''',
  35. 'browser' : """[Heuristic test]""" },
  36. { 'payload' : """XSS=XSS""",
  37. 'browser' : """[Heuristic test]""" },
  38. { 'payload' : """XSS%5CXSS""",
  39. 'browser' : """[Heuristic test]""" },
  40. { 'payload' : """XSS%3EXSS""",
  41. 'browser' : """[Heuristic test]""" },
  42. { 'payload' : """XSS%3CXSS""",
  43. 'browser' : """[Heuristic test]""" },
  44. { 'payload' : """XSS%3BXSS""",
  45. 'browser' : """[Heuristic test]""" },
  46. { 'payload' : """XSS%27XSS""",
  47. 'browser' : """[Heuristic test]""" },
  48. { 'payload' : '''XSS%22XSS''',
  49. 'browser' : """[Heuristic test]""" },
  50. { 'payload' : """XSS%3DXSS""",
  51. 'browser' : """[Heuristic test]""" },
  52. { 'payload' : """XSS&#92XSS""",
  53. 'browser' : """[Heuristic test]""" },
  54. { 'payload' : """XSS&#47XSS""",
  55. 'browser' : """[Heuristic test]""" },
  56. { 'payload' : """XSS&#62XSS""",
  57. 'browser' : """[Heuristic test]""" },
  58. { 'payload' : """XSS&#60XSS""",
  59. 'browser' : """[Heuristic test]""" },
  60. { 'payload' : """XSS&#59XSS""",
  61. 'browser' : """[Heuristic test]""" },
  62. { 'payload' : """XSS&#39XSS""",
  63. 'browser' : """[Heuristic test]""" },
  64. { 'payload' : '''XSS&#34XSS''',
  65. 'browser' : """[Heuristic test]""" },
  66. { 'payload' : """XSS&#61XSS""",
  67. 'browser' : """[Heuristic test]""" }
  68. ]