mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-20 23:23:21 +00:00
Adding some more boundaries
This commit is contained in:
parent
fc9b3c9b67
commit
6ce5d7d7e4
4 changed files with 62 additions and 2 deletions
|
|
@ -109,7 +109,7 @@ class TestBoundaryEntries(unittest.TestCase):
|
|||
# ptype feeds the recorded injection identity (report label, (place,parameter,ptype) dedup
|
||||
# key, session hash) - an out-of-range value silently corrupts all three
|
||||
for b in conf.boundaries:
|
||||
self.assertIn(b.ptype, (1, 2, 3, 4, 5, 6), msg="boundary %r bad ptype %r" % (b.prefix, b.ptype))
|
||||
self.assertIn(b.ptype, (1, 2, 3, 4, 5, 6, 7, 8), msg="boundary %r bad ptype %r" % (b.prefix, b.ptype))
|
||||
|
||||
def test_ptype_matches_prefix_quote(self):
|
||||
# The lexical quote a prefix opens with must agree with ptype (else the injection is recorded
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue