{"id":46,"date":"2008-10-30T21:34:25","date_gmt":"2008-10-31T01:34:25","guid":{"rendered":"http:\/\/www.compdigitec.com\/labs\/?p=46"},"modified":"2008-11-02T13:57:15","modified_gmt":"2008-11-02T17:57:15","slug":"allowing-shorter-passwords-in-autoindex","status":"publish","type":"post","link":"http:\/\/www.compdigitec.com\/labs\/2008\/10\/30\/allowing-shorter-passwords-in-autoindex\/","title":{"rendered":"Allowing shorter passwords in AutoIndex"},"content":{"rendered":"<p>If you&#8217;ve ever found <a rel=\"nofollow\" href=\"http:\/\/autoindex.sourceforge.net\/\">AutoIndex PHP Script<\/a>&#8216;s password valiator&#8217;s resrictions on a long password annoying, you&#8217;re not alone. Fortunately, we have found a workaround for it.<\/p>\n<p><strong>Steps<\/strong><\/p>\n<ol>\n<li>Download the AutoIndex script.<\/li>\n<li>Extract the archive and open classes\/Admin.php<\/li>\n<li>Find the line that says &#8220;<code>private static function validate_new_password($pass1, $pass2)<\/code>&#8220;.<\/li>\n<li>Move further down to the line that says &#8220;<code>if (strlen($pass1) &lt; <\/code>&#8221; and:<\/li>\n<li>Change the minimal password length (the number after &#8220;$pass1) &lt; &#8220;),<\/li>\n<li><strong>(Optional) <\/strong>&#8230;and the accompanying message following it.<\/li>\n<li>Save and you&#8217;re done!<\/li>\n<\/ol>\n<p>If you found this post on allowing shorter passwords in AutoIndex helpful, please help Compdigitec by spreading the word. Don&#8217;t forget to subscribe to Compdigitec Labs for more interesting articles!<\/p>","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve ever found AutoIndex PHP Script&#8216;s password valiator&#8217;s resrictions on a long password annoying, you&#8217;re not alone. Fortunately, we have found a workaround for it. Steps Download the AutoIndex script. Extract the archive and open classes\/Admin.php Find the line that says &#8220;private static function validate_new_password($pass1, $pass2)&#8220;. Move further down to the line that says [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14,5],"tags":[231,134,233,864,232],"_links":{"self":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/46"}],"collection":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":0,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/46\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/categories?post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/tags?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}