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

墨星写作网站识万物扫一扫

墨星写作网站,识万物扫一扫,做网站的目的和要求,做shopify网站官方wp:CTFtime.org / Square CTF 2023 tasks and writeups sandbox Description: I “made” “a” “python” “sandbox” “”“” nc 184.72.87.9 8008 先nc连上看看,只允许一个单词,空格之后的直接无效了。 flag就在当…

官方wp:CTFtime.org / Square CTF 2023 tasks and writeups

sandbox

Description:

I “made” “a” “python” “sandbox” “”“”

nc 184.72.87.9 8008

先nc连上看看,只允许一个单词,空格之后的直接无效了。

image-20231118031937600

flag就在当前目录下的flag.txt文件中,我们用<来代替空格

cat<flag.txt

image-20231118032626824

There’s plenty of ways to break the sandbox, the two easiest that come to mind are cat${IFS}flag or python3 -> open(“flag.txt”, “r”).read()

Be The Admin

Description:

This is a very basic website where you can view other user’s profiles, but you can only see your own secret. I’ll bet other users’ secrets have something of interest

用户身份是通过Cookie认证的,Cookie就是用户名的base64编码(暂且认为)

image-20231118024233142

那我们把session改成Admin的base64编码QWRtaW4=就好啦,删掉一个等号,最后是QWRtaW4。为什么要删掉最后一个等号呢?因为出于安全性考虑,在cookie的名或值中不能使用分号(;)、逗号(,)、等号(=)以及空格。而且等号在base64编码中起到补位作用,去掉也不影响解码后的数据。

image-20231118141757027

image-20231118141807725

Just Go Around

Description: This website is a forum where people can make posts, though it’s so broken right now that you can probably only search them. It turns out that someone posted something top secret and later deleted it, but was it truly deleted?

**Hints: ** Have you heard of “soft deletes”?

官方wp:

The index page of the website provides a search feature that performs fuzzy text search, which should indicate that it uses a modern NoSQL DB. There’s also a commented out link to the post page where you can attempt to create a new post, but when you submit the post, you are redirected to another page that says this feature no longer works. However, you can look at the HTTP requests used in that workflow and see that the post is serialized into XML before submitting, which should prompt you to try an XXE attack. Once you get that working, your goal is to use the XXE as an SSRF to query the backend elasticsearch db and get the “deleted” post. You can get the DB host name “db” by guessing/brute forcing or using the XXE for LFI and reading source/config files (or the env file)

翻译后:

网站的索引页提供了一个搜索功能,执行模糊文本搜索,这应该表明它使用了现代NoSQL数据库。还有一个评论链接到帖子页面,在那里你可以尝试创建一个新的帖子,但是当你提交帖子时,你被重定向到另一个页面,上面说这个功能不再有效。但是,您可以查看该工作流中使用的HTTP请求,并看到文章在提交之前被序列化为XML,这应该提示您尝试XXE攻击。一旦您使其工作,您的目标是使用XXE作为SSRF来查询后端elasticsearch数据库并获取“已删除”的帖子。您可以通过猜测/暴力强制或使用LFI的XXE和读取源/配置文件(或env文件)来获得DB主机名“DB”。

http://www.15wanjia.com/news/11410.html

相关文章:

  • 如何做阿里巴巴的网站首页住房和城乡建设部官网
  • 政府网站建设新华网游戏推广员到底犯不犯法
  • 我需要做网站浙江seo技术培训
  • 做网站弄关键词多少钱西安百度提升优化
  • 专业做网站 上海最新清远发布
  • 政务信息网站建设方案企业网站大全
  • 温州网站建设公司女教师遭网课入侵直播
  • 网页设计图片怎么插网站网络推广优化
  • 微信网站制作免费什么软件可以弄排名
  • 企业网站排名优化百度app打开
  • 网站备案信息真实性核验单 怎么弄最新病毒感染
  • 北京的电商平台网站现在搜什么关键词能搜到网站
  • 设计师网课靠谱吗网站优化排名公司哪家好
  • 西安做网站需要多少钱查网站流量的网址
  • 团购网站经营模式sem搜索引擎营销是什么
  • 安庆 网站建设怎样建立一个自己的网站
  • 棋牌游戏网站怎么做的如何自己建设网站
  • 如何做网站推广在线seo外链工具
  • 网站建设功能模块几报价站长之家源码
  • 保定网站制作设计哪个公司好广州引流推广公司
  • 免费域名做网站如何联系百度人工客服
  • 游戏网站的设计淘宝定向推广
  • 做外贸的网站有何用处太原百度推广排名优化
  • 装修网站实景图vr怎么做的西安网站seo服务
  • 商务网站推广技巧包括什么网站优化包括对什么优化
  • 厨具 技术支持东莞网站建设建站优化
  • 玉溪网站建设seo外包服务
  • 网站建设特点营销关键词有哪些
  • 网站定制开发是什么意思seo推广案例
  • 扬州有做义工的地方或网站嘛广州seo全网营销