n00bzCTF - File Sharing Portal

Challenge Description name: file sharing portal category: web exploitation points: 478 author: NoobMaster + NoobHacker Welcome to the file sharing portal! We only support tar files! Solution We are presented with the following interface As well as the source code of the application. #!/usr/bin/env python3 from flask import Flask, request, redirect, render_template, render_template_string import tarfile from hashlib import sha256 import os app = Flask(__name__) @app.route('/',methods=['GET','POST']) def main(): global username if request....

August 9, 2024 · 6 min · hxuu

Ctfs - A Beginner's Guide

When I first encountered cybersecurity, it was through phishing sites that people used to steal their friends’ Facebook accounts. One of my friends even used one against another one of our friends to send messages from his account. No, that’s not some ghost story, lol. After that, I started taking cybersecurity more seriously. Coming from an academic background, I thought the best approach was to learn all the concepts first and then practice my skills....

August 8, 2024 · 4 min · hxuu