Skip to content

Commit

Permalink
v1.2.1 - support persisting recon results to MongoDB instance
Browse files Browse the repository at this point in the history
  • Loading branch information
clarketm committed Feb 12, 2019
1 parent 26e0e55 commit 36d02e0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ $ s3recon "word-list.txt" --db
```

#### 3. Inspect the results.
Check the `results.json` output file to view the S3 buckets you have discovered!
Check the MongoDB database: `s3recon` collection: `hits` to view the S3 buckets you have discovered!

```bash
$ mongo "s3recon" --quiet --eval 'db.hits.find({}, {"url": 1, "access": 1, "_id": 0}).limit(5)'
Expand Down Expand Up @@ -185,7 +185,7 @@ environments: []
#### A:
The database *host* and *port* can be configured by altering the `database` map in your `s3recon.yml` configuration file.

For example, to only search lines from the word-list *verbatim* (i.e. without modification) you can set this value to an empty array.
For example, `host` and `port` can be set directly inside the `database` map
```yaml
# s3recon.yml
Expand All @@ -196,7 +196,7 @@ database:

#### Q: How do I use a database other than MongoDB?
#### A:
At the moment only MongoDB is supported.
Sorry, at the moment only MongoDB is supported.

## Going Forward

Expand Down
6 changes: 3 additions & 3 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ $ s3recon "word-list.txt" --db
```

#### 3. Inspect the results.
Check the `results.json` output file to view the S3 buckets you have discovered!
Check the MongoDB database: `s3recon` collection: `hits` to view the S3 buckets you have discovered!

```bash
$ mongo "s3recon" --quiet --eval 'db.hits.find({}, {"url": 1, "access": 1, "_id": 0}).limit(5)'
Expand Down Expand Up @@ -204,7 +204,7 @@ environments: []
#### A:
The database *host* and *port* can be configured by altering the `database` map in your `s3recon.yml` configuration file.

For example, to only search lines from the word-list *verbatim* (i.e. without modification) you can set this value to an empty array.
For example, `host` and `port` can be set directly inside the `database` map
```yaml
# s3recon.yml
Expand All @@ -215,7 +215,7 @@ database:

#### Q: How do I use a database other than MongoDB?
#### A:
At the moment only MongoDB is supported.
Sorry, at the moment only MongoDB is supported.

## Going Forward

Expand Down
2 changes: 1 addition & 1 deletion s3recon/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.3"
__version__ = "1.2.1"

0 comments on commit 36d02e0

Please sign in to comment.