Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #456 from minhducsun2002/patch-1
Browse files Browse the repository at this point in the history
Use Debian package instead of Python module for "mitmproxy"
  • Loading branch information
mh4x0f committed Jan 11, 2019
2 parents 2b69917 + f7251ed commit 554c53d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func_install(){
apt-get install libssl1.0
fi
pip install -r requirements.txt
pip install mitmproxy==0.18.2

echo "----------------------------------------"
echo "[=]$bldblu checking dependencies $txtrst "
func_check_install "hostapd"
Expand All @@ -71,6 +71,15 @@ func_install(){
if [ "$dist" = "Ubuntu" ]; then
apt-get install libjpeg8-dev -y
fi
if [ "$dist" = "Debian" ]; then
apt-get install -y gdebi
wget http://ftp.de.debian.org/debian/pool/main/m/mitmproxy/mitmproxy_0.18.2-6_all.deb \
-O /tmp/mitmproxy_0.18.2-6_all.deb
gdebi --non-interactive /tmp/mitmproxy_0.18.2-6_all.deb
else
pip install mitmproxy=0.18.2
fi

echo "[=] $bldblu Install WiFi-Pumpkin $txtrst"
if [ -d "$DIRECTORY" ]; then
rm -r $DIRECTORY
Expand Down

0 comments on commit 554c53d

Please sign in to comment.