advent-of-cyber-2025

Room Link: https://tryhackme.com/room/AIforcyber-aoc2025-y9wWQ1zRgB

▶️ UnixGuy | Cyber Security – Day 4 Video Walkthrough

Official walkthrough for quick onboarding:

🔗 YouTube Link:
https://youtu.be/L_jhH_PucX4?si=GoqQCiKFOK4ic8rm


🎄 Advent of Cyber 2025 — Day 4 Write-Up

🧩 AI in Security — old sAInt nick

banner


🚀 Step 1 — Visit the Challenge Machine

Navigate to:

http://MACHINE_IP

Generate the malicious script using the AI tool.

generate script


🛠️ Step 2 — Save & Modify the Script

Replace MACHINE_IP inside the generated script with your actual target IP.

script edit


▶️ Step 3 — Execute the Script or Perform Manual SQLi

Option A — Run the script and retrieve the flag.
Option B — Manually visit:

http://<target-ip>:5000

Use the SQL injection payload provided by AI to log in.

login

flag


🧩 Step 4 — Complete All Stages

Finish the sequence of AI-assisted tasks to unlock the final flag.

final flag


✅ Challenge Answers


1️⃣ Complete the AI showcase by progressing through all stages. What is the final flag?

THM{AI_MANIA}

2️⃣ What flag is printed by the script after execution?

THM{SQLI_EXPLOIT}