Title: HacKan's Replies | WordPress.org

---

# HacKan

  [  ](https://wordpress.org/support/users/hackan/)

 *   [Profile](https://wordpress.org/support/users/hackan/)
 *   [Topics Started](https://wordpress.org/support/users/hackan/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hackan/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hackan/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hackan/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hackan/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hackan/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[More Secure Login] [Plugin: BAW More Secure Login] Broken plugin locks out of wp admin](https://wordpress.org/support/topic/plugin-baw-more-secure-login-broken-plugin-locks-out-of-wp-admin/)
 *  Thread Starter [HacKan](https://wordpress.org/support/users/hackan/)
 * (@hackan)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-baw-more-secure-login-broken-plugin-locks-out-of-wp-admin/#post-2999741)
 * yep, that definitely solve the 2nd issue 🙂
    for the first one, i simply commented
   out that line, i dunno what was that doing there, it seems to be for debugging
   purposes, is it?
 * will u apply those changes officially? just to be sure there’s no drawback here,’
   cause i know almost nothing about php
 * edit: i’ve just noticed, the plugin says version 1.2, yet wordpress says 1.0.3
 * here is the plugin modified: [http://pastebin.com/HqxVnj3A](http://pastebin.com/HqxVnj3A)
 * reggards,
    HacKan
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[More Secure Login] [Plugin: BAW More Secure Login] Broken plugin locks out of wp admin](https://wordpress.org/support/topic/plugin-baw-more-secure-login-broken-plugin-locks-out-of-wp-admin/)
 *  Thread Starter [HacKan](https://wordpress.org/support/users/hackan/)
 * (@hackan)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-baw-more-secure-login-broken-plugin-locks-out-of-wp-admin/#post-2999739)
 * ok, i find out that the second error is due to my server’s php version. that 
   function supports the third param as of php v5.3.0; my svr has… a bit older one…
   
   Would u consider changing that line for a more compatible one?
 * might be solved this way:
 *     ```
       function rstrstr($haystack,$needle, $start=0)
           {
               return substr($haystack, $start,strpos($haystack, $needle));
           }
       ```
   
 * [http://www.php.net/manual/es/function.strstr.php#103577](http://www.php.net/manual/es/function.strstr.php#103577)
   
   i was actually thinking in doing something like that xD
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[More Secure Login] [Plugin: BAW More Secure Login] Broken plugin locks out of wp admin](https://wordpress.org/support/topic/plugin-baw-more-secure-login-broken-plugin-locks-out-of-wp-admin/)
 *  Thread Starter [HacKan](https://wordpress.org/support/users/hackan/)
 * (@hackan)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-baw-more-secure-login-broken-plugin-locks-out-of-wp-admin/#post-2999731)
 * Well, i was checking the code… first of all, the second error:
    143 else if($
   this->StartsWith($hash, ‘$BPBK$100k$’)) 144 { 145 $saltAndhash = substr($hash,
   11); **146** $salt = strstr($saltAndhash, ‘$’, true); 147 $hash = substr(strstr(
   $saltAndhash, ‘$’), 1); 148 $realHash = base64_encode($this->BSPBKDF2($password,
   base64_decode($salt), 100000)); 149 return ($hash == $realHash); 150 }
 * i can’t see the error here, the line is correctly formated :S
 * ——–
    now the first one:
 * 338 function wp_check_password($password, $hash, $user_id = ”)
    339 { **340**
   file_put_contents(“/var/www/wordpress/hashBWALL”, “hash = $hash\n”, FILE_APPEND);
   341 global $wp_hasher; 341 $wp_hasher = new BallastPHPHash();
 * well, clearly i dunno how is it expecting to write _/var/www/wordpress/hashBWALL_
   xD
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Centrora WordPress Security™] [Plugin: OSE Firewall™] OSE Firewall Suffusion theme](https://wordpress.org/support/topic/plugin-ose-firewall-ose-firewall-suffusion-theme/)
 *  Thread Starter [HacKan](https://wordpress.org/support/users/hackan/)
 * (@hackan)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-ose-firewall-ose-firewall-suffusion-theme/#post-2958029)
 * also, i noticed it broke the wp user upper bar, so i had to reinstall wp too,
   and it fixed it.
 * my recomendation: DO NOT USE IT WITH WP 3.4.1 AND OR SUFFUSION 4.2.8

Viewing 4 replies - 1 through 4 (of 4 total)