Files
sqlmap/lib/utils
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
..
2026-01-01 19:12:07 +01:00
2026-07-09 09:56:51 +02:00
2026-07-28 16:42:37 +02:00
2026-07-25 19:10:58 +02:00
2026-07-12 10:32:57 +02:00
2026-07-11 15:51:04 +02:00
2026-07-17 14:46:52 +02:00
2026-01-01 19:12:07 +01:00
2026-07-19 16:31:08 +02:00
2026-08-04 17:02:57 +02:00
2026-10-11 21:20:29 +02:00
2026-08-16 23:52:22 +02:00
2026-08-08 01:07:07 +02:00
2026-07-24 14:27:05 +02:00
2026-07-02 00:19:31 +02:00
2026-07-09 13:25:50 +02:00
2026-08-07 17:04:32 +02:00
2026-06-14 17:05:32 +02:00
2026-07-28 21:58:51 +02:00
2026-06-28 02:09:50 +02:00
2019-05-09 15:47:23 +02:00
2026-07-19 14:46:23 +02:00
2026-07-12 20:27:37 +02:00
2026-01-01 19:12:07 +01:00
2026-06-24 11:11:03 +02:00
2026-01-01 19:12:07 +01:00
2026-06-28 02:09:50 +02:00