Tag Archives: python

Python Port Scanner – nmap.py

So I decided to write a simple python port scanner but I wanted it to support to TCP, UDP, port ranges (22,23,135-139,443,445,3389 etc) and IP ranges(192.168.0.1/24, 192.168.10-20, example.com) I also wanted to limit the libraries I used for use on … Continue reading

Posted in Uncategorized | Tagged , , , , | 1 Comment

base64 decoding in various languages

So we have found the base64 string “SGVsbG9Xb3JsZCE=” on a locked down workstation and we want to decode. Quite often we don’t have access to tools so here’s a list of ways to decode the string using various languages. Python … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | Leave a comment

Cracking a Juniper Netscreen ScreenOS Password Hash

So the Juniper Netscreen/SSG ScreenOS password hash is a bit of a hidden mystery. I had in my hand the config of a Netscreen device and I wanted to perform a reverse of the password hashes to see if they … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 7 Comments

One line python Meterpreter Reverse Shell

So not so recently support was added to metasploit for a native python meterpreter. The cool thing about this is that the victim only needs to execute a few small lines of code. This means that if you’re performing a … Continue reading

Posted in Uncategorized | Tagged , , | 3 Comments

Multi-threading python – a quick example

So in order to teach myself how to create multi-threaded python apps I decided to have a go this morning at writing a simple MD5 bruteforcer (using a wordlist). The way this works is that you create worker threads and … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment