Skip to content

Commit 2684436

Browse files
author
Julio Lira
authored
Merge pull request #3 from SCORP1ON-TEAM/dev
Dev
2 parents 9ba988a + 1f0b988 commit 2684436

3 files changed

Lines changed: 64 additions & 20 deletions

File tree

Dockerfile

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
FROM python:3
1+
FROM golang:1.12.7-alpine
22
COPY . /packages/src
33
WORKDIR /workspace
4-
RUN wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz \
5-
&& tar -xvf go1.12.6.linux-amd64.tar.gz && mv go /usr/local \
6-
&& apt-get update -y && apt-get install python2.7 -y \
7-
&& wget -O- -q https://bootstrap.pypa.io/get-pip.py | python2.7 \
4+
RUN apk update && apk add python2 python3 git bash gcc g++ libxslt-dev freetds-dev python3-dev python2-dev openssl-dev musl-dev libffi-dev \
5+
&& wget https://bootstrap.pypa.io/get-pip.py -O- | python2.7 \
6+
&& wget https://bootstrap.pypa.io/get-pip.py -O- | python3.7 \
87
&& wget -O /packages/src/geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz \
9-
&& tar -C /packages/src/ -xvf /packages/src/geckodriver.tar.gz
10-
ENV GOROOT /usr/local/go
11-
ENV GOPATH $HOME/Projects/Proj1
12-
ENV PATH /Projects/Proj1/bin:/usr/local/go/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/bin:/packages/src/
8+
&& tar -C /packages/src/ -xvf /packages/src/geckodriver.tar.gz \
9+
&& rm -rf *tar.gz
10+
ENV PATH /usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/bin:/packages/src:/usr/local/go/bin
1311
RUN bash /packages/src/install-osint.sh

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
11
# OSINT
22
Docker image for osint tools, in progress
3+
34
# Run
45
```docker
56
docker pull scorpionsec/osint:unstable
67
docker run -it scorpionsec/osint:unstable bash
78
```
9+
10+
# About
11+
The image was wrote for Security Osint with tools:
12+
- Operative-framework: __operative framework is a OSINT investigation framework__
13+
- D4N155: __Intelligent and dynamic wordlist using OSINT__
14+
- Sherlock: __Find usernames across social networks__
15+
- PhoneInfoga: __Advanced information gathering & OSINT tool for phone numbers__
16+
- Karma: __Find leaked emails with your passwords__
17+
- Recon-ng: __Recon-ng is a full-featured Web Reconnaissance framework written in Python__
18+
- SE Toolkit: __The Social-Engineer Toolkit__
19+
- OpenVas: __Open Vulnerability Assessment Scanner__
20+
- The Harvester: __E-mails, subdomains and names Harvester - OSINT__
21+
- Whois: __Get whois data__
22+
- osrframework: __Open Sources Research Framework__
23+
- R3dOv3r: __Know the dangers of credential reuse attacks__
24+
- Buster: __Find emails of a person and return info associated with them__
25+
- InstagramOsint: __An Instagram Open Source Intelligence Tool__
26+

install-osint.sh

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#!/usr/bin/bash
1+
#!/usr/bin/sh
22

33
# Fix problems of directories
4-
here=`dirname "$0"`
4+
here="`dirname "$0"`"
55
cd "$here"
66
# colors
77
orange='\e[93m'
@@ -15,11 +15,11 @@ correct="[\e[1m\e[92;1m ✔ $end]"
1515
incorrect="[\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

5380
cat ascii-art.sh >> ~/.bashrc

0 commit comments

Comments
 (0)