‍☠️ picoCTF 2024 — “Bookmarklet” Web Exploitation Challenge
本文介绍了一个picoCTF中的Bookmarklet挑战,通过使用JavaScript bookmarklets和浏览器控制台脚本获取隐藏flag。虽然任务简单,但涉及浏览器安全警告,提醒用户注意实际操作中的安全问题。 2025-9-26 05:14:10 Author: infosecwriteups.com(查看原文) 阅读量:8 收藏

Deepika B

Hello Everyone! 👋

In this blog, we’ll walk through solving the Bookmarklet challenge under the Web Exploitation category of picoCTF, rated as Easy. This challenge introduces you to the use of JavaScript bookmarklets and how scripts executed in the browser console can be used to retrieve hidden flags.

While it’s a beginner-friendly task, there’s an important browser security warning you’ll encounter that highlights real-world awareness when dealing with JavaScript in the DevTools Console.

Let’s dive in! 🕵️‍♂️💻

🛠️ Step-by-Step Guide

1️⃣ Start the Challenge Instance

Click the “here” button on the challenge page. This will launch a new browser tab leading to the challenge website.

Press enter or click to view image in full size

2️⃣ Open the Browser Console

First, open your browser’s DevTools Console:

  • Windows/Linux: Press Ctrl + Shift + J
  • macOS: Press Cmd + Option + J
  • Or right-click anywhere on the page → Inspect →…

文章来源: https://infosecwriteups.com/%EF%B8%8F-picoctf-2024-bookmarklet-web-exploitation-challenge-834b3ce821e2?source=rss----7b722bfd1b8d---4
如有侵权请联系:admin#unsafe.sh