Automatic SQL injection and database takeover tool
This report presents the forensic synthetic code analysis of sqlmapproject/sqlmap, a Python project with 38,292 GitHub stars. SynthScan v2.0 examined 231,310 lines of code across 798 source files, recording 3398 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 26.0 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 3398 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | sqlmapapi.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | sqlmap.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/raima/enumeration.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/raima/fingerprint.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/raima/filesystem.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/raima/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/raima/takeover.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/raima/connector.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/raima/syntax.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/sybase/enumeration.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/sybase/fingerprint.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/sybase/filesystem.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/sybase/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/sybase/takeover.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/sybase/connector.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/sybase/syntax.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/extremedb/enumeration.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/extremedb/fingerprint.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/extremedb/filesystem.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/extremedb/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/extremedb/takeover.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/extremedb/connector.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/extremedb/syntax.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/clickhouse/enumeration.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/clickhouse/fingerprint.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/clickhouse/filesystem.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/clickhouse/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/clickhouse/takeover.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/clickhouse/connector.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/clickhouse/syntax.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/postgresql/enumeration.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/postgresql/fingerprint.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/postgresql/filesystem.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/postgresql/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/postgresql/takeover.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/postgresql/connector.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/postgresql/syntax.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/presto/enumeration.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/presto/fingerprint.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/presto/filesystem.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/presto/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/presto/takeover.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/presto/connector.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/presto/syntax.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/h2/enumeration.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/h2/fingerprint.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/h2/filesystem.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/h2/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/h2/takeover.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/h2/connector.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/h2/syntax.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/virtuoso/enumeration.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/virtuoso/fingerprint.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/virtuoso/filesystem.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/virtuoso/__init__.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/virtuoso/takeover.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/virtuoso/connector.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| HIGH | plugins/dbms/virtuoso/syntax.py | 0 | copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org) see the file 'license' for copying permission | STRING |
| 467 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_generic_takeover.py | 309 | def test_remote_temp_path_posix(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 318 | def test_remote_temp_path_windows_direct(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 327 | def test_remote_temp_path_explicit_windows_drive(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 350 | def test_get_version_from_banner(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 360 | def test_get_version_from_banner_cached(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 368 | def test_del_remote_file_posix(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 375 | def test_del_remote_file_windows(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 384 | def test_del_remote_file_empty_noop(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 565 | def test_osbof_wrong_dbms_raises(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 572 | def test_osbof_no_stacking_returns(self): | CODE |
| LOW⚡ | tests/test_generic_takeover.py | 580 | def test_ossmb_non_windows_raises(self): | CODE |
| LOW | tests/test_generic_takeover.py | 163 | def test_select_joins_listlike_rows(self): | CODE |
| LOW | tests/test_generic_takeover.py | 172 | def test_select_scalar_passthrough(self): | CODE |
| LOW | tests/test_generic_takeover.py | 187 | def test_metadb_suffix_stripped(self): | CODE |
| LOW | tests/test_generic_takeover.py | 202 | def test_mssql_from_dbo_rewrite(self): | CODE |
| LOW | tests/test_generic_takeover.py | 216 | def test_nonquery_without_stacking_warns_none(self): | CODE |
| LOW | tests/test_generic_takeover.py | 225 | def test_nonquery_stacked_returns_null(self): | CODE |
| LOW | tests/test_generic_takeover.py | 239 | def test_nonedata_exception_handled(self): | CODE |
| LOW | tests/test_generic_takeover.py | 253 | def test_sqlfile_select_snippets(self): | CODE |
| LOW | tests/test_generic_takeover.py | 269 | def test_sqlfile_nonselect_snippet(self): | CODE |
| LOW | tests/test_generic_takeover.py | 338 | def test_remote_temp_path_mssql_errorlog(self): | CODE |
| LOW | tests/test_generic_takeover.py | 401 | def test_create_support_tbl_mssql_cmdtbl(self): | CODE |
| LOW | tests/test_generic_takeover.py | 411 | def test_like_or_exact_default(self): | CODE |
| LOW | tests/test_generic_takeover.py | 425 | def test_like_or_exact_invalid(self): | CODE |
| LOW | tests/test_generic_takeover.py | 535 | def test_reg_add_missing_key_raises(self): | CODE |
| LOW | tests/test_generic_takeover.py | 591 | def test_ossmb_windows_invokes_smb(self): | CODE |
| LOW⚡ | tests/test_tamper.py | 67 | def test_no_crash_returns_string(self): | CODE |
| LOW⚡ | tests/test_tamper.py | 82 | def test_graceful_on_empty_and_none(self): | CODE |
| LOW⚡ | tests/test_tamper.py | 109 | def test_previously_fragile_now_fixed(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 145 | def test_current_db_oracle_schema_warning_branch(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 155 | def test_get_dbs_direct_mysql(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 164 | def test_get_dbs_cached_short_circuit(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 298 | def test_columns_direct_mysql(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 305 | def test_columns_direct_pgsql(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 309 | def test_columns_direct_oracle_uppercase(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 319 | def test_columns_direct_mssql(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 400 | def test_count_single_table_mysql(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 410 | def test_count_dotted_table_splits_db(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 420 | def test_count_multiple_tables(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 443 | def test_statements_direct_mysql(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 451 | def test_statements_direct_pgsql(self): | CODE |
| LOW⚡ | tests/test_databases_enum.py | 459 | def test_statements_inference(self): | CODE |
| LOW | tests/test_databases_enum.py | 176 | def test_get_dbs_direct_pgsql_schema_branch(self): | CODE |
| LOW | tests/test_databases_enum.py | 184 | def test_get_dbs_mysql_no_information_schema(self): | CODE |
| LOW | tests/test_databases_enum.py | 213 | def test_get_dbs_fallback_to_current(self): | CODE |
| LOW | tests/test_databases_enum.py | 232 | def test_get_tables_direct_mysql(self): | CODE |
| LOW | tests/test_databases_enum.py | 243 | def test_get_tables_cached_short_circuit(self): | CODE |
| LOW | tests/test_databases_enum.py | 255 | def test_get_tables_direct_pgsql(self): | CODE |
| LOW | tests/test_databases_enum.py | 265 | def test_get_tables_inference(self): | CODE |
| LOW | tests/test_databases_enum.py | 367 | def test_columns_inference_mysql(self): | CODE |
| LOW | tests/test_databases_enum.py | 504 | def test_procedures_direct_pgsql(self): | CODE |
| LOW | tests/test_databases_enum.py | 512 | def test_procedures_inference_mysql(self): | CODE |
| LOW | tests/test_databases_enum.py | 597 | def test_get_columns_inference_pgsql_types(self): | CODE |
| LOW | tests/test_databases_enum.py | 626 | def test_get_columns_inference_dump_mode_collist(self): | CODE |
| LOW | tests/test_databases_enum.py | 650 | def test_get_count_over_cached_tables_inference(self): | CODE |
| LOW | tests/test_databases_enum.py | 674 | def test_get_statements_count_zero_returns_empty(self): | CODE |
| LOW | tests/test_databases_enum.py | 685 | def test_get_procedures_inference(self): | CODE |
| LOW | tests/test_databases_enum.py | 693 | def test_get_dbs_mssql_inband_paging(self): | CODE |
| LOW | tests/test_databases_enum.py | 715 | def test_get_tables_inference_grouped_per_db(self): | CODE |
| LOW | tests/test_databases_enum.py | 749 | def test_get_columns_bruteforce_dumpmode_collist_on_decline(self): | CODE |
| 1529 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sqlmap.py | 244 | except Exception as ex: | CODE |
| LOW | sqlmap.py | 255 | except Exception as ex: | CODE |
| LOW | sqlmap.py | 599 | except Exception as ex: | CODE |
| LOW | sqlmap.py | 604 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/cache/connector.py | 43 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/cache/connector.py | 50 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/cache/connector.py | 59 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/cache/connector.py | 69 | except Exception as ex: | CODE |
| MEDIUM | plugins/dbms/cache/connector.py | 56 | def fetchall(self): | CODE |
| LOW | plugins/dbms/mimersql/connector.py | 36 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/snowflake/connector.py | 56 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/snowflake/connector.py | 65 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/snowflake/connector.py | 72 | except Exception as ex: | CODE |
| MEDIUM | plugins/dbms/snowflake/connector.py | 62 | def fetchall(self): | CODE |
| MEDIUM | plugins/dbms/snowflake/connector.py | 69 | def execute(self, query): | CODE |
| LOW | plugins/dbms/hana/connector.py | 32 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/hsqldb/connector.py | 43 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/hsqldb/connector.py | 50 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/hsqldb/connector.py | 59 | except Exception as ex: | CODE |
| LOW⚡ | plugins/dbms/hsqldb/connector.py | 69 | except Exception as ex: | CODE |
| MEDIUM | plugins/dbms/hsqldb/connector.py | 56 | def fetchall(self): | CODE |
| LOW | plugins/generic/connector.py | 54 | except Exception as ex: | CODE |
| MEDIUM | plugins/generic/connector.py | 48 | def close(self): | CODE |
| LOW⚡ | tests/test_tamper.py | 75 | except Exception as ex: | CODE |
| LOW⚡ | tests/test_tamper.py | 93 | except Exception as ex: | CODE |
| LOW⚡ | tests/test_tamper.py | 100 | except Exception as ex: | CODE |
| LOW | tests/_testutils.py | 203 | except Exception as ex: | CODE |
| LOW | tests/test_deps.py | 90 | except Exception: | CODE |
| MEDIUM | tests/test_deps.py | 87 | def _always_succeed(name, *args, **kwargs): | CODE |
| LOW | tests/test_xpath.py | 556 | except Exception as e: | CODE |
| LOW | tests/test_jitter_stress.py | 138 | except Exception: | CODE |
| LOW | tests/test_wordlist.py | 58 | except Exception: | CODE |
| LOW | tests/test_report.py | 49 | except Exception: | CODE |
| LOW | tests/test_boolean_jitter.py | 183 | except Exception: | CODE |
| LOW | tests/test_target_parsing.py | 105 | except Exception: | CODE |
| LOW | tests/test_target_parsing.py | 111 | except Exception: | CODE |
| MEDIUM | tests/test_esperanto.py | 59 | def ask(cond): | CODE |
| MEDIUM | tests/test_esperanto.py | 338 | def ask(cond): | CODE |
| MEDIUM | tests/test_esperanto.py | 658 | def ask(cond): | CODE |
| MEDIUM | tests/test_esperanto.py | 677 | def ask(cond): | CODE |
| MEDIUM | tests/test_esperanto.py | 754 | def ask(cond): | CODE |
| LOW | tests/test_esperanto.py | 62 | except Exception: | CODE |
| LOW | tests/test_esperanto.py | 103 | except Exception: | CODE |
| LOW | tests/test_esperanto.py | 432 | except Exception: | CODE |
| LOW | tests/test_esperanto.py | 612 | except Exception: | CODE |
| LOW | tests/test_esperanto.py | 661 | except Exception: | CODE |
| LOW | tests/test_esperanto.py | 680 | except Exception: | CODE |
| LOW | tests/test_esperanto.py | 871 | except Exception: | CODE |
| LOW | tests/test_esperanto.py | 1040 | except Exception: | CODE |
| LOW | tests/test_esperanto.py | 1064 | except Exception: | CODE |
| LOW | tests/test_esperanto.py | 1088 | except Exception: | CODE |
| LOW | tests/test_serialize.py | 68 | except Exception: | CODE |
| LOW | tests/test_serialize.py | 319 | except Exception: | CODE |
| LOW | tests/test_wafbypass.py | 77 | except Exception: | CODE |
| LOW | tests/test_bigarray.py | 46 | except Exception: | CODE |
| LOW | tests/test_hashdb.py | 43 | except Exception: | CODE |
| MEDIUM | tests/test_hashdb.py | 40 | def tearDown(self): | CODE |
| MEDIUM | tests/test_api.py | 114 | def tearDown(self): | CODE |
| LOW | tests/test_api.py | 117 | except Exception: | CODE |
| MEDIUM | tests/test_dump_format.py | 425 | def tearDown(self): | CODE |
| 382 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sqlmap.py | 161 | CODE | |
| LOW | plugins/dbms/sybase/enumeration.py | 116 | CODE | |
| LOW | plugins/dbms/sybase/enumeration.py | 164 | CODE | |
| LOW | plugins/dbms/sybase/fingerprint.py | 63 | CODE | |
| LOW | plugins/dbms/postgresql/fingerprint.py | 28 | CODE | |
| LOW | plugins/dbms/postgresql/fingerprint.py | 96 | CODE | |
| LOW | plugins/dbms/postgresql/takeover.py | 145 | CODE | |
| LOW | plugins/dbms/presto/fingerprint.py | 81 | CODE | |
| LOW | plugins/dbms/maxdb/enumeration.py | 63 | CODE | |
| LOW | plugins/dbms/maxdb/enumeration.py | 103 | CODE | |
| LOW | plugins/dbms/oracle/enumeration.py | 29 | CODE | |
| LOW | plugins/dbms/hsqldb/fingerprint.py | 66 | CODE | |
| LOW | plugins/dbms/mysql/fingerprint.py | 32 | CODE | |
| LOW | plugins/dbms/mysql/fingerprint.py | 107 | CODE | |
| LOW | plugins/dbms/mysql/fingerprint.py | 183 | CODE | |
| LOW | plugins/dbms/mssqlserver/enumeration.py | 69 | CODE | |
| LOW | plugins/dbms/mssqlserver/enumeration.py | 173 | CODE | |
| LOW | plugins/dbms/mssqlserver/enumeration.py | 278 | CODE | |
| LOW | plugins/dbms/db2/fingerprint.py | 25 | CODE | |
| LOW | plugins/generic/misc.py | 38 | CODE | |
| LOW | plugins/generic/misc.py | 118 | CODE | |
| LOW | plugins/generic/databases.py | 101 | CODE | |
| LOW | plugins/generic/databases.py | 215 | CODE | |
| LOW | plugins/generic/databases.py | 489 | CODE | |
| LOW | plugins/generic/databases.py | 1101 | CODE | |
| LOW | plugins/generic/databases.py | 1184 | CODE | |
| LOW | plugins/generic/databases.py | 858 | CODE | |
| LOW | plugins/generic/enumeration.py | 41 | CODE | |
| LOW | plugins/generic/custom.py | 42 | CODE | |
| LOW | plugins/generic/custom.py | 96 | CODE | |
| LOW | plugins/generic/custom.py | 141 | CODE | |
| LOW | plugins/generic/users.py | 100 | CODE | |
| LOW | plugins/generic/users.py | 170 | CODE | |
| LOW | plugins/generic/users.py | 377 | CODE | |
| LOW | plugins/generic/filesystem.py | 50 | CODE | |
| LOW | plugins/generic/filesystem.py | 145 | CODE | |
| LOW | plugins/generic/filesystem.py | 229 | CODE | |
| LOW | plugins/generic/filesystem.py | 302 | CODE | |
| LOW | plugins/generic/takeover.py | 109 | CODE | |
| LOW | plugins/generic/search.py | 51 | CODE | |
| LOW | plugins/generic/search.py | 144 | CODE | |
| LOW | plugins/generic/search.py | 349 | CODE | |
| LOW | plugins/generic/syntax.py | 25 | CODE | |
| LOW | plugins/generic/entries.py | 68 | CODE | |
| LOW | plugins/generic/entries.py | 617 | CODE | |
| LOW | plugins/generic/entries.py | 658 | CODE | |
| LOW | plugins/generic/entries.py | 725 | CODE | |
| LOW | plugins/generic/entries.py | 204 | CODE | |
| LOW | plugins/generic/entries.py | 497 | CODE | |
| LOW | tamper/space2comment.py | 16 | CODE | |
| LOW | tamper/space2mysqlblank.py | 21 | CODE | |
| LOW | tamper/charunicodeescape.py | 14 | CODE | |
| LOW | tamper/overlongutf8more.py | 17 | CODE | |
| LOW | tamper/randomcase.py | 20 | CODE | |
| LOW | tamper/charunicodeencode.py | 19 | CODE | |
| LOW | tamper/space2mysqldash.py | 20 | CODE | |
| LOW | tamper/space2dash.py | 16 | CODE | |
| LOW | tamper/randomcomments.py | 17 | CODE | |
| LOW | tamper/ifnull2ifisnull.py | 16 | CODE | |
| LOW | tamper/space2plus.py | 16 | CODE | |
| 436 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | plugins/dbms/spanner/syntax.py | 17 | than chaining multiple CHR() functions with the || operator. | STRING |
| HIGH⚡ | tests/test_xpath.py | 189 | return '{"count":7,"entries":[{...}]}' if int(m.group(1)) == 2 else '{"count":0,"entries":[],"error":nul | CODE |
| HIGH⚡ | tests/test_xpath.py | 193 | return '{"count":0,"entries":[],"error":null}' | CODE |
| HIGH⚡ | tests/test_graphql.py | 304 | # P0-3: the FALSE payload trips a stable HTTP-200 resolver error ({data:null, errors:[...]}), | COMMENT |
| HIGH⚡ | tests/test_graphql.py | 305 | # which yields the same {"user":null} observation as a genuine false. That is NOT a boolean | COMMENT |
| HIGH⚡ | tests/test_graphql.py | 310 | return '{"data":{"user":null},"errors":[{"message":"resolver failed","path":["user"]}]}', 200 | CODE |
| HIGH⚡ | tests/test_graphql.py | 317 | self.assertTrue(gi._hasErrors('{"data":{"user":null},"errors":[{"message":"x"}]}')) | CODE |
| HIGH⚡ | tests/test_graphql.py | 318 | self.assertFalse(gi._hasErrors('{"data":{"user":null}}')) | CODE |
| HIGH⚡ | tests/test_graphql.py | 320 | self.assertTrue(gi._aliasErrored('{"data":{"a0":null},"errors":[{"message":"e","path":["a0"]}]}', "a0")) | CODE |
| HIGH⚡ | tests/test_graphql.py | 833 | NOMATCHV = '{"data":{"createUser":null}}' | CODE |
| HIGH⚡ | tests/test_graphql.py | 963 | return '{"data":{"user":null}}', 200 # 'user' is a real (resolving) field | CODE |
| HIGH | tests/test_graphql.py | 24 | NOMATCH = '{"data":{"user":null}}' | CODE |
| HIGH | tests/test_graphql.py | 393 | page = '{"data":{"user":null}}' | CODE |
| HIGH | tests/test_graphql.py | 684 | NOMATCHV = '{"data":{"user":null}}' | CODE |
| HIGH | tests/test_payload_marking.py | 149 | ('{"b":true,"n":null}', '{"b":true*,"n":null*}'), | CODE |
| HIGH | tests/test_union_engine.py | 179 | fields = self._dump('[{"a":0,"b":"","c":"ok","d":null}]') | CODE |
| HIGH | tests/test_report.py | 164 | # DB NULL (" ") -> JSON null; genuine empty string ("") preserved | COMMENT |
| HIGH⚡ | tests/test_nosql.py | 572 | page = '{"results": [{"id": 1, "username": "luther", "password": null}, {"id": 2, "username": "fluffy"}]}' | CODE |
| HIGH⚡ | tests/test_nosql.py | 793 | self.assertEqual(out, '{"name": {"$ne": null}, "role": "user"}') | CODE |
| HIGH⚡ | tests/test_nosql.py | 819 | self.assertEqual(out, '{"note":"name: old", "name":{"$ne": null}}') | CODE |
| HIGH⚡ | tests/test_nosql.py | 844 | self.assertEqual(out, '{"outer": {"name": {"$ne": null}}}') | CODE |
| HIGH | tests/test_nosql.py | 530 | self.assertEqual(vector.bypass, '{"$ne": null}') | CODE |
| HIGH | tests/test_nosql.py | 673 | self.assertEqual(bypass, "1 || 1==1") | CODE |
| HIGH | tests/test_dump_jsonl.py | 15 | left intact (NOT collapsed to null), and a strict one-object-per-line layout. | STRING |
| HIGH⚡ | tests/test_dump_jsonl.py | 106 | # sqlmap stores a DB NULL as a single space (" "); the machine format must emit JSON null, | COMMENT |
| HIGH⚡ | tests/test_dump_jsonl.py | 120 | # a column whose values list is short for this row index must serialize as null, not crash | COMMENT |
| HIGH⚡ | tests/test_xslt.py | 73 | "cat /etc/passwd && id", | CODE |
| HIGH | tests/test_heuristic_signatures.py | 93 | ("ssti", "Struts2 OGNL", "ognl.OgnlException: target is null for setProperty(null, \"x\", [Ljava.lang.String;)"), | CODE |
| HIGH⚡ | tests/test_techniques.py | 1377 | self.assertIsNone(gql._parseRows('{"data": {"user": null}}', None)) | CODE |
| HIGH | extra/vulnserver/vulnserver.py | 1196 | return None # returns null in data (boolean oracle: true=object, false=null) | CODE |
| HIGH | lib/core/target.py | 186 | conf.data = re.sub(r'("(?P<name>[^"]+)"\s*:\s*)((true|false|null))\b', functools.partial(process, re | CODE |
| HIGH | lib/techniques/graphql/inject.py | 85 | _NOSQL_NE = '{"$ne": null}' | CODE |
| HIGH | lib/techniques/graphql/inject.py | 349 | # Render a parsed JSON value as a single dump cell: NULL for null, compact JSON | COMMENT |
| HIGH | lib/techniques/graphql/inject.py | 928 | # `ADMIN` unquoted, list `[1, 2]`, object `{a: 1}`, null, number, or a quoted string) and is emitted | COMMENT |
| HIGH | lib/techniques/graphql/inject.py | 1166 | # aliases (which may still be null) get classified as clean false observations. | COMMENT |
| HIGH | lib/techniques/odata/inject.py | 333 | payload = _wrap(boundary, "(%s ne null)" % randomStr(length=12, lowercase=True)) | CODE |
| HIGH | lib/techniques/odata/inject.py | 343 | payload = _wrap(boundary, "(%s ne null)" % field) | CODE |
| HIGH⚡ | lib/techniques/nosql/inject.py | 509 | template = _boolean(lambda: _fetchValue(place, parameter, "%s || 1==1" % value), lambda: _fetchValue(place, paramete | CODE |
| HIGH⚡ | lib/techniques/nosql/inject.py | 509 | template = _boolean(lambda: _fetchValue(place, parameter, "%s || 1==1" % value), lambda: _fetchValue(place, paramete | CODE |
| HIGH⚡ | lib/techniques/nosql/inject.py | 514 | lambda p: "%s || %s || 1==2" % (value, p), | CODE |
| HIGH⚡ | lib/techniques/nosql/inject.py | 515 | lambda p: "%s || %s || 1==2" % (value, p), _AQL_PREDICATES): | CODE |
| HIGH⚡ | lib/techniques/nosql/inject.py | 516 | return "ArangoDB", template, "%s || 1==1" % value | CODE |
| HIGH | lib/techniques/nosql/inject.py | 1256 | # like '{"$ne": null}' that was never sent - `null` can behave differently server-side | COMMENT |
| HIGH | lib/techniques/nosql/inject.py | 1011 | template=template, bypass='{"$ne": null}', falseModel=falseModel) | CODE |
| HIGH | lib/techniques/nosql/inject.py | 1240 | if vector.bypass == '{"$ne": null}': | CODE |
| HIGH | lib/techniques/nosql/inject.py | 288 | that is a string, number, bool/null, object, array, or regex-with-flags, and preserves the rest of | STRING |
| HIGH | thirdparty/identywaf/identYwaf.py | 68 | | T | \ / [_ | _ Yl_j l_j`| ~ |`| | | |Y o || l_ | CODE |
| HIGH | thirdparty/bottle/bottle.py | 1135 | default_app.push(self) | CODE |
| HIGH | thirdparty/bottle/bottle.py | 2618 | return self.push() | CODE |
| HIGH | thirdparty/bottle/bottle.py | 3870 | tmp = default_app.push() # Create a new "default application" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_dbms_enum.py | 299 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 302 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 568 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 570 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 630 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 632 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 645 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 647 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 666 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 668 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 690 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_dbms_enum.py | 692 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_dbms_enum.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_dbms_enum.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_dbms_enum.py | 112 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_dbms_enum.py | 114 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_dbms_enum.py | 405 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_dbms_enum.py | 407 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_dbms_enum.py | 504 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_dbms_enum.py | 506 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_api.py | 135 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_api.py | 137 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_api.py | 311 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_api.py | 313 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_techniques.py | 772 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/test_techniques.py | 774 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/test_techniques.py | 962 | # =========================================================================== | COMMENT |
| MEDIUM⚡ | tests/test_techniques.py | 964 | # =========================================================================== | COMMENT |
| MEDIUM | tests/test_techniques.py | 61 | # =========================================================================== | COMMENT |
| MEDIUM | tests/test_techniques.py | 63 | # =========================================================================== | COMMENT |
| MEDIUM | tests/test_techniques.py | 293 | # =========================================================================== | COMMENT |
| MEDIUM | tests/test_techniques.py | 295 | # =========================================================================== | COMMENT |
| MEDIUM | tests/test_techniques.py | 463 | # =========================================================================== | COMMENT |
| MEDIUM | tests/test_techniques.py | 465 | # =========================================================================== | COMMENT |
| MEDIUM | tests/test_techniques.py | 1391 | # =========================================================================== | COMMENT |
| MEDIUM | tests/test_techniques.py | 1393 | # =========================================================================== | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 48 | # ------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 1309 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 1387 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 1407 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 1511 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 1581 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 1616 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 2450 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 2488 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 2766 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 2890 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 2900 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 3008 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 3064 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 3099 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 3188 | #--------------------------------------------------- | COMMENT |
| MEDIUM | thirdparty/clientform/clientform.py | 3237 | #--------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/generic/entries.py | 521 | return agent.whereQuery(query) | COMMENT |
| LOW | tamper/space2mssqlblank.py | 41 | # SOH 01 start of heading | COMMENT |
| LOW | extra/shutils/strip.sh | 1 | #!/bin/bash | COMMENT |
| LOW | extra/esperanto/extraction.py | 461 | # extraction needs BOTH length and substring to work; length may implicitly | COMMENT |
| LOW | extra/runcmd/src/runcmd/stdafx.h | 1 | // stdafx.h : include file for standard system include files, | COMMENT |
| LOW | extra/runcmd/src/runcmd/stdafx.cpp | 1 | // stdafx.cpp : source file that includes just the standard includes | COMMENT |
| LOW | extra/icmpsh/icmpsh-m.c | 21 | #include <sys/socket.h> | COMMENT |
| LOW | extra/icmpsh/__init__.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | extra/icmpsh/icmpsh-s.c | 21 | #include <winsock2.h> | COMMENT |
| LOW | extra/icmpsh/icmpsh_m.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | extra/icmpsh/icmpsh-m.pl | 1 | #!/usr/bin/env perl | COMMENT |
| LOW | extra/boundarycheck/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | lib/core/compat.py | 61 | COMMENT | |
| LOW | lib/core/convert.py | 41 | # and BigArray disk chunks. The former serializer could execute code while loading, so | COMMENT |
| LOW | lib/core/settings.py | 221 | COMMENT | |
| LOW | lib/core/settings.py | 621 | # frequency model warms up. Magnitude is small so genuine learned counts overtake it within a few dozen | COMMENT |
| LOW | lib/core/settings.py | 641 | COMMENT | |
| LOW | lib/core/settings.py | 661 | LOW_CARDINALITY_MAX_GUESSES = 8 | COMMENT |
| LOW | lib/core/settings.py | 1241 | # from the first hit only. An explicit '--file-read' is a deliberate request and still gets the full | COMMENT |
| LOW | lib/core/settings.py | 1261 | (".NET XslCompiledTransform", r"System\.Xml\.Xsl\.(?:XslLoadException|XsltException)"), | COMMENT |
| LOW | lib/core/settings.py | 1381 | # Out-of-band (interactsh) collector for blind XXE confirmation. Public default | COMMENT |
| LOW | lib/core/settings.py | 1661 | COMMENT | |
| LOW | lib/utils/sqllint.py | 61 | # number is excluded because some dialects legitimately space-separate two | COMMENT |
| LOW | lib/utils/sqllint.py | 81 | # a schema filter appended onto a base query that already carries a WHERE). | COMMENT |
| LOW | lib/controller/checks.py | 161 | # If the DBMS has not yet been fingerprinted (via simple heuristic check | COMMENT |
| LOW | lib/controller/action.py | 61 | from lib.techniques.blind import multibit | COMMENT |
| LOW | lib/request/timeless.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | lib/request/timeless.py | 141 | # populations a cond-last vote can be drawn from: | COMMENT |
| LOW | lib/request/timeless.py | 161 | SPRT_ERROR = 0.02 # bound on BOTH the false-positive and the false-negative rate | COMMENT |
| LOW | lib/request/timeless.py | 261 | return proxy_tuple(conf.proxy, conf.proxyCred) | COMMENT |
| LOW | lib/request/timeless.py | 641 | andVector = andVector or vector | COMMENT |
| LOW | lib/request/timeless.py | 661 | # Oracle, Microsoft SQL Server, Sybase, SQLite, Firebird, ClickHouse, IBM DB2, Informix, HSQLDB, SAP MaxDB. | COMMENT |
| LOW | lib/request/timeless.py | 701 | # no entry -> they gracefully fall back to classic time-based (SLEEP/heavy-query) extraction. | COMMENT |
| LOW | lib/request/timeless.py | 721 | # gates the WORK AMOUNT (the count) rather than selecting between a heavy and a cheap CASE branch. This is | COMMENT |
| LOW | lib/request/timeless.py | 881 | cheapPair = _pairMs(conn, reqFast, reqFast, timeout=timeout) | COMMENT |
| LOW | lib/techniques/blind/inference.py | 401 | COMMENT | |
| LOW | lib/techniques/sparql/inject.py | 81 | COMMENT | |
| LOW | lib/techniques/xpath/inject.py | 161 | if conf.verbose >= 3: | COMMENT |
| LOW | lib/techniques/hql/inject.py | 241 | COMMENT | |
| LOW | lib/techniques/graphql/inject.py | 101 | # Per-DBMS building blocks for blind inference and enumeration, driven by the boolean/time oracle | COMMENT |
| LOW | lib/techniques/nosql/inject.py | 81 | # the parameter is plainly SQL-injectable (not NoSQL); surfaced as a hint when nothing NoSQL matches | COMMENT |
| LOW | lib/techniques/nosql/inject.py | 681 | raise InconclusiveError() | COMMENT |
| LOW | thirdparty/wininetpton/__init__.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | thirdparty/wininetpton/win_inet_pton.py | 21 | # InetNtopW( | COMMENT |
| LOW | thirdparty/chardet/mbcssm.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/compat.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/euckrprober.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/sjisprober.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/cp949prober.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/__init__.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/euctwfreq.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/euctwfreq.py | 21 | # | COMMENT |
| LOW | thirdparty/chardet/chardistribution.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/latin1prober.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/charsetprober.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/gb2312prober.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/mbcharsetprober.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/euctwprober.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/codingstatemachine.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| LOW | thirdparty/chardet/escprober.py | 1 | ######################## BEGIN LICENSE BLOCK ######################## | COMMENT |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sqlmap.py | 8 | CODE | |
| LOW | sqlmap.py | 676 | CODE | |
| LOW | sqlmap.py | 676 | CODE | |
| LOW | sqlmap.py | 676 | CODE | |
| LOW | plugins/generic/custom.py | 8 | CODE | |
| LOW | extra/shutils/newlines.py | 3 | CODE | |
| LOW | extra/shutils/duplicates.py | 8 | CODE | |
| LOW | extra/cloak/cloak.py | 10 | CODE | |
| LOW | extra/esperanto/__init__.py | 24 | CODE | |
| LOW | extra/esperanto/__init__.py | 25 | CODE | |
| LOW | extra/esperanto/__init__.py | 26 | CODE | |
| LOW | extra/esperanto/__init__.py | 27 | CODE | |
| LOW | extra/esperanto/__init__.py | 27 | CODE | |
| LOW | extra/esperanto/__init__.py | 27 | CODE | |
| LOW | extra/esperanto/__init__.py | 27 | CODE | |
| LOW | extra/esperanto/__init__.py | 27 | CODE | |
| LOW | extra/esperanto/__init__.py | 27 | CODE | |
| LOW | extra/esperanto/__init__.py | 28 | CODE | |
| LOW | extra/esperanto/__init__.py | 28 | CODE | |
| LOW | extra/esperanto/atlas.py | 14 | CODE | |
| LOW | extra/dbgtool/dbgtool.py | 10 | CODE | |
| LOW | extra/boundarycheck/boundarycheck.py | 56 | CODE | |
| LOW | extra/vulnserver/vulnserver.py | 10 | CODE | |
| LOW | lib/core/subprocessng.py | 8 | CODE | |
| LOW | lib/core/compat.py | 8 | CODE | |
| LOW | lib/core/option.py | 8 | CODE | |
| LOW | lib/core/threads.py | 8 | CODE | |
| LOW | lib/core/common.py | 8 | CODE | |
| LOW | lib/parse/cmdline.py | 8 | CODE | |
| LOW | lib/utils/brute.py | 8 | CODE | |
| LOW | lib/utils/sgmllib.py | 13 | CODE | |
| LOW | lib/utils/hash.py | 8 | CODE | |
| LOW | lib/utils/api.py | 9 | CODE | |
| LOW | lib/utils/progress.py | 8 | CODE | |
| LOW | lib/utils/crawler.py | 8 | CODE | |
| LOW | lib/takeover/metasploit.py | 8 | CODE | |
| LOW | lib/takeover/abstraction.py | 8 | CODE | |
| LOW | lib/controller/controller.py | 8 | CODE | |
| LOW | lib/request/dns.py | 8 | CODE | |
| LOW | lib/request/comparison.py | 8 | CODE | |
| LOW | lib/request/inject.py | 8 | CODE | |
| LOW | lib/techniques/blind/inference.py | 8 | CODE | |
| LOW | lib/techniques/error/use.py | 8 | CODE | |
| LOW | thirdparty/chardet/__init__.py | 21 | CODE | |
| LOW | thirdparty/chardet/__init__.py | 21 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 2 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 2 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 2 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 2 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 2 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 3 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 3 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 3 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 3 | CODE | |
| LOW | thirdparty/colorama/__init__.py | 4 | CODE | |
| LOW | thirdparty/identywaf/identYwaf.py | 11 | CODE | |
| LOW | thirdparty/beautifulsoup/beautifulsoup.py | 79 | CODE | |
| LOW | thirdparty/beautifulsoup/beautifulsoup.py | 80 | CODE | |
| LOW | thirdparty/beautifulsoup/beautifulsoup.py | 1766 | CODE | |
| LOW | thirdparty/beautifulsoup/beautifulsoup.py | 1770 | CODE | |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_fingerprint.py | 67 | # output. (In the test harness Backend.getDbms() is None because set_dbms uses | COMMENT |
| MEDIUM | tests/_testutils.py | 148 | # --- property/fuzz testing harness (shared so individual test files don't each reinvent it) --- | COMMENT |
| MEDIUM | tests/test_jitter_stress.py | 46 | # no-ops (defeating sqlmap's main per-request-spike defense and making this harness far too pessimistic). | COMMENT |
| LOW | tests/test_brute.py | 91 | # runThreads -> just call the worker once synchronously | COMMENT |
| LOW⚡ | tests/test_target_parsing.py | 345 | _resumeDBMS() # nothing stored: must just return | CODE |
| LOW⚡ | tests/test_hash_crack.py | 191 | # must simply return without touching anything | COMMENT |
| MEDIUM | extra/esperanto/run.py | 12 | python run.py --live # local DBMS dev harness | STRING |
| MEDIUM | extra/esperanto/__main__.py | 698 | # internal dev/test harness switches - functional but hidden from --help (--live drives the | COMMENT |
| MEDIUM | extra/esperanto/__main__.py | 711 | print(_banner()) # CLI identity (after the dev-harness paths above) | CODE |
| MEDIUM | lib/core/common.py | 2912 | if mad <= 0: # degenerate (near-constant model) - nothing robust to trim on | CODE |
| MEDIUM | lib/core/settings.py | 263 | # delay threshold and miss genuine delays. Deliberately wide (~10 robust sigmas) so a clean model is | COMMENT |
| MEDIUM | lib/techniques/nosql/inject.py | 597 | # makes attribution robust to an injection context that rejects any one function AND, by WHICH members | COMMENT |
| LOW | lib/techniques/nosql/inject.py | 578 | # name could change the PREDICATE STRUCTURE (not just add a filter) once interpolated, so it is | COMMENT |
| MEDIUM | thirdparty/beautifulsoup/beautifulsoup.py | 1456 | # haven't already gone through a supposedly comprehensive | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | plugins/dbms/mysql/fingerprint.py | 251 | # Check if it is MySQL >= 5.7 | COMMENT |
| LOW⚡ | plugins/dbms/mysql/fingerprint.py | 255 | # Check if it is MySQL >= 5.6 | COMMENT |
| LOW⚡ | plugins/dbms/mysql/fingerprint.py | 259 | # Check if it is MySQL >= 5.5 | COMMENT |
| LOW⚡ | plugins/dbms/mysql/fingerprint.py | 263 | # Check if it is MySQL >= 5.1.2 and < 5.5.0 | COMMENT |
| LOW | plugins/dbms/mysql/fingerprint.py | 276 | # Check if it is MySQL >= 5.0.0 and < 5.1.2 | COMMENT |
| LOW | lib/core/common.py | 2727 | # Check if the common output (item) starts with prevValue | COMMENT |
| LOW | lib/core/settings.py | 385 | # Check if running in terminal | COMMENT |
| LOW | lib/utils/tui.py | 797 | # Check if process ended | COMMENT |
| LOW | lib/utils/tui.py | 912 | # Check if ncurses is available | COMMENT |
| LOW | thirdparty/chardet/charsetprober.py | 122 | # Check if we're coming out of or entering an HTML tag | COMMENT |
| LOW | thirdparty/socks/socks.py | 661 | # Check if the destination address provided is an IP address | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/test_dump_jsonl.py | 96 | # unlike CSV (header row) / HTML (doc scaffold), JSONL must be pure data lines | COMMENT |
| MEDIUM | tests/test_filesystem.py | 221 | # Drive the generic readFile orchestration with a stubbed stackedReadFile | COMMENT |
| MEDIUM | tests/test_filesystem.py | 621 | # Drive the full inject orchestration with the file write succeeding: | COMMENT |
| MEDIUM | tests/test_techniques.py | 265 | # session to run; stub it so unionUse()'s orchestration + parse is what is exercised. | COMMENT |
| MEDIUM | data/txt/common-files.txt | 1811 | # Containers and orchestration secrets | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | extra/icmpsh/icmpsh_m.py | 66 | # Create a new IP packet and set its source and destination addresses | COMMENT |
| MEDIUM | extra/icmpsh/icmpsh_m.py | 71 | # Create a new ICMP packet of type ECHO REPLY | COMMENT |
| MEDIUM | lib/core/option.py | 1431 | # Create a custom boundary object for user's supplied prefix | COMMENT |
| MEDIUM | thirdparty/pydes/pyDes.py | 459 | # Create the 16 subkeys, K[1] - K[16] | COMMENT |
| MEDIUM | thirdparty/bottle/bottle.py | 3870 | tmp = default_app.push() # Create a new "default application" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/dbms/h2/filesystem.py | 26 | CODE | |
| LOW | plugins/dbms/mysql/filesystem.py | 40 | CODE | |
| LOW | lib/request/connect.py | 1140 | CODE | |
| LOW | lib/request/http2.py | 1473 | CODE | |
| LOW | lib/request/http2.py | 1578 | CODE | |
| LOW | lib/request/inject.py | 630 | CODE | |
| LOW | lib/techniques/ldap/inject.py | 341 | CODE | |
| LOW | thirdparty/beautifulsoup/beautifulsoup.py | 1101 | CODE | |
| LOW | thirdparty/clientform/clientform.py | 944 | CODE | |
| LOW | thirdparty/clientform/clientform.py | 978 | CODE | |
| LOW | thirdparty/clientform/clientform.py | 1090 | CODE | |
| LOW | thirdparty/clientform/clientform.py | 2769 | CODE | |
| LOW | thirdparty/socks/socks.py | 194 | CODE | |
| LOW | thirdparty/bottle/bottle.py | 3882 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lib/techniques/ssti/inject.py | 97 | (("${self.module.runtime.util.os.popen('{CMD}').read()}", "self.module.runtime.util.os.popen"), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sqlmap.py | 679 | __all__ = ["scan", "scanFromRequest", "SqlmapError"] | CODE |
| LOW | extra/esperanto/__init__.py | 30 | __all__ = ["Esperanto", "hostExtract", "buildHandler", "Cap", "ExtractResult", "BulkResult", "Dialect", "InferenceStrate | CODE |
| LOW | extra/esperanto/atlas.py | 508 | __all__ = [_n for _n in list(globals()) if not _n.startswith('__') and _n != 'binascii'] | CODE |
| LOW | lib/utils/library.py | 19 | __all__ = ["scan", "scanFromRequest", "SqlmapError"] | CODE |
| LOW | lib/utils/sgmllib.py | 22 | __all__ = ["SGMLParser", "SGMLParseError"] | CODE |
| LOW | thirdparty/chardet/__init__.py | 24 | __all__ = ['UniversalDetector', 'detect', 'detect_all', '__version__', 'VERSION'] | CODE |
| LOW | thirdparty/clientform/clientform.py | 59 | __all__ = ['AmbiguityError', 'CheckboxControl', 'Control', | CODE |
| LOW | thirdparty/fcrypt/fcrypt.py | 42 | __all__ = ['crypt'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_ldap.py | 338 | oracle = _mockOracle("admin@example.com") | CODE |
| LOW | tests/test_ldap.py | 341 | self.assertEqual(value, "admin@example.com") | CODE |
| LOW | tests/test_sparql.py | 29 | ("http://example.org/p1", "http://xmlns.com/foaf/0.1/mbox", "luther@example.org"), | CODE |
| LOW | tests/test_hash_crack.py | 176 | # the synthesised key uses the dummy-user prefix and maps to the bare hash | COMMENT |
| LOW | extra/vulnserver/vulnserver.py | 362 | ("http://example.org/p1", "http://xmlns.com/foaf/0.1/mbox", "luther@example.org"), | CODE |
| LOW | lib/core/common.py | 3404 | >>> findDynamicContent("Lorem ipsum dolor sit amet, congue tation referrentur ei sed. Ne nec legimus habemus recusab | STRING |
| LOW | lib/core/common.py | 3404 | >>> findDynamicContent("Lorem ipsum dolor sit amet, congue tation referrentur ei sed. Ne nec legimus habemus recusab | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | thirdparty/clientform/clientform.py | 348 | Warning: don't forget to call lastpart()! | STRING |