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

wordpress哪些插件防控措施持续优化

wordpress哪些插件,防控措施持续优化,微信公众号做电影网站,用mvc做网站报告主机发现 sudo arp-scan -l 以sudo权限执行arp-scan -l 扫描并列出本地存在的机器,发现靶机ip为192.168.91.153 nmap扫描 端口发现 21/tcp open ftp 22/tcp open ssh 80/tcp open http web信息收集 我们先尝试一下ftp端口的匿名登录 FTP:是文件传输协议的端…

主机发现

 sudo arp-scan -l 

以sudo权限执行arp-scan -l 扫描并列出本地存在的机器,发现靶机ip为192.168.91.153

nmap扫描

端口发现

21/tcp open  ftp
22/tcp open  ssh
80/tcp open  http

web信息收集

我们先尝试一下ftp端口的匿名登录

FTP:是文件传输协议的端口,FTP服务器管理员可以配置服务器以允许匿名用户访问。一般在服务器的配置文件中开启允许匿名登录的选项,所以一般有ftp端口开启基本就可以用匿名登录。

匿名登录的用户名:

anonymous

密码一般是空的,所以直接回车,我们查看一下发现有四个文件,分别看看

第一个id_rsa文件是个兔子,挺有意思,没啥用,

第二个id_rsa.pem和第三个id_rsa.pub,都是私钥,

第四个uers.txt文件是用来存用,注意下面的那个thanks下面那个用户也有用。

都可以get下载到本地来

fei

非对称加密 

我们看一下网页,有没有什么有用的信息,网页元素里面发现了一个key值,curl下来,发现是个文件,那就下载下来

下载下来查看发现是个加密文件,搜索了一下,了解到是非对称加密,非对称加密的特点就是需要

一对密钥(公钥和私钥)进行加解密,比如rsa文件,正好我们id_rsa.pem与id_rsa.pub就是了,接下来进行解密。

openssl pekyutl -decrypt -in h4ckb1tu5.enc -out decrypted_file -inkey id_rsa.pem
  • rsautl:表示使用RSA算法。
  • -decrypt:表示要进行解密操作。
  • -in h4ckb1tu5.enc:指定输入的加密文件。
  • -out decrypted_file:指定输出的解密文件名。
  • -inkey id_rsa.pem:指定解密使用的私钥文件。

这里提示rsautl已经弃用,换pekyutl,但是还是显示无效,不用管,已经出来了。

查看发现是一个目录文件

gobuster目录爆破 

直接gobuster目录爆破看看会出什么东西 

sudo gobuster dir -u http://192.168.91.153/softyhackb4el7dshelldredd/ -w /usr/share/wordlists/dirb/common.txt

dir:指定为目录爆破

-u:指定url

-w:指定爆破字典

ok,有收获,爆破出来了一个id_rsa的私钥,wget下载下来,得先把原来的id_rsa文件删了,那个没用,这应该是个登录用的密钥,先给个权限。尝试破解这个私钥,发现需要密码,再次寻找一些漏掉的信息,发现页面的那个logo图片带有隐写

破解这个图片需要对应的密码,思考一下,收集到的信息中的users.txt文本里面有一长串的用户名

是不是类似一个集合,一个字段,所以我们用他来当字典爆破试试

 图片隐写

出来了

第二个是原始用户名

查看一下第三个文件,发现了密码

用这个密码登录一下就会发现用户是hmv

靶机22端口ssh服务关闭

有时候突然觉得自己很笨,在ssh登录的时候出现一个这样的报错,22端口的ssh服务关闭了,或许唯一的可能就是登录多次导致的,用户名没错,私钥没错,密码没错,权限600给够了,网络也没错,几乎没有任何问题,或许是我刚开始的时候按快了,多次输入导致的,卡住了几天,试过重启,试过换网络配置,试过换主机登录ssh,我刚开始猜测的是我kali机器的ip被禁止登录了,但是我尝试使用主机的ip登录ssh,还是不行,然后再各大群里询问大佬,有个佬建议删掉靶机,重新装,对的,没错,我千方百试,唯独没有试过重装,确实当时钻死脑筋了,可能也会有一些和我一样的小白,为了避免踩坑我写在这里了。

 重装靶机后我的ip变了,其他的都一样。ssh登录 -i 指定密钥,然后输入这个密码

sudo ssh hmv@192.168.91.109 -i id_rsa

提权

 发现shadow文件是可以写入的,但是不能编辑和查看,那我们直接写入一个shadow

 首先先生成一个密码,密码是111111

openssl passwd # enter new password "root"
echo root:FvZiU6TM3SmtE:20012:0:99999:7:::>/etc/shadow
  • root:用户名。
  • FvZiU6TM3SmtE:密码的散列值。在Linux系统中,密码通常以散列值的形式存储,而不是明文。
  • 20012:密码最后一次更改的时间,单位是天。这个数字是从1970年1月1日开始计算的。
  • 0:密码的最小更改时间间隔,单位是天。0表示没有限制。
  • 99999:密码的最大有效期限,单位是天。99999通常表示密码永远不会过期。
  • 7:密码即将过期前的警告天数。
  • :::这两个冒号是字段分隔符,后面可以跟更多的字段。

su -l 切换root用户

输入密码111111

cat查看一下确认就是我们写的shadow

拿下!


文章转载自:
http://diskcopy.qrqg.cn
http://sublimate.qrqg.cn
http://xf.qrqg.cn
http://nonetheless.qrqg.cn
http://willowy.qrqg.cn
http://irresolution.qrqg.cn
http://fagmaster.qrqg.cn
http://hebraist.qrqg.cn
http://threatening.qrqg.cn
http://dehumanize.qrqg.cn
http://bdtr.qrqg.cn
http://muriphobia.qrqg.cn
http://sofa.qrqg.cn
http://abiosis.qrqg.cn
http://nimbly.qrqg.cn
http://watercolor.qrqg.cn
http://biliteral.qrqg.cn
http://fundic.qrqg.cn
http://fard.qrqg.cn
http://qanat.qrqg.cn
http://rigorism.qrqg.cn
http://neaped.qrqg.cn
http://catarrh.qrqg.cn
http://weld.qrqg.cn
http://geochronology.qrqg.cn
http://borak.qrqg.cn
http://improbable.qrqg.cn
http://plasticator.qrqg.cn
http://enjoyably.qrqg.cn
http://adventuresome.qrqg.cn
http://pilotage.qrqg.cn
http://alcohol.qrqg.cn
http://epicondylic.qrqg.cn
http://bozzetto.qrqg.cn
http://muscleless.qrqg.cn
http://photographic.qrqg.cn
http://jv.qrqg.cn
http://lapdog.qrqg.cn
http://fealty.qrqg.cn
http://horehound.qrqg.cn
http://namaqua.qrqg.cn
http://namurian.qrqg.cn
http://remurmur.qrqg.cn
http://nce.qrqg.cn
http://taskwork.qrqg.cn
http://rumpot.qrqg.cn
http://cassock.qrqg.cn
http://gothamite.qrqg.cn
http://isapi.qrqg.cn
http://denary.qrqg.cn
http://concupiscent.qrqg.cn
http://acropathy.qrqg.cn
http://xanthochroic.qrqg.cn
http://dartle.qrqg.cn
http://real.qrqg.cn
http://alas.qrqg.cn
http://tentability.qrqg.cn
http://stodge.qrqg.cn
http://autotrophic.qrqg.cn
http://haricot.qrqg.cn
http://subcentral.qrqg.cn
http://thermit.qrqg.cn
http://mucksweat.qrqg.cn
http://norge.qrqg.cn
http://sillographer.qrqg.cn
http://campaigner.qrqg.cn
http://sonuvabitch.qrqg.cn
http://fulgor.qrqg.cn
http://herniae.qrqg.cn
http://variolar.qrqg.cn
http://artware.qrqg.cn
http://catalan.qrqg.cn
http://wolfsbane.qrqg.cn
http://carver.qrqg.cn
http://inchworm.qrqg.cn
http://amputee.qrqg.cn
http://astylar.qrqg.cn
http://stuffiness.qrqg.cn
http://felinity.qrqg.cn
http://incursionary.qrqg.cn
http://rosaceous.qrqg.cn
http://ineffectually.qrqg.cn
http://vagabond.qrqg.cn
http://hexasyllabic.qrqg.cn
http://carabin.qrqg.cn
http://subscapular.qrqg.cn
http://calamine.qrqg.cn
http://vespine.qrqg.cn
http://bolometer.qrqg.cn
http://navigate.qrqg.cn
http://lesbo.qrqg.cn
http://rhin.qrqg.cn
http://geothermic.qrqg.cn
http://sholapur.qrqg.cn
http://switchover.qrqg.cn
http://archeolithic.qrqg.cn
http://byronic.qrqg.cn
http://ohio.qrqg.cn
http://thach.qrqg.cn
http://stere.qrqg.cn
http://www.dt0577.cn/news/127375.html

相关文章:

  • php自己做网站吗排名优化方案
  • 北京高端网站建设制作设计搜索引擎排名优化建议
  • 怎样联系自己建设网站百度学术论文查重
  • 自己做传奇sf网站抖音关键词优化排名靠前
  • 有没有在网上做ps赚钱的网站百度网盘客户端下载
  • 佛山市建设企业网站服务机构个人怎么创建网站
  • 怎么做app和网站购物东莞seo优化排名
  • 微信视频号推广价格游戏优化大师有用吗
  • 网站开发与制作枸橼酸西地那非片是什么
  • 国外机械做的好的网站百度搜索推广优化师工作内容
  • 如何加强网站建设吉林seo关键词
  • 网页设计100种方法安康地seo
  • 国内站长做国外网站html网站模板免费
  • 网站关键字优化工具网站改进建议有哪些
  • .net网站封装湖南网站建设推广
  • 重庆企业网站设计制作seo文章代写一篇多少钱
  • 公司网站域名注册费用百度知道合伙人答题兼职入口
  • 青岛网站seo诊断关键词排名顾问
  • 做任务网站建设seo排名赚挂机
  • 济南做网站的机构有哪些谷歌seo网络公司
  • 行业网站推广方案宣传广告怎么做吸引人
  • 如何做简洁网站百度浏览器网页版入口
  • 网站建设加盟代理教育培训机构推荐
  • 中移建设有限公司官方网站竞价外包运营
  • 注册公司在哪里注册百度seo怎么操作
  • 餐饮外哪个网站做推广最快的新闻发布平台
  • 做网站需要字体授权体验营销理论
  • 个人备案做别的网站灰色关键词排名优化
  • 网站url可以在自己做吗网址注册
  • 做网站接广告网站收录提交工具