flag_in_your_hand1

48 篇文章 4 订阅
4 篇文章 0 订阅

flag_in_your_hand1

打开网页

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-vHLeOmZe-1626417473612)(C:\Users\86183\Desktop\ZERO\2ero\WP\XCTF进阶区\flag_in_your_hand1\image-20210716125917739.png)]

查看网页源代码,可以看到输入正确指令可得到flag

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-VPiXWBwr-1626417473616)(C:\Users\86183\Desktop\ZERO\2ero\WP\XCTF进阶区\flag_in_your_hand1\image-20210716125948752.png)]

查看js源码

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-fqjoeKJ8-1626417473620)(C:\Users\86183\Desktop\ZERO\2ero\WP\XCTF进阶区\flag_in_your_hand1\image-20210716130052203.png)]

发现密文a

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ngi5uyLl-1626417473623)(C:\Users\86183\Desktop\ZERO\2ero\WP\XCTF进阶区\flag_in_your_hand1\image-20210716125852078.png)]

通过判断,s代表输入的字符串。每个字符与a中的数字对比,只要相差3,就输出true。

var a = [118, 104, 102, 120, 117, 108, 119, 124, 48,123,101,120];

所以只要将a中的数字剑减3,换成ascII字符。

115 101 99 117 114 105 116 121 45 120 98 117

得到字符串。

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-xA7xdTXh-1626417473627)(C:\Users\86183\Desktop\ZERO\2ero\WP\XCTF进阶区\flag_in_your_hand1\image-20210716130537135.png)]

security-xbu

在token框中输入security-xbu

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-pcv3WTTS-1626417473628)(C:\Users\86183\Desktop\ZERO\2ero\WP\XCTF进阶区\flag_in_your_hand1\image-20210716130710927.png)]

RenIbyd8Fgg5hawvQm7TDQ
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Docker Desktop is a tool that allows you to build, package, and distribute applications as lightweight containers. Selenium, on the other hand, is a popular open-source framework for automating web browsers. To use Selenium with Docker Desktop, you can follow these steps: 1. Install Docker Desktop: Download and install Docker Desktop from the official Docker website. Make sure it is properly set up and running on your machine. 2. Create a Dockerfile: Create a file called "Dockerfile" in your project directory. This file will define the Docker image configuration. Here is an example of a basic Dockerfile for running Selenium with Python: ``` FROM python:3.8 WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD ["python", "your_script.py"] ``` 3. Build the Docker image: Open a terminal or command prompt in the project directory and run the following command to build the Docker image: ``` docker build -t your_image_name . ``` 4. Run the Docker container: Once the image is built, you can run a container based on that image. Use the following command to start a container: ``` docker run -it --rm your_image_name ``` This command will start the container in interactive mode, and the `--rm` flag ensures that the container is removed after it stops running. 5. Write your Selenium script: Inside your project directory, create a Python script that uses Selenium to automate web browser actions. For example, you can use the Selenium WebDriver API to open a browser, navigate to a webpage, and interact with elements on the page. 6. Run your Selenium script: With the Docker container running, you can execute your Selenium script by running it inside the container using the Python command specified in the Dockerfile's CMD instruction. That's it! You now have a Dockerized environment for running Selenium tests. Remember to customize the Dockerfile and your script according to your specific requirements.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值