Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

h8mail removed from web

six2dez1a4d3ebdae9f
diff --git a/install.sh b/install.sh
index c78e63c..f1eff76 100755
--- a/install.sh
+++ b/install.sh
@@ -594,8 +594,6 @@ else
fi
fi
-#eval h8mail -g $DEBUG_STD
-
## Stripping all Go binaries
eval strip -s "$HOME"/go/bin/* $DEBUG_STD
diff --git a/reconftw.sh b/reconftw.sh
index e3cbeab..88a332c 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -228,31 +228,6 @@ function emails(){
cd "$dir" || { echo "Failed to cd to $dir in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }
[ -s ".tmp/infoga.txt" ] && cat .tmp/infoga.txt | cut -d " " -f3 | grep -v "-" | anew -q osint/emails.txt
-# COMMENTED THEHARVESTER, H8MAIL AND PWNDB AS THEY'RE NOT WORKING AS EXPECTED
-# cd "$tools/theHarvester" || { echo "Failed to cd directory in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }
-# python3 theHarvester.py -d $domain -b all -f $dir/.tmp/harvester.json 2>>"$LOGFILE" >/dev/null
-# cd "$dir" || { echo "Failed to cd to $dir in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }
-# if [ -s ".tmp/harvester.json" ]; then
-# cat .tmp/harvester.json | jq -r 'try .emails[]' 2>/dev/null | anew -q osint/emails.txt
-# cat .tmp/harvester.json | jq -r 'try .linkedin_people[]' 2>/dev/null | anew -q osint/employees.txt
-# cat .tmp/harvester.json | jq -r 'try .linkedin_links[]' 2>/dev/null | anew -q osint/linkedin.txt
-# fi
-# h8mail -t $domain -q domain --loose -c $tools/h8mail_config.ini -j .tmp/h8_results.json 2>>"$LOGFILE" >/dev/null
-# [ -s ".tmp/h8_results.json" ] && cat .tmp/h8_results.json | jq -r '.targets[0] | .data[] | .[]' | awk '{print $12}' | anew -q osint/h8mail.txt
-#
-# PWNDB_STATUS=$(timeout 30s curl -Is --socks5-hostname localhost:9050 http://pwndb2am4tzkvold.onion | grep HTTP | cut -d ' ' -f2)
-#
-# if [ "$PWNDB_STATUS" = 200 ]; then
-# cd "$tools/pwndb" || { echo "Failed to cd directory in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }
-# python3 pwndb.py --target "@${domain}" | sed '/^[-]/d' | anew -q $dir/osint/passwords.txt
-# cd "$dir" || { echo "Failed to cd directory in ${FUNCNAME[0]} @ line ${LINENO}"; exit 1; }
-# [ -s "osint/passwords.txt" ] && sed -r -i "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" osint/passwords.txt
-# [ -s "osint/passwords.txt" ] && sed -i '1,2d' osint/passwords.txt
-# else
-# text="${yellow}\n pwndb is currently down :(\n\n Check xjypo5vzgmo7jca6b322dnqbsdnp3amd24ybx26x5nxbusccjkm4pwid.onion${reset}\n"
-# printf "${text}" && printf "${text}" | $NOTIFY
-# fi
-
end_func "Results are saved in $domain/osint/emails.txt" ${FUNCNAME[0]}
else
if [ "$EMAILS" = false ] || [ "$OSINT" = false ]; then
diff --git a/web/apikeys/config.py b/web/apikeys/config.py
index e08b4fc..bf2e5b3 100644
--- a/web/apikeys/config.py
+++ b/web/apikeys/config.py
@@ -201,53 +201,4 @@ def theHarvesterConfig(name, key=None, get=None):
if result == None:
return ''
else:
- return result
-
-def h8mailConfig(name, key=None, get=None):
- file = str(Path.home())+"/Tools/h8mail_config.ini"
-
- lines = open(file, "r").readlines()
- sub=""
-
- if key != None:
- for line in lines:
- line = line.replace("\n", "")
- if name in line and key != "":
- sub = line
-
- very = line.split("=")[1].replace(" ", "")
-
- if key != very:
- while line[0] == ";":
- line = line.replace(";", "", 1)
-
- while line[0] == " ":
- line = line.replace(" ", "", 1)
-
-
- final = line.split("=")[0]+"= "+key
- replace = Path(file)
- replace.write_text(replace.read_text().replace(sub, final, 1))
- break
-
- elif name in line and key == "":
- final = ";"+name+" = "
- sub = line
-
-
- replace = Path(file)
- replace.write_text(replace.read_text().replace(sub, final, 1))
- break
- elif get == True:
- key = ""
- for line in lines:
-
- line = line.replace("\n", "")
- if name in line:
- sub = line
-
- key = line.split("=")[1].replace(" ", "")
-
- break
-
- return key
\ No newline at end of file
+ return result
\ No newline at end of file
diff --git a/web/apikeys/views.py b/web/apikeys/views.py
index 8567a52..92326a1 100644
--- a/web/apikeys/views.py
+++ b/web/apikeys/views.py
@@ -1,8 +1,7 @@
from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from editprofile.imgUser import imgUser
-from apikeys.config import amassConfig, ReconConfig, GithubConfig, h8mailConfig
-#from apikeys.config import amassConfig, ReconConfig, theHarvesterConfig, GithubConfig, h8mailConfig
+from apikeys.config import amassConfig, ReconConfig, GithubConfig
# Create your views here.
otherNames = {'passivedns': '360PassiveDNS', 'digicert': 'CertCentral', 'psbdmp':'Pastebin', 'rikiq':'PassiveTotal', 'quake360':'quake', 'cisco':'Umbrella', 'leaklookup_priv':'leak-lookup_priv', 'leaklookup_pub':'leak-lookup_pub'}
@@ -53,17 +52,6 @@ def conf(request):
# if name != "spyse":
# theHarvesterConfig(name, key=key)
- elif keys["type"][0] == "h8mail":
- del keys["type"]
-
- for key in keys:
- name = key
- key = key=keys[key][0]
- if name in otherNames:
- name = otherNames[name]
-
- h8mailConfig(name, key=key)
-
@login_required(login_url='/login/')
def index(request):
@@ -148,34 +136,6 @@ def index(request):
'token_5_value': GithubConfig('5', get=True),
'token_6_value': GithubConfig('6', get=True),
-# 'binaryedge_value': theHarvesterConfig("binaryedge", get=True),
-# 'bing_value': theHarvesterConfig("bing", get=True),
-# 'censys2_value': theHarvesterConfig("censys", get=True),
-# 'fullhunt2_value': theHarvesterConfig("fullhunt", get=True),
-# 'github2_value': theHarvesterConfig("github", get=True),
-# 'hunter2_value': theHarvesterConfig("hunter", get=True),
-# 'intelx2_value': theHarvesterConfig("intelx", get=True),
-# 'pentesttools2_value': theHarvesterConfig("pentestTools", get=True),
-# 'chaos2_value': theHarvesterConfig("chaos", get=True),
-# 'rocketreach_value': theHarvesterConfig("rocketreach", get=True),
-# 'securitytrails2_value': theHarvesterConfig("securityTrails", get=True),
-# 'shodan3_value': theHarvesterConfig("shodan", get=True),
-# 'zoomeye2_value': theHarvesterConfig("zoomeye", get=True),
-
- 'hunter3_value': h8mailConfig("hunter", get=True),
- 'snusbase_value': h8mailConfig("snusbase", get=True),
- 'emailrep_value': h8mailConfig("emailrep", get=True),
- 'intelx3_value': h8mailConfig("intelx", get=True),
- 'hibp_value': h8mailConfig("hibp", get=True),
- 'leaklookup_pub_value': h8mailConfig("leak-lookup_pub", get=True),
- 'leaklookup_priv_value': h8mailConfig("leak-lookup_priv", get=True),
- 'weleakinfo_priv_value': h8mailConfig("weleakinfo_priv", get=True),
- 'weleakinfo_pub_value': h8mailConfig("weleakinfo_pub", get=True),
- 'dehashed_email_value': h8mailConfig("dehashed_email", get=True),
- 'dehashed_key_value': h8mailConfig("dehashed_key", get=True),
- 'breachdirectory_user_value': h8mailConfig("breachdirectory_user", get=True),
- 'breachdirectory_pass_value': h8mailConfig("breachdirectory_pass", get=True),
-
"imagePath": imagePath,
"apikeys_settings": "API Keys Settings",
}
diff --git a/web/scans/migrations/0001_initial.py b/web/scans/migrations/0001_initial.py
index 7374689..e619796 100644
--- a/web/scans/migrations/0001_initial.py
+++ b/web/scans/migrations/0001_initial.py
@@ -227,7 +227,6 @@ class Migration(migrations.Migration):
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('emails', models.TextField()),
('users', models.TextField()),
- ('h8mail', models.TextField()),
('passwords', models.TextField()),
('employees', models.TextField()),
('linkedin', models.TextField()),
diff --git a/web/scans/models.py b/web/scans/models.py
index b221152..40fb5ab 100644
--- a/web/scans/models.py
+++ b/web/scans/models.py
@@ -363,7 +363,6 @@ class IPsInfos(models.Model):
class OSINTUsersInfo(models.Model):
emails = models.TextField()
users = models.TextField()
- h8mail = models.TextField()
passwords = models.TextField()
employees = models.TextField()
linkedin = models.TextField()
diff --git a/web/scans/utils.py b/web/scans/utils.py
index 90a6749..57bb486 100644
--- a/web/scans/utils.py
+++ b/web/scans/utils.py
@@ -1316,13 +1316,6 @@ def osintusersinfo_f2db(project_id):
else:
users = 'N/A'
- if 'h8mail.txt' in ld:
- with open(f"{osintusers_path}/h8mail.txt") as f:
- h8mail = f.read()
- f.close()
- else:
- h8mail = 'N/A'
-
if 'passwords.txt' in ld:
with open(f"{osintusers_path}/passwords.txt") as f:
passwords = f.read()
@@ -1345,8 +1338,7 @@ def osintusersinfo_f2db(project_id):
linkedin = 'N/A'
- osintusers_save.create(emails=emails, users=users, h8mail=h8mail,
- passwords=passwords, employees=employees,
+ osintusers_save.create(emails=emails, users=users, passwords=passwords, employees=employees,
linkedin=linkedin, project_id=project_id)
diff --git a/web/templates/apikeys_settings.html b/web/templates/apikeys_settings.html
index 78e802d..68a480c 100644
--- a/web/templates/apikeys_settings.html
+++ b/web/templates/apikeys_settings.html
@@ -1742,177 +1742,6 @@
</section>
</div>
</div>
-
- <div class="container">
- <div class="row">
- <section class="fieldset">
- <div class="container">
- <div class="row">
- <div class="col-sm"></div>
- <div class="col-sm-3 text-center">
- <h1>H8MAIL TOOL</h1>
- </div>
- <div class="col-sm"></div>
- </div>
- </div>
-
- <form class="form-horizontal" action="" method="post">
- <input type="hidden" name="type" value="h8mail" />
- <div class="container">
- <div class="row">
- <div class="col-sm">
- <div class="form-group row">
- <label class="col-sm-4 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">HUNTER</span></label>
- <div class="col-sm-6 mx-4">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX" value="{{ hunter3_value }}"
- name="hunter" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-4 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">SNUSBASE</span></label>
- <div class="col-sm-6 mx-4">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX" value="{{ snusbase_value }}"
- name="snusbase" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-4 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">EMAILREP</span></label>
- <div class="col-sm-6 mx-4">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX" value="{{ emailrep_value }}"
- name="emailrep" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-4 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">INTELX</span></label>
- <div class="col-sm-6 mx-4">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX" value="{{ intelx3_value }}"
- name="intelx" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-4 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">HIBP</span></label>
- <div class="col-sm-6 mx-4">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX" value="{{ hibp_value }}"
- name="hibp" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-4 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">LEAK-LOOKUP PUB</span></label>
- <div class="col-sm-6 mx-4">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX"
- value="{{ leaklookup_pub_value }}" name="leaklookup_pub" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-4 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">LEAK-LOOKUP PRIV</span></label>
- <div class="col-sm-6 mx-4">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX"
- value="{{ leaklookup_priv_value }}" name="leaklookup_priv" />
- </div>
- </div>
- </div>
- <div class="col-sm">
- <div class="form-group row">
- <label class="col-sm-5 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">WELEAKINFO PRIV</span></label>
- <div class="col-sm-6">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX"
- value="{{ weleakinfo_priv_value }}" name="weleakinfo_priv" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-5 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">WELEAKINFO PUB</span></label>
- <div class="col-sm-6">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX"
- value="{{ weleakinfo_pub_value }}" name="weleakinfo_pub" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-5 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span class="api-align-input">DEHASHED
- EMAIL</span></label>
- <div class="col-sm-6">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX"
- value="{{ dehashed_email_value }}" name="dehashed_email" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-5 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span class="api-align-input">DEHASHED
- KEY</span></label>
- <div class="col-sm-6">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX"
- value="{{ dehashed_key_value }}" name="dehashed_key" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-5 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">BREACHDIRECTORY USER</span></label>
- <div class="col-sm-6">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX"
- value="{{ breachdirectory_user_value }}" name="breachdirectory_user" />
- </div>
- </div>
-
- <div class="form-group row">
- <label class="col-sm-5 col-form-label"><i
- class="icon-info-apikey bx-sm bx bxs-info-circle"></i><span
- class="api-align-input">BREACHDIRECTORY PASS</span></label>
- <div class="col-sm-6">
- <input type="XXXXXX" class="form-control" placeholder="XXXXXXX"
- value="{{ breachdirectory_pass_value }}" name="breachdirectory_pass" />
- </div>
- </div>
- </div>
-
- <div class="container text-center">
- <div class="row">
- <div class="col-sm-3"></div>
- <div class="col-sm">
- <!-- <input class="reconftw-fileupload form-control" type="file" accept="images/*" id="formFile" name="UserPicture">
- <button type="reset" class="btn btn-default btn-edit-reconftw">SUBMIT</button> -->
- <button type="submit" class="btn btn-success btn-edit-reconftw">
- SUBMIT
- </button>
- </div>
- <div class="col-sm-3"></div>
- </div>
- </div>
- </div>
- </div>
- {% csrf_token %}
- </form>
- </section>
- </div>
- </div>
</div>
</div>
<div class="col-sm"></div>