Brute-Forcing File Read with MD5s [HackTheBox Intentions]

Publié le: 14 octobre 2023
sur la chaîne: 0xdf
938
44

In Intentions from HackTheBox, I'll get a binary with the capabilities to read any file on the file system. This file will get an MD5 sum on the first N bytes of a file, where I control the filename and N. In this video, I'll show how to write a simple Python script that allows for reading any file on the file system by brute forcing it byte by byte.

Intentions Blog Post: https://0xdf.gitlab.io/2023/10/14/htb...
HTB Intentions: https://www.hackthebox.com/machines/i...

☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf

[00:00] Introduction
[01:13] Overview of scanner
[02:17] Outline of main Python script
[05:38] Forgot we didn't finish!
[06:11] Using subprocess to get hash from scanner
[07:33] Using PDB to figure out syntax for stdout
[08:36] Brute forcing next byte
[09:52] Fixing output print
[10:22] Catching error from scanner
[11:45] Weirdness of scanner
[12:02] Showing success

#pentest #ctf #bugbounty


Sur cette page du site, vous pouvez voir la vidéo en ligne Brute-Forcing File Read with MD5s [HackTheBox Intentions] durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur 0xdf 14 octobre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 938 fois et il a aimé 44 téléspectateurs. Bon visionnage!