From c682a0ae973f190193d3c6125a7435856af870b3 Mon Sep 17 00:00:00 2001
From: AnonymousWP <50231698+AnonymousWP@users.noreply.github.com>
Date: Wed, 12 Apr 2023 14:39:50 +0200
Subject: [PATCH 1/5] style: remove blank lines
---
Dockerfile | 2 --
1 file changed, 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 5e316dbae5..bb5b091979 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -47,8 +47,6 @@ RUN echo "$REQUIREMENTS"
RUN pip3 install -U pip
RUN pip3 install -r "$REQUIREMENTS"
-
-
FROM alpine:3.13.0
WORKDIR /home/spiderfoot
From 75e7852bf35715bb8c6755240869172fa9a710af Mon Sep 17 00:00:00 2001
From: AnonymousWP <50231698+AnonymousWP@users.noreply.github.com>
Date: Wed, 12 Apr 2023 14:40:05 +0200
Subject: [PATCH 2/5] docs(readme): add Docker steps
---
README.md | 56 +++++++++++++++++++++++++++++++++++++------------------
1 file changed, 38 insertions(+), 18 deletions(-)
diff --git a/README.md b/README.md
index 1f140137f7..b2f120f7e2 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,5 @@
-
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/smicallef/spiderfoot/master/LICENSE)
[![Python Version](https://img.shields.io/badge/python-3.7+-green)](https://www.python.org)
[![Stable Release](https://img.shields.io/badge/version-4.0-blue.svg)](https://github.com/smicallef/spiderfoot/releases/tag/v4.0)
@@ -10,11 +9,11 @@
[![Twitter Follow](https://img.shields.io/twitter/follow/spiderfoot?label=follow&style=social)](https://twitter.com/spiderfoot)
[![Discord](https://img.shields.io/discord/770524432464216074)](https://discord.gg/vyvztrG)
-**SpiderFoot** is an open source intelligence (OSINT) automation tool. It integrates with just about every data source available and utilises a range of methods for data analysis, making that data easy to navigate.
+**SpiderFoot** is an open source intelligence (OSINT) automation tool. It integrates with just about every data source available and utilises a range of methods for data analysis, making that data easy to navigate.
SpiderFoot has an embedded web-server for providing a clean and intuitive web-based interface but can also be used completely via the command-line. It's written in **Python 3** and **MIT-licensed**.
-
+
### FEATURES
@@ -36,6 +35,7 @@ SpiderFoot has an embedded web-server for providing a clean and intuitive web-ba
### WANT MORE?
Need more from SpiderFoot? Check out [SpiderFoot HX](https://www.spiderfoot.net/hx) for:
+
- 100% Cloud-based and managed for you
- Attack Surface Monitoring with change notifications by email, REST and Slack
- Multiple targets per scan
@@ -58,17 +58,17 @@ SpiderFoot can be used offensively (e.g. in a red team exercise or penetration t
You can target the following entities in a SpiderFoot scan:
- - IP address
- - Domain/sub-domain name
- - Hostname
- - Network subnet (CIDR)
- - ASN
- - E-mail address
- - Phone number
- - Username
- - Person's name
- - Bitcoin address
-
+- IP address
+- Domain/sub-domain name
+- Hostname
+- Network subnet (CIDR)
+- ASN
+- E-mail address
+- Phone number
+- Username
+- Person's name
+- Bitcoin address
+
SpiderFoot's 200+ modules feed each other in a publisher/subscriber model to ensure maximum data extraction to do things like:
- [Host/sub-domain/TLD enumeration/extraction](https://asciinema.org/a/295912)
@@ -92,9 +92,9 @@ SpiderFoot's 200+ modules feed each other in a publisher/subscriber model to ens
To install and run SpiderFoot, you need at least Python 3.7 and a number of Python libraries which you can install with `pip`. We recommend you install a packaged release since master will often have bleeding edge features and modules that aren't fully tested.
-#### Stable build (packaged release):
+#### Stable build (packaged release)
-```
+```bash
wget https://github.com/smicallef/spiderfoot/archive/v4.0.tar.gz
tar zxvf v4.0.tar.gz
cd spiderfoot-4.0
@@ -102,15 +102,35 @@ To install and run SpiderFoot, you need at least Python 3.7 and a number of Pyth
python3 ./sf.py -l 127.0.0.1:5001
```
-#### Development build (cloning git master branch):
+#### Development build (cloning git master branch)
-```
+```bash
git clone https://github.com/smicallef/spiderfoot.git
cd spiderfoot
pip3 install -r requirements.txt
python3 ./sf.py -l 127.0.0.1:5001
```
+#### Docker stable build (packaged release)
+
+```bash
+sudo docker compose up -d
+```
+
+#### Docker development build
+
+1. Build the Docker image from source
+
+ ```bash
+ sudo docker build -t spiderfoot .
+ ```
+
+1. Run the Docker container based on the image you just built
+
+ ```bash
+ sudo docker run -p 5001:5001 -v /mydir/spiderfoot:/var/lib/spiderfoot spiderfoot
+ ```
+
Check out the [documentation](https://www.spiderfoot.net/documentation) and our [asciinema videos](https://asciinema.org/~spiderfoot) for more tutorials.
### COMMUNITY
From 0054c256236eb8134d4aa71c4721d3fdb2fa544e Mon Sep 17 00:00:00 2001
From: AnonymousWP <50231698+AnonymousWP@users.noreply.github.com>
Date: Wed, 12 Apr 2023 17:31:30 +0200
Subject: [PATCH 3/5] docs(readme): add numbered list for steps
---
README.md | 55 +++++++++++++++++++++++++++++++++++++++----------------
1 file changed, 39 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md
index b2f120f7e2..4e0bd0aa8b 100644
--- a/README.md
+++ b/README.md
@@ -94,28 +94,51 @@ To install and run SpiderFoot, you need at least Python 3.7 and a number of Pyth
#### Stable build (packaged release)
-```bash
- wget https://github.com/smicallef/spiderfoot/archive/v4.0.tar.gz
- tar zxvf v4.0.tar.gz
- cd spiderfoot-4.0
- pip3 install -r requirements.txt
- python3 ./sf.py -l 127.0.0.1:5001
-```
+1. Download the package and unpack it
+
+ ```bash
+ wget https://github.com/smicallef/spiderfoot/archive/v4.0.tar.gz && tar zxvf v4.0.tar.gz && cd spiderfoot-4.0
+ ```
+
+1. Install the requirements
+
+ ```bash
+ pip3 install -r requirements.txt
+ ```
+
+1. Run the webserver
+
+ ```bash
+ python3 ./sf.py -l 127.0.0.1:5001
+ ```
#### Development build (cloning git master branch)
-```bash
- git clone https://github.com/smicallef/spiderfoot.git
- cd spiderfoot
- pip3 install -r requirements.txt
- python3 ./sf.py -l 127.0.0.1:5001
-```
+1. Clone the repository
+
+ ```bash
+ git clone https://github.com/smicallef/spiderfoot.git && cd spiderfoot
+ ```
+
+1. Install the requirements
+
+ ```bash
+ pip3 install -r requirements.txt
+ ```
+
+1. Run the webserver
+
+ ```bash
+ python3 ./sf.py -l 127.0.0.1:5001
+ ```
#### Docker stable build (packaged release)
-```bash
-sudo docker compose up -d
-```
+1. Run the Docker Compose file
+
+ ```bash
+ sudo docker compose up -d
+ ```
#### Docker development build
From a709c9af37ddae66942e608a8a285f88324847ee Mon Sep 17 00:00:00 2001
From: AnonymousWP <50231698+AnonymousWP@users.noreply.github.com>
Date: Thu, 13 Apr 2023 12:10:13 +0200
Subject: [PATCH 4/5] docs(readme): change Docker command
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 4e0bd0aa8b..55b62d765a 100644
--- a/README.md
+++ b/README.md
@@ -148,10 +148,10 @@ To install and run SpiderFoot, you need at least Python 3.7 and a number of Pyth
sudo docker build -t spiderfoot .
```
-1. Run the Docker container based on the image you just built
+1. Run the Docker Compose file based on the image you just built
```bash
- sudo docker run -p 5001:5001 -v /mydir/spiderfoot:/var/lib/spiderfoot spiderfoot
+ sudo docker compose up
```
Check out the [documentation](https://www.spiderfoot.net/documentation) and our [asciinema videos](https://asciinema.org/~spiderfoot) for more tutorials.
From d088491ab732fc7c9fb4f624e7d1a7c0bd6a6821 Mon Sep 17 00:00:00 2001
From: AnonymousWP <50231698+AnonymousWP@users.noreply.github.com>
Date: Mon, 17 Apr 2023 14:04:07 +0200
Subject: [PATCH 5/5] docs(readme): add Docker full build command
---
README.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/README.md b/README.md
index 55b62d765a..0d1c327028 100644
--- a/README.md
+++ b/README.md
@@ -154,6 +154,14 @@ To install and run SpiderFoot, you need at least Python 3.7 and a number of Pyth
sudo docker compose up
```
+#### Docker full build
+
+1. Run the Docker Compose file
+
+ ```bash
+ sudo docker-compose -f docker-compose.yml -f docker-compose-full.yml up
+ ```
+
Check out the [documentation](https://www.spiderfoot.net/documentation) and our [asciinema videos](https://asciinema.org/~spiderfoot) for more tutorials.
### COMMUNITY