Oct 31, 2014

Howto: Install Metasploit (GIT) on Ubuntu 14.04.2

1. Update repository and your OS
# apt-get update && apt-get dist-upgrade -y

2. Download source code from git
# git clone https://github.com/rapid7/metasploit-framework

3. Install required application
# apt-get install build-essential libreadline-dev libssl-dev libpq5 libpq-dev libreadline5 libsqlite3-dev libpcap-dev openjdk-7-jre subversion git-core autoconf postgresql pgadmin3 curl zlib1g-dev libxml2-dev libxslt1-dev vncviewer libyaml-dev ruby ruby-dev

4. Install bundler
# gem install bundler

5. Install required gem
# bundle install

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.

Oct 30, 2014

Howto: Zip and crack zip file in Kali

1. Create zip file
# zip --password <your_password>  filename.zip target_file

2. Crack zip file with fcrackzip
# fcrackzip -h

fcrackzip version 1.0, a fast/free zip password cracker
written by Marc Lehmann <pcg@goof.com> You can find more info on

USAGE: fcrackzip
          [-b|--brute-force]            use brute force algorithm
          [-D|--dictionary]             use a dictionary
          [-B|--benchmark]              execute a small benchmark
          [-c|--charset characterset]   use characters from charset
          [-h|--help]                   show this message
          [--version]                   show the version of this program
          [-V|--validate]               sanity-check the algortihm
          [-v|--verbose]                be more verbose
          [-p|--init-password string]   use string as initial password/file
          [-l|--length min-max]         check password with length min to max
          [-u|--use-unzip]              use unzip to weed out wrong passwords
          [-m|--method num]             use method number "num" (see below)
          [-2|--modulo r/m]             only calculcate 1/m of the password
          file...                    the zipfiles to crack

methods compiled in (* = default):

 0: cpmask
 1: zip1
*2: zip2, USE_MULT_TAB

3. Crack it with
# fcrackzip -b -c 'a' -l 1-5 -u filename.zip
'a' means 'lower character'
'A' means 'Upper character'
'1' means number
'!' means symbol

if you want to crack with all character that can be, please use 'aA1!'.

4. Done.

If you like my blog, Please Donate Me
Or Click The Banner For Support Me.