{"record":{"id":"b16cda57858d3b1a","repo":"sqlmapproject/sqlmap","slug":"option-randomize-is-incompatible-with-option","errorCode":null,"errorMessage":"option '--randomize' is incompatible with option '-p'","messagePattern":"option '--randomize' is incompatible with option '-p'","errorType":"exception","errorClass":"SqlmapSyntaxException","httpStatus":null,"severity":"error","filePath":"lib/core/option.py","lineNumber":3067,"sourceCode":"\n    if conf.dumpFormat not in getPublicTypeMembers(DUMP_FORMAT, True):\n        errMsg = \"option '--dump-format' accepts one of following values: %s\" % \", \".join(getPublicTypeMembers(DUMP_FORMAT, True))\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.uValues and (not re.search(r\"\\A['\\w\\s.,()%s-]+\\Z\" % CUSTOM_INJECTION_MARK_CHAR, conf.uValues) or conf.uValues.count(CUSTOM_INJECTION_MARK_CHAR) != 1):\n        errMsg = \"option '--union-values' must contain valid UNION column values, along with the injection position \"\n        errMsg += \"(e.g. 'NULL,1,%s,NULL')\" % CUSTOM_INJECTION_MARK_CHAR\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.skip and conf.testParameter:\n        if intersect(conf.skip, conf.testParameter):\n            errMsg = \"option '--skip' is incompatible with option '-p'\"\n            raise SqlmapSyntaxException(errMsg)\n\n    if conf.rParam and conf.testParameter:\n        if intersect(conf.rParam, conf.testParameter):\n            errMsg = \"option '--randomize' is incompatible with option '-p'\"\n            raise SqlmapSyntaxException(errMsg)\n\n    if conf.mobile and conf.agent:\n        errMsg = \"switch '--mobile' is incompatible with option '--user-agent'\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.proxy and conf.ignoreProxy:\n        errMsg = \"option '--proxy' is incompatible with switch '--ignore-proxy'\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.alert and conf.alert.startswith('-'):\n        errMsg = \"value for option '--alert' must be valid operating system command(s)\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.timeSec < 1:\n        errMsg = \"value for option '--time-sec' must be a positive integer\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.hashFile and any((conf.direct, conf.url, conf.logFile, conf.bulkFile, conf.googleDork, conf.configFile, conf.requestFile, conf.updateAll, conf.smokeTest, conf.wizard, conf.dependencies, conf.purge, conf.listTampers)):","sourceCodeStart":3049,"sourceCodeEnd":3085,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/core/option.py#L3049-L3085","documentation":"Error \"option '--randomize' is incompatible with option '-p'\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/core/option.py:3067 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}