Tag: python
12 posts tagged python.

HackTheBox: Brainfuck
HackTheBox Brainfuck walkthrough: a WP Support Plus auth bypass, mail credentials, a Vigenere cipher and an RSA-encrypted root flag.

HackTheBox: Haystack
HackTheBox Haystack walkthrough: credentials hidden in an image and Elasticsearch, a Kibana LFI for a shell, then Logstash for root.

nMap Visulisation
A Python script that parses Nmap and masscan XML output and draws a colour-coded map of hosts and open ports across an IP range.

NTP Amplification Discovery
How NTP amplification DDoS attacks abuse the MONLIST command, and a script to discover NTP servers vulnerable to it.

VNC Authentication checking with Python
A Python and Scapy script that connects to a VNC server over the RFB protocol and reports which authentication type it uses.

Dumping Linux Password Hashes
A Python script that reads /etc/shadow and dumps Linux password hashes in a readable format, with an explanation of how hashing works.

BBM Pin Aggregation from Twitter
A Python script using the Twitter API to collect BlackBerry Messenger PINs people posted publicly, as an API practice project.

SYN Flooding with Scapy and Python
How a SYN flood abuses the TCP three-way handshake, and how to craft one with Scapy and Python in a lab.

Python and the Vigenere Cipher
How the Vigenere polyalphabetic cipher works, with a Python script to encrypt and decrypt text using a keyword.

Frequency Analysis with Python
Using Python to perform frequency analysis on ciphertext, counting single letters and letter groups to help break classical ciphers.

Cracking the Caesar Shift Cipher with Python
A beginner Python script that encrypts and cracks Caesar shift ciphers, with the full code and a walkthrough of how it works.

Steganography Introduction
An introduction to steganography: hiding text inside an image with Steghide on Ubuntu, and how it differs from cryptography.