Musings of a linux geek. ramblings / scripts / tutorials / reviews

14May/120

Python random password generator

Below is some code I put together to generate a random password of a user defined length.

Usage:
./pwdgen.py pw_length

Filed under: Uncategorized No Comments
27Mar/121

Spoofer – Automated arp / dns poisoning

I have knocked up a little menu driven python tool called spoofer. Spoofer is a fast and easy way to poison a target and harvest their credentials or forward them to a malicious site.

Here is the code:

Spoofer relies on you having the dsniff and sslstrip tools installed. This script runs out of the box on BackTrack and requires little modification for any other linux flavours.

Filed under: Uncategorized 1 Comment
13Jan/122

Python Hash Dictionary Attack

I have adapted my previous program to support sha1, sha224, sha256, sha384 and sha512 hashes, as well as md5 support. Pretty basic script that compares your hash to a wordlist returning the decrypted hash if its present in your dictionary file.

Filed under: Uncategorized 2 Comments
4Jan/120

Credential harvesting via ARP poison [UPDATED]

Is it me or when your programming skills improve you find yourself looking back over past programs you created and think to yourself why didn't I do that like this? I spent a fair few hours over the past weekend re-writing some old scripts to make them more efficient.

A few months ago I wrote about credential harvesting using sslstrip and arp spoof. I posted a script that helped automate the process. Here is the updated version.

2Jan/120

Script to join avi files [UPDATE]

I posted a while ago with a script to join two parts of an avi file, split files are common with downloaded video. I have modified the program so it now uses command line arguments. You can download it here.

The script:

It works best when copied to the /bin or /usr/local/bin directory, this lets you call it from any location.