Skip to content

Commit

Permalink
Merge pull request #5 from B0lg0r0v/dev
Browse files Browse the repository at this point in the history
Merging Dev to Main
  • Loading branch information
B0lg0r0v authored Dec 9, 2024
2 parents fcc8c22 + 9ae5106 commit 6caae09
Show file tree
Hide file tree
Showing 7 changed files with 141 additions and 141 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
__pycache__
header*
elyzer.spec
mail.ico
Elyzer_Logo.png
Elyzer_Logo_Black.png
Elyzer_Logo.ico
__pycache__
.idea
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,22 @@ Elyzer is an e-mail header analyzer capable of detecting potential spoofing atte
```
git clone https://github.com/B0lg0r0v/Elyzer.git
cd Elyzer
pip3 install -r requirements.txt
python -m pip install -r requirements.txt
```

To use the `-pa` argument, you need two API keys:
To use the `-pa` argument, you need one API key from Driftnet:

- VirusTotal API key (https://virustotal.com)
- Driftnet API Key (https://driftnet.io)

Insert your API keys into the variables `self.api_key` and `self.api_key_driftnet` located in the `spoofing.py` file.
Create an environment variable called `DRIFTNET_API` and insert your key as a value.

```
# On Unix systems
export DRIFTNET_API=<YOUR KEY>
# On Windows
set DRIFTNET_API=<YOUR KEY>
```

## Usage
Using Elyzer is quite intuitive. Give with the *-f* argument the header file.
Expand All @@ -57,9 +64,9 @@ Full Elyzer options:
options:
-h, --help show this help message and exit
-f FILE, --file FILE Give the E-Mail Header as a file.
-pa, --passive Enables the passive mode. DNS resolution is performed passively through VirusTotal &
HackerTarget for better OPSEC. You need to add your own VirusTotal API key to use this
feature.
-pa, --passive Enables the passive mode. DNS resolution is performed passively through Driftnet
for better OPSEC. You need to add "DRIFTNET_API" as an environment variable to
use this feature.
-nd, --no-dns Enables the no-dns mode. No DNS resolution is performed for best OPSEC. This heavily affects
the results !
-q, --quiet Quiet mode. Disables banner.
Expand Down Expand Up @@ -105,7 +112,7 @@ Here's a quick overview of Elyzer's features:
## To-Do
- [ ] Add JSON output functionality.
- [x] Add a functionality to be able to passively query DNS information to reduce OPSEC concerns.
- [ ] Switching entirely to the Driftnet API
- [x] Switching entirely to the Driftnet API
- [ ] Optimize my garbage code :D


Expand Down
2 changes: 1 addition & 1 deletion core/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def banner():
____ ____ __ ____ ____ ___
/ __// /\ \/ //_ / / __// _ \
/ _/ / /__\ / / /_ / _/ / , _/
/___//____//_/ /___//___//_/|_| v0.4.0
/___//____//_/ /___//___//_/|_| v0.5.0
"""+
(Colors.light_blue("\n\tAuthor: B0lg0r0v") + Colors.light_blue("\n\thttps://arthurminasyan.com\n")))
Expand Down
6 changes: 3 additions & 3 deletions core/exp_json.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import re
import os
import json
from core.utils import Utils
from core.spoofing import Spoofing
from datetime import datetime
import re
import os
from core.spoofing import Spoofing

def parse_key_value(text):
result = {}
Expand Down
Loading

0 comments on commit 6caae09

Please sign in to comment.