当前位置: 首页 > news >正文

阿盟住房与建设局门户网站数据录入网站开发

阿盟住房与建设局门户网站,数据录入网站开发,腾讯广告建站工具,网站推广工作1.打开靶机 打开第一个链接 2.万能密码 使用万能密码#xff1a;a or 1 # 密码为随意 第二个用kali打开 3.ssh连接靶机 ssh ctf284490d0-7600-4c65-9160-5ced02f45633.node5.buuoj.cn -p 28191 由题可知密码为123456 4.找到并修改index.php文件 找到index.php文件 #内容如… 1.打开靶机 打开第一个链接 2.万能密码 使用万能密码a or 1 # 密码为随意 第二个用kali打开 3.ssh连接靶机 ssh ctf284490d0-7600-4c65-9160-5ced02f45633.node5.buuoj.cn -p 28191 由题可知密码为123456 4.找到并修改index.php文件 找到index.php文件 #内容如下 !DOCTYPE html html langzh head     meta charsetUTF-8     meta http-equivX-UA-Compatible contentIEedge,chrome1     meta nameviewport contentwidthdevice-width, initial-scale1.0     title让我访问/title     link hrefhttp://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css relstylesheet     link hrefhttp://cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css relstylesheet     link relstylesheet typetext/css hrefcss/htmleaf-demo.css     style typetext/css         .form-bg {             padding: 2em 0;         }         .form-horizontal {             background: #ffffff;             padding-bottom: 40px;             border-radius: 15px;             text-align: center;         }         .form-horizontal .heading {             display: block;             font-size: 35px;             font-weight: 700;             padding: 35px 0;             border-bottom: 1px solid #f0f0f0;             margin-bottom: 30px;         }         .form-horizontal .form-group {             padding: 0 40px;             margin: 0 0 25px 0;             position: relative;         }         .form-horizontal .form-control {             background: #f0f0f0;             border: none;             border-radius: 20px;             box-shadow: none;             padding: 0 20px 0 45px;             height: 40px;             transition: all 0.3s ease 0s;         }         .form-horizontal .form-control:focus {             background: #e0e0e0;             box-shadow: none;             outline: 0 none;         }         .form-horizontal .form-group i {             position: absolute;             top: 12px;             left: 60px;             font-size: 17px;             color: #c8c8c8;             transition: all 0.5s ease 0s;         }         .form-horizontal .form-control:focus i {             color: #00b4ef;         }         .form-horizontal .fa-question-circle {             display: inline-block;             position: absolute;             top: 12px;             right: 60px;             font-size: 20px;             color: #808080;             transition: all 0.5s ease 0s;         }         .form-horizontal .fa-question-circle:hover {             color: #000;         }         .form-horizontal .main-checkbox {             float: left;             width: 20px;             height: 20px;             background: #11a3fc;             border-radius: 50%;             position: relative;             margin: 5px 0 0 5px;             border: 1px solid #11a3fc;         }         .form-horizontal .main-checkbox label {             width: 20px;             height: 20px;             position: absolute;             top: 0;             left: 0;             cursor: pointer;         }         .form-horizontal .main-checkbox label:after {             content: ;             width: 10px;             height: 5px;             position: absolute;             top: 5px;             left: 4px;             border: 3px solid #fff;             border-top: none;             border-right: none;             background: transparent;             opacity: 0;             -webkit-transform: rotate(-45deg);             transform: rotate(-45deg);         }         .form-horizontal .main-checkbox input[typecheckbox] {             visibility: hidden;         }         .form-horizontal .main-checkbox input[typecheckbox]:checked label:after {             opacity: 1;         }         .form-horizontal .text {             float: left;             margin-left: 7px;             line-height: 20px;             padding-top: 5px;             text-transform: capitalize;         }         .form-horizontal .btn {             float: right;             font-size: 14px;             color: #fff;             background: #00b4ef;             border-radius: 30px;             padding: 10px 25px;             border: none;             text-transform: capitalize;             transition: all 0.5s ease 0s;         }         media only screen and (max-width: 479px) {             .form-horizontal .form-group {                 padding: 0 25px;             }             .form-horizontal .form-group i {                 left: 45px;             }             .form-horizontal .btn {                 padding: 10px 20px;             }         }     /style /head body div classhtmleaf-container     header classhtmleaf-header         h1我还可以教你敦 dua 郎哦。/h1         div classhtmleaf-links         /div     /header     div classdemo form-bg         div classcontainer             div classrow                 div classcol-md-offset-3 col-md-6                     form classform-horizontal methodget action                         span classheading让我访问/span                         div classform-group                             input typetext classform-control idinputEmail3 placeholder用户名 nameusername                         /div                         div classform-group help                             input typepassword classform-control idinputPassword3 placeholder密码                                    namepassword                         /div                         div classform-group help                             input typesubmit classform-control idinputSubmit                         /div                     /form                 /div             /div         /div     /div     div classrelated     /div /div /body /html h4 styletext-align: center; color: #000000 ?php error_reporting(0); include dbConnect.php; $username $_GET[username]; $password $_GET[password]; if (isset($_GET[username]) isset($_GET[password])) {     $sql SELECT * FROM users WHERE username $username AND password $password;     $result $mysqli-query($sql);     if (!$result)         die(mysqli_error($mysqli));     $data $result-fetch_all(); // 从结果集中获取所有数据     if (!empty($data)) {         echo 登录成功;     } else {         echo 用户名或密码错误;     } } ? /h4 $ 增加两行 $username addslashes($username); $password addslashes($password); 最终index.php的内容如下 !DOCTYPE html html langzh head     meta charsetUTF-8     meta http-equivX-UA-Compatible contentIEedge,chrome1     meta nameviewport contentwidthdevice-width, initial-scale1.0     title让我访问/title     link hrefhttp://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css relstylesheet     link hrefhttp://cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css relstylesheet     link relstylesheet typetext/css hrefcss/htmleaf-demo.css     style typetext/css         .form-bg {             padding: 2em 0;         }         .form-horizontal {             background: #ffffff;             padding-bottom: 40px;             border-radius: 15px;             text-align: center;         }         .form-horizontal .heading {             display: block;             font-size: 35px;             font-weight: 700;             padding: 35px 0;             border-bottom: 1px solid #f0f0f0;             margin-bottom: 30px;         }         .form-horizontal .form-group {             padding: 0 40px;             margin: 0 0 25px 0;             position: relative;         }         .form-horizontal .form-control {             background: #f0f0f0;             border: none;             border-radius: 20px;             box-shadow: none;             padding: 0 20px 0 45px;             height: 40px;             transition: all 0.3s ease 0s;         }         .form-horizontal .form-control:focus {             background: #e0e0e0;             box-shadow: none;             outline: 0 none;         }         .form-horizontal .form-group i {             position: absolute;             top: 12px;             left: 60px;             font-size: 17px;             color: #c8c8c8;             transition: all 0.5s ease 0s;         }         .form-horizontal .form-control:focus i {             color: #00b4ef;         }         .form-horizontal .fa-question-circle {             display: inline-block;             position: absolute;             top: 12px;             right: 60px;             font-size: 20px;             color: #808080;             transition: all 0.5s ease 0s;         }         .form-horizontal .fa-question-circle:hover {             color: #000;         }         .form-horizontal .main-checkbox {             float: left;             width: 20px;             height: 20px;             background: #11a3fc;             border-radius: 50%;             position: relative;             margin: 5px 0 0 5px;             border: 1px solid #11a3fc;         }         .form-horizontal .main-checkbox label {             width: 20px;             height: 20px;             position: absolute;             top: 0;             left: 0;             cursor: pointer;         }         .form-horizontal .main-checkbox label:after {             content: ;             width: 10px;             height: 5px;             position: absolute;             top: 5px;             left: 4px;             border: 3px solid #fff;             border-top: none;             border-right: none;             background: transparent;             opacity: 0;             -webkit-transform: rotate(-45deg);             transform: rotate(-45deg);         }         .form-horizontal .main-checkbox input[typecheckbox] {             visibility: hidden;         }         .form-horizontal .main-checkbox input[typecheckbox]:checked label:after {             opacity: 1;         }         .form-horizontal .text {             float: left;             margin-left: 7px;             line-height: 20px;             padding-top: 5px;             text-transform: capitalize;         }         .form-horizontal .btn {             float: right;             font-size: 14px;             color: #fff;             background: #00b4ef;             border-radius: 30px;             padding: 10px 25px;             border: none;             text-transform: capitalize;             transition: all 0.5s ease 0s;         }         media only screen and (max-width: 479px) {             .form-horizontal .form-group {                 padding: 0 25px;             }             .form-horizontal .form-group i {                 left: 45px;             }             .form-horizontal .btn {                 padding: 10px 20px;             }         }     /style /head body div classhtmleaf-container     header classhtmleaf-header         h1我还可以教你敦 dua 郎哦。/h1         div classhtmleaf-links         /div     /header     div classdemo form-bg         div classcontainer             div classrow                 div classcol-md-offset-3 col-md-6                     form classform-horizontal methodget action                         span classheading让我访问/span                         div classform-group                             input typetext classform-control idinputEmail3 placeholder用户名 nameusername                         /div                         div classform-group help                             input typepassword classform-control idinputPassword3 placeholder密码                                    namepassword                         /div                         div classform-group help                             input typesubmit classform-control idinputSubmit                         /div                     /form                 /div             /div         /div     /div     div classrelated     /div /div /body /html h4 styletext-align: center; color: #000000 ?php error_reporting(0); include dbConnect.php; $username $_GET[username]; $password $_GET[password]; $username addslashes($username); $password addslashes($password); if (isset($_GET[username]) isset($_GET[password])) {         $sql SELECT * FROM users WHERE username $username AND password $password;         $result $mysqli-query($sql);         if (!$result)             die(mysqli_error($mysqli));         $data $result-fetch_all(); // 从结果集中获取所有数据         if (!empty($data)) {             echo 登录成功;         }     else { echo 用户名或密码错误; } } ? /h4 保存修改后的index.php文件 5.再次访问 然后访问第一个链接使用万能密码登录发现账号或密码错误登不进去 访问第三个链接在后面加上/check 等待一会 6.得到flag 将/check改为/flag得到flag
http://www.dnsts.com.cn/news/108022.html

相关文章:

  • 网站网站怎么搭建建筑人才网招聘网前程无忧
  • 企业网站最下面的那栏叫啥做基础网站主机要
  • 网上代做论文的网站acg的wordpress主题
  • 提供家居企业网站建设网页设计作品论文
  • 使用wampserver做响应式网站南阳网站建设页面
  • 网站资讯创作p2p网站的建设
  • 个人备案可以做哪些网站网站开发和编程有什么区别
  • 上海网站建设高端专业外贸制作网站
  • 网站首页轮播图片招聘58同城找工作
  • 如何设计好网站外贸新三样
  • 学做名片的网站企业所得税优惠政策最新2023上海
  • 网站开发用什么uniapp跳转内部页面
  • 在床上做很黄很暴力网站网站搭建原理
  • 电子商务的网站的建设内容建设网站要注意什么
  • 网站内容建设需要注意哪些问题做企业竞争模拟的网站
  • wordpress 新网站 代码seo是什么牌子
  • 郑州建设银行官网站深圳设计公司十大排名
  • 网站建设10个基本步骤网站建设费能算作无形资产吗
  • 部队网站建设多少钱医院网站建设规划
  • 发布网站后备案中国建设部网站监理延续
  • 网站 掌握又拍云wordpress远程附件
  • 泊头网站建设价格网络推广公司介绍
  • ps网站头部图片谷歌浏览器搜索入口
  • 网站建设全网推广做网站微信朋友圈应该怎么发
  • 个人团购网站 转入备案网站首页大小
  • 网站上图片可以做商业作品吗河北斯皮尔网站建设
  • 专业做网站建设的腾讯企业邮箱申请
  • 自适应网站会影响推广广西住房和城乡建设厅继续教育网
  • 王妃seo第三方点击软件
  • 朝阳市网站公司企业邮箱号码从哪里查