Skip to content

Commit 5a7a453

Browse files
author
jul10l14
committed
🤘 ADD: PhoneInfoga, Karma
1 parent 19fda1a commit 5a7a453

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

install-osint.sh

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/bash
22

3+
# Fix problems of directories
4+
here=`dirname "$0"`
5+
cd "$here"
36
# colors
47
orange='\e[93m'
58
yellow='\e[93m'
@@ -18,9 +21,11 @@ _install_pip(){
1821
eval "$run" && echo -e "$correct Installed(s): $1" || echo -e "$incorrect Error in install of: $1"
1922
}
2023
_install_git(){
24+
cd "/workspace"
2125
run="git clone $1"
2226
echo -e "Run: $orange$run$end"
2327
eval "$run" && echo -e "$correct Installed(s): $1" || echo -e "$incorrect Error in install of: $1"
28+
cd "$here"
2429
}
2530
_run(){
2631
echo -e "Run: $orange$1$end"
@@ -31,10 +36,16 @@ _run(){
3136
_run 'go get github.com/graniet/operative-framework'
3237
# Install D4N155
3338
_install_git 'https://github.com/OWASP/D4N155.git'
34-
_install_pip '-r D4N155/requirements.txt'
35-
# Install sherlock
39+
_install_pip '-r /workspace/D4N155/requirements.txt'
40+
# Install Sherlock
3641
_install_git 'https://github.com/sherlock-project/sherlock.git'
37-
_install_pip '-r sherlock/requirements.txt'
42+
_install_pip '-r /workspace/sherlock/requirements.txt'
43+
# Install PhoneInfoga
44+
_install_git 'https://github.com/sundowndev/PhoneInfoga'
45+
_install_pip '-r /workspace/PhoneInfoga/requirements.txt'
46+
# Install Karma
47+
_install_pip 'git+https://github.com/decoxviii/karma.git'
48+
3849
# Install osrframework
3950
_run "$(ls -v /usr/local/bin/pip2* | head -n1 || printf 'pip') install osrframework --user"
4051

0 commit comments

Comments
 (0)