View raw JSON
{
"slug": "wp-idados-crud",
"pattern": "direct_mysqli_connect",
"kind": "builtin",
"version": "0.0.11",
"hit_count": 1,
"first_hit": {
"file": "assets/idados_functions.php",
"line": 423,
"snippet": "$mysqli = new mysqli($tb['rows'][0]['i0007_db_host'], $tb['rows'][0]['i0007_db_user'], $tb['rows'][0]['i0007_db_pass'], $tb['rows'][0]['i0007_db_name']);"
},
"explanation": "plugin instantiates `new mysqli($var['host'], ...)` \u2014 a direct MySQL connection bypassing `$wpdb`. Legitimate WordPress plugins always go through `$wpdb` (which already has the connection); a raw `mysqli` connect using parsed wp-config credentials is the credential-harvesting backdoor shape."
}