Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
khast3x committed Jul 10, 2020
1 parent ceec226 commit 989505d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ usage: h8mail [-h] [-t USER_TARGETS [USER_TARGETS ...]]
[-gz LOCAL_GZIP_SRC [LOCAL_GZIP_SRC ...]] [-sf]
[-ch [CHASE_LIMIT]] [--power-chase] [--hide] [--debug]
[--gen-config]

Email information and password lookup tool

optional arguments:
Expand Down Expand Up @@ -144,18 +144,16 @@ optional arguments:
-ch [CHASE_LIMIT], --chase [CHASE_LIMIT]
Add related emails from hunter.io to ongoing target
list. Define number of emails per target to chase.
Requires hunter.io private API key
Requires hunter.io private API key if used without
power-chase
--power-chase Add related emails from ALL API services to ongoing
target list. Use with --chase. Requires a private API
key
target list. Use with --chase
--hide Only shows the first 4 characters of found passwords
to output. Ideal for demonstrations
--debug Print request debug information
--gen-config, -g Generates a configuration file template in the current
working directory & exits. Will overwrite existing
h8mail_config.ini file


```
-----
Expand Down
4 changes: 2 additions & 2 deletions h8mail/utils/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,9 @@ def get_intelx(self, api_keys):
+ "]>[intelx.io] Removing {file}".format(file=f)
)
remove(f)
c.info_news(f"Terminating search {search_id}")
c.info_news(f"Terminating search {search_id} ({self.target})")
terminate = intelx.INTEL_TERMINATE_SEARCH(search_id)
print(terminate)
c.info_news(f"Terminated with {terminate}")
except Exception as ex:
c.bad_news("intelx.io error: " + self.target)
print(ex)
Expand Down
8 changes: 4 additions & 4 deletions h8mail/utils/intelx_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

def intelx_getsearch(target, intelx, maxfile):

c.info_news("[" + target + "]>[intelx.io]")
c.info_news("[" + target + "]>[intelx.io] Starting search")
cap = intelx.GET_CAPABILITIES()
# print(cap["buckets"])
# import json
Expand All @@ -27,14 +27,14 @@ def intelx_getsearch(target, intelx, maxfile):
maxresults=maxfile,
media=24,
)
c.good_news("[" + target + "]>[intelx.io] Search returned the following files :\n----")
c.good_news("[" + target + "]>[intelx.io] Search returned the following files :")
for record in search["records"]:
c.good_news("Name: " + record["name"])
c.good_news("Bucket: " + record["bucket"])
c.good_news(
"Size: " + "{:,.0f}".format(record["size"] / float(1 << 20)) + " MB"
)
c.info_news("Storage ID: " + record["storageid"])
print("------")

print("----------")
print("")
return search, search_id

0 comments on commit 989505d

Please sign in to comment.