From 550d27b2bfc2b2a565fa0d7456f49247a326bbaf Mon Sep 17 00:00:00 2001 From: Alisson Moretto <33207993+A1S0N@users.noreply.github.com> Date: Mon, 20 Aug 2018 13:05:42 -0300 Subject: [PATCH] Fixing "ImportError: No module named PIL" File "/opt/xerosploit/xerosploit.py", line 621, in replace from PIL import Image ImportError: No module named PIL --- install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.py b/install.py index 8e7dcfe..a3815ca 100755 --- a/install.py +++ b/install.py @@ -45,7 +45,7 @@ def main(): system0 = raw_input(">>> ") if system0 == "1": print("\033[1;34m\n[++] Installing Xerosploit ... \033[1;m") - install = os.system("apt-get update && apt-get install -y nmap hping3 build-essential python-pip ruby-dev git libpcap-dev libgmp3-dev && pip install tabulate terminaltables") + install = os.system("apt-get update && apt-get install -y nmap hping3 build-essential python-pip ruby-dev git libpcap-dev libgmp3-dev && pip install tabulate terminaltables Pillow") install1 = os.system("""cd tools/bettercap/ && gem build bettercap.* && sudo gem install xettercap-* && rm xettercap-* && cd ../../ && mkdir -p /opt/xerosploit && cp -R tools/ /opt/xerosploit/ && cp xerosploit.py /opt/xerosploit/xerosploit.py && cp banner.py /opt/xerosploit/banner.py && cp run.sh /usr/bin/xerosploit && chmod +x /usr/bin/xerosploit && tput setaf 34; echo "Xerosploit has been sucessfuly instaled. Execute 'xerosploit' in your terminal." """) elif system0 == "2":