Created
July 6, 2016 21:02
-
-
Save skout23/c746c0dc71ebc5526d7b879c19752552 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# should pick up pyenv as dep | |
brew install pyenv-virtualenv | |
# add to your .bash_profile or other .profile | |
eval "$(pyenv init -)" | |
eval "$(pyenv virtualenv-init -)" | |
# List available pythons versions | |
$ pyenv install -l | |
# Pick a base version and install it | |
$ pyenv install 2.7.12 | |
# source your profile to rehash | |
$ source ~/.bash_profile | |
# create a new $COOLAPP specific virtualenv | |
$ pyenv virtualenv 2.7.12 my-sqlmap-env-2.7.12 | |
# pull down your cool app | |
$ cd ~/bin | |
$ git clone [email protected]:sqlmapproject/sqlmap.git --depth=1 | |
# set the virtualenv for this app via 'pyenv local' | |
$ python --version | |
Python 2.7.10 | |
$ cd ~/bin/sqlmap | |
$ pyenv local my-sqlmap-env-2.7.12 | |
$ python --version | |
Python 2.7.12 | |
(my-sqlmap-env-2.7.12) :~/bin/sqlmap$python sqlmap.py | |
_ | |
___ ___| |_____ ___ ___ {1.0.7.13#dev} | |
|_ -| . | | | .'| . | | |
|___|_ |_|_|_|_|__,| _| | |
|_| |_| http://sqlmap.org | |
Usage: python sqlmap.py [options] | |
sqlmap.py: error: missing a mandatory option (-d, -u, -l, -m, -r, -g, -c, -x, --wizard, --update, --purge-output or --dependencies), use -h for basic or -hh for advanced help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment