Skip to content

danmcc/harhacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HarHacker

Setup RabbitMQ (OS X)

Install homebrew

ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"

Install rabbitmq

brew install rabbitmq

Ensure hostname never changes (required for rabbitmq)

sudo scutil --set HostName myhost.local

Add hostname to /etc/hosts

127.0.0.1       localhost myhost myhost.local

Start rabbitmq

sudo rabbitmq-server -detached

Stop rabbitmq (just an FYI)

sudo rabbitmqctl stop

Setup BrowserMob Proxy

Download latest binary release

wget https://github.com/downloads/webmetrics/browsermob-proxy/browsermob-proxy-2.0-beta-3-bin.zip

Extract and rename

unzip browsermob-proxy*.zip
mv $( ls -d browsermob-proxy* ) browsermob-proxy

Make shell script executable

chmod 755 browsermob-proxy/bin/browsermob-proxy

Setup Python

Install pip

sudo easy_install pip

Install virtualenv

sudo pip install virtualenv

Setup Django Project

Checkout repository

git clone git@github.com:danmcc/har-rage.git harhacker

Build and install dependencies

virtualenv deps

Active virtualenv

source deps/bin/activate

Install requirements

pip install -Ur requirements.txt

Create sqlite database

python harhacker/manage.py syncdb

Run Django Project

Active virtualenv

source deps/bin/activate

Run web

python harhacker/manage.py runserver

Run tasks

python harhacker/manage.py celeryd -l debug

Tips and Tricks

  • Use python harhacker/manage.py shell to experiment
  • If you checkout the project to a directory named harhacker you can use the following bash function to quickly interact with manage.py.

About

Raging with HAR files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors