[原创]家用路由器漏洞挖掘实例分析[图解d-ag真人国际厅网站

umask 026

pidfile /var/run/httpd.pid

loggmt on  #开启log

errorlog /log #log文件

 

tuning

    numconnections 15

    bufsize 12288

    inputbufsize 4096

    scriptbufsize 4096

    numheaders 100

    timeout 60

    scripttimeout 60

 

control

    types

    {

        text/html    { html htm }

        text/xml    { xml }

        text/plain    { txt }

        image/gif    { gif }

        image/jpeg    { jpg }

        text/css    { css }

        application/octet-stream { * }

    }

    specials

    {

        dump        { /dump }

        cgi            { cgi }

        imagemap    { map }

        redirect    { url }

    }

    external

    {

        /usr/sbin/phpcgi { php }

    }

 

 

server

    servername "linux, http/1.1, "

    serverid "1234"

    family inet

    interface eth0 #对应qemu仿真路由器系统的网卡

    address 192.168.x.x #qemu仿真路由器系统的ip

    port "1234" #对应未被使用的端口

    virtual

    {

        anyhost

        control

        {

            alias /

            location /htdocs/web

            indexnames { index.php }

            {

                /usr/sbin/phpcgi { router_info.xml }

                /usr/sbin/phpcgi { post_login.xml }

            }

        }

        control

        {

            alias /hnap1

            location /htdocs/hnap1

            {

                /usr/sbin/hnap { hnap }

            }

            indexnames { index.hnap }

        }

    }

原文链接:https://bbs.kanxue.com/thread-268623.htm

网络摘文,本文作者:15h,如若转载,请注明出处:https://www.15cov.cn/2023/08/27/原创家用路由器漏洞挖掘实例分析图解d-link-dir-815多次溢/

发表评论

邮箱地址不会被公开。 必填项已用*标注

网站地图