1- #! /usr/bin/bash
1+ #! /usr/bin/sh
22
33# Fix problems of directories
4- here=` dirname " $0 " `
4+ here=" ` dirname " $0 " ` "
55cd " $here "
66# colors
77orange=' \e[93m'
@@ -15,11 +15,11 @@ correct="[\e[1m\e[92;1m ✔ $end]"
1515incorrect=" [\e[1m\e[91;1m ✘ $end ]"
1616
1717_install_pip (){
18- pip_version=" $( ls -v /usr/local/bin/pip* | tail -n1 || printf ' pip' ) "
19- run=" $pip_version install $1 --user"
18+ run=" $1 install $2 --user"
2019 echo -e " Run: $orange$run$end "
21- eval " $run " && echo -e " $correct Installed(s): $1 " || echo -e " $incorrect Error in install of: $1 "
22- }
20+ eval " $run " && echo -e " $correct Installed(s): $2 " || echo -e " $incorrect Error in install of: $2 "
21+ }
22+
2323_install_git (){
2424 cd " /workspace"
2525 run=" git clone $1 "
@@ -32,22 +32,49 @@ _run(){
3232 eval " $1 " && echo -e " $correct $1 " || echo -e " $incorrect $1 "
3333}
3434
35+
36+ _install_pip ' pip3' ' cython'
3537# Operative-framework
3638_run ' go get github.com/graniet/operative-framework'
3739# Install D4N155
3840_install_git ' https://github.com/OWASP/D4N155.git'
39- _install_pip ' -r /workspace/D4N155/requirements.txt'
41+ _install_pip ' pip3 ' ' -r /workspace/D4N155/requirements.txt'
4042# Install Sherlock
4143_install_git ' https://github.com/sherlock-project/sherlock.git'
42- _install_pip ' -r /workspace/sherlock/requirements.txt'
44+ _install_pip ' pip3 ' ' -r /workspace/sherlock/requirements.txt'
4345# Install PhoneInfoga
4446_install_git ' https://github.com/sundowndev/PhoneInfoga'
45- _install_pip ' -r /workspace/PhoneInfoga/requirements.txt'
47+ _install_pip ' pip3 ' ' -r /workspace/PhoneInfoga/requirements.txt'
4648_run ' mv /workspace/PhoneInfoga/config.example.py /workspace/PhoneInfoga/config.py'
4749# Install Karma
48- _install_pip ' git+https://github.com/decoxviii/karma.git'
4950
51+ _install_pip ' pip3' ' git+https://github.com/decoxviii/karma.git'
52+ # Install SE Toolkit
53+ _install_git ' https://github.com/trustedsec/social-engineer-toolkit.git'
54+ _install_pip ' pip3' ' -r /workspace/social-engineer-toolkit/requirements.txt'
55+ # Install Recon-ng
56+ _install_git ' https://bitbucket.org/LaNMaSteR53/recon-ng.git'
57+ _install_pip ' pip3' ' -r /workspace/recon-ng/REQUIREMENTS'
58+ # Install OpenVas
59+ _install_git ' https://github.com/greenbone/openvas.git'
60+ # Install The Harvester
61+ _install_git ' https://github.com/laramies/theHarvester.git'
62+ _install_pip ' pip3' ' -r /workspace/theHarvester/requirements.txt'
63+ # Install Cr3dOv3r
64+ _install_git ' https://github.com/D4Vinci/Cr3dOv3r.git'
65+ _install_pip ' pip3' ' -r /workspace/Cr3dOv3r/requirements.txt'
66+ # Install DNSRecon
67+ _install_git ' https://github.com/darkoperator/dnsrecon.git'
68+ _install_pip ' pip2' ' -r /workspace/dnsrecon/requirements.txt'
69+ # Install Buster
70+ _install_git ' https://github.com/sham00n/buster.git'
71+ _run " cd workspace/buster;python3 setup.py install;cd $here "
72+ # Install Whois
73+ _run ' apk add whois nmap'
5074# Install osrframework
51- _run " $( ls -v /usr/local/bin/pip2* | head -n1 || printf ' pip' ) install osrframework --user"
75+ _install_pip ' pip2' ' osrframework'
76+ # Install InstagramOsint
77+ _install_git ' https://github.com/sc1341/InstagramOSINT.git'
78+ _install_pip ' pip3' ' -r /workspace/InstagramOSINT/requirements.txt'
5279
5380cat ascii-art.sh >> ~ /.bashrc
0 commit comments