Commit Graph

171 Commits

Author SHA1 Message Date
Miroslav Štampar 71af9b3d8a Fixes CI/CD issues 2026-10-18 22:21:02 +02:00
Miroslav Štampar 516f55935c Implements #4973 2026-10-18 22:14:12 +02:00
Miroslav Štampar b208262c37 Fixes #4708 2026-10-18 21:54:21 +02:00
Miroslav Štampar 9a1660aa12 Minor cleaning after #6146 2026-10-17 13:06:38 +02:00
Bharath Vemula 0cf2f6db07 Fix REST API multi-target scans returning only the last target's results (#2503) (#6146)
A scan covering multiple targets inside a single API task (crawl,
'-m' bulk file, forms) ran every target through one StdDbOut keyed by
the single taskid, so _storeData()'s COMPLETE branch deleted each
earlier target's TARGET/TECHNIQUES rows - /scan/<id>/data returned
only the last target's results.

Mirror the --report-json fix for #6123: controller.start() now sets
kb.reportTaskId per target for API scans too, StdDbOut.write() keys
data rows '<taskid>-<n>' per target, and scan_data() folds the
per-target rows back into the task's flat result in target order.
Single-target scans keep the exact same response shape.

Regression tests in tests/test_api.py (TestStdDbOutMultiTarget,
TestScanDataMultiTarget).
2026-10-17 13:02:34 +02:00
Miroslav Štampar c94f6d0041 Update regarding #6145 2026-10-16 12:15:59 +02:00
Mr.X 1b1f93ae5c Make test_ssti and test_xpath runnable standalone (#6136)
Every tests/test_*.py file provides an

    if __name__ == "__main__":
        unittest.main(...)

entrypoint so it can be run directly, except test_ssti.py and
test_xpath.py. Running either of those directly produced no output and
executed none of its tests; they only ran under `unittest discover`.

Add the missing entrypoint to both so they behave like the rest of the
suite. No test logic changed (62 and 48 tests respectively still pass).
2026-10-05 23:54:39 +02:00
Miroslav Štampar 65b6e7b4ac Fixes #6137 2026-10-05 23:46:59 +02:00
Miroslav Štampar 1d9965d003 Fixes #6133 2026-09-28 22:20:27 +02:00
Miroslav Štampar 3cfba468d7 Dealing with ResourceWarning and DeprecationWarning 2026-09-28 01:03:43 +02:00
Miroslav Štampar 8473e2edc6 Fixes CI/CD errors 2026-09-28 00:49:25 +02:00
Miroslav Štampar 0974a0d859 Fixes CI/CD errors 2026-09-28 00:43:00 +02:00
Miroslav Štampar 2e3e4385ca Added shared Interactsh poller with DNS/HTTP OOB support 2026-09-28 00:38:03 +02:00
Miroslav Štampar a3d29174fb Fixes intermittent pypy-2.7 CI failure (kb.reportTaskId test leak) 2026-09-25 11:32:30 +02:00
Miroslav Štampar 31005fe4df Fixing an TypeError issue with a crypto.crypt() 2026-09-20 11:59:21 +02:00
Miroslav Štampar 5365c7e53d Fixing broken CI/CD 2026-09-18 14:48:31 +02:00
Miroslav Štampar ce01e65255 Patch related to #6124 2026-09-18 14:13:31 +02:00
Miroslav Štampar 7eb06ce635 Fixes #6122 2026-09-18 00:53:16 +02:00
Miroslav Štampar bda62dcf28 Fixes #6123 2026-09-18 00:41:57 +02:00
Miroslav Štampar fa96906f76 Fixing CI/CD errors 2026-09-15 11:36:10 +02:00
Miroslav Štampar 6224344224 Minor update regarding the #6120 2026-09-15 11:26:54 +02:00
Miroslav Štampar 1ee368f78a Fixes #6105 2026-09-04 09:47:33 +02:00
Miroslav Štampar 3fc41ca370 Salvaging (verified) what's useful from #6103 2026-09-02 07:53:32 +02:00
Miroslav Štampar 848ba68ccf Couple of fixes 2026-08-17 22:20:42 +02:00
Miroslav Štampar 77ee160875 Fixing CI/CD errors 2026-08-17 16:52:00 +02:00
Miroslav Štampar 76ddd7a1b9 Fixes #6097 2026-08-16 23:52:22 +02:00
Miroslav Štampar 9f798873c4 Fixing CI/CD errors 2026-08-16 23:16:16 +02:00
Miroslav Štampar bdf3e09315 Adding support for multi-bit boolean extraction 2026-08-16 23:11:49 +02:00
Miroslav Štampar ebf4b48337 Fixing CI/CD errors 2026-08-13 19:27:32 +02:00
Miroslav Štampar 92c2ee47ea Adding support for Sybase into dbwire 2026-08-13 14:41:00 +02:00
Miroslav Štampar 58d6f740b7 Some more patching of dbwire 2026-08-13 13:26:55 +02:00
Miroslav Štampar e9f8180614 Some patching of dbwire 2026-08-13 13:01:43 +02:00
Miroslav Štampar d8dbaee0df Fixing CI/CD errors 2026-08-12 00:17:57 +02:00
Miroslav Štampar b154f084e0 Minor update 2026-08-11 23:37:53 +02:00
Miroslav Štampar e11ea65230 Minor patch 2026-08-11 23:13:20 +02:00
Miroslav Štampar 90b14df46c Minor update 2026-08-11 23:07:22 +02:00
Miroslav Štampar 53411f6fd8 Minor patch 2026-08-11 22:56:35 +02:00
Miroslav Štampar 08b986d40c Faster --odata 2026-08-11 22:43:40 +02:00
Miroslav Štampar d6370a681b Fixes #6096 2026-08-11 13:40:57 +02:00
Miroslav Štampar f9a45c6755 Patch related to #6093 2026-08-10 13:42:38 +02:00
Miroslav Štampar dd57fd91e2 Adding switches --odata and --sparql 2026-08-09 11:04:44 +02:00
Miroslav Štampar bbe164a7f3 Better heuristics for non-SQLi techniques 2026-08-08 02:14:34 +02:00
Miroslav Štampar a8b1bb371d Bug fix (kb.chars generation collision) 2026-08-08 01:27:24 +02:00
Miroslav Štampar 7d2c33cd32 Minor patch 2026-08-08 01:07:07 +02:00
Miroslav Štampar 881d2e8f90 Adding switch --xslt 2026-08-08 00:37:32 +02:00
Miroslav Štampar 2726807871 Adding tests for dbwire 2026-08-07 18:34:07 +02:00
Miroslav Štampar 7b8bf447a0 Stabilization of --timeless 2026-08-07 13:13:48 +02:00
Miroslav Štampar 776643e3bd Stabilization of http2.py module 2026-08-06 21:38:26 +02:00
Miroslav Štampar dbe2734b71 Minor update 2026-08-04 23:02:00 +02:00
Miroslav Štampar 96fec6864e Minor patch 2026-08-04 22:46:04 +02:00