From 795d803917cc1d1d362a088dbc2fefbc4350c32b Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:32:54 +0100 Subject: [PATCH 01/24] Add pagesjaunes.ca --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index 337e95d..1219ab7 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -13,5 +13,10 @@ "title": "reputation report on findwhocallsme.com", "request": "site:findwhocallsme.com intext:\"$n\" | intext:\"$i\"", "stop": 1 + }, + { + "title": "reputation report on pagesjaunes.ca", + "request": "site:pagesjaunes.ca intext:\"$n\"", + "stop": 1 } ] From 9e55b71863c9a15526a9da7285f3dd65d7ffde07 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:41:35 +0100 Subject: [PATCH 02/24] Rename pagesjaunes.ca to yellowpages.ca --- osint/reputation.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osint/reputation.json b/osint/reputation.json index 1219ab7..bfc0a6a 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -15,8 +15,8 @@ "stop": 1 }, { - "title": "reputation report on pagesjaunes.ca", - "request": "site:pagesjaunes.ca intext:\"$n\"", + "title": "reputation report on yellowpages.ca", + "request": "site:yellowpages.ca intext:\"$n\"", "stop": 1 } ] From df008eb29d650705b2f4c1de77944d0f87ded397 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:43:58 +0100 Subject: [PATCH 03/24] Add phonenumbers.ie --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index bfc0a6a..156e891 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -18,5 +18,10 @@ "title": "reputation report on yellowpages.ca", "request": "site:yellowpages.ca intext:\"$n\"", "stop": 1 + }, + { + "title": "reputation report on phonenumbers.ie", + "request": "site:phonenumbers.ie intext:\"$n\"", + "stop": 1 } ] From c2d8b72721854535a396eb3b7f356d9a7f7063a9 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:45:24 +0100 Subject: [PATCH 04/24] Add who-calledme.com --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index 156e891..98bbcb9 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -23,5 +23,10 @@ "title": "reputation report on phonenumbers.ie", "request": "site:phonenumbers.ie intext:\"$n\"", "stop": 1 + }, + { + "title": "reputation report on who-calledme.com", + "request": "site:who-calledme.com intext:\"$n\"", + "stop": 1 } ] From c6838f9f11716284006306ffa9aee74727a3d340 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:57:24 +0100 Subject: [PATCH 05/24] [Docs] Features Also remove Formats, Installation, and Usage sections. --- README.md | 40 ++-------------------------------------- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 1d84188..2037beb 100644 --- a/README.md +++ b/README.md @@ -35,49 +35,13 @@ PhoneInfoga is one of the most advanced tools to scan phone numbers using only f - Check if phone number exists and is possible - Gather standard informations such as country, line type and carrier -- Check several numbers at once - OSINT reconnaissance using external APIs, Google Hacking, phone books & search engines +- Check for reputation footprints, social media, disposable numbers and more +- Scan several numbers at once - Use custom formatting for more effective OSINT reconnaissance ![](https://i.imgur.com/bWx79dy.png) -## Formats - -The tool only accepts E164 and International formats as input. - -## Installation - -```bash -git clone https://github.com/sundowndev/PhoneInfoga -cd PhoneInfoga/ -python3 -m pip install -r requirements.txt -``` - -## Usage - -### [The full usage documentation has been moved to the wiki](https://github.com/sundowndev/PhoneInfoga/wiki) - -``` -usage: phoneinfoga.py -n [options] - -Advanced information gathering tool for phone numbers -(https://github.com/sundowndev/PhoneInfoga) - -optional arguments: - -h, --help show this help message and exit - -n number, --number number - The phone number to scan (E164 or International - format) - -i input_file, --input input_file - Phone number list to scan (one per line) - -o output_file, --output output_file - Output to save scan results - -s scanner, --scanner scanner (any to skip, default: all) - The scanner to use - --osint Use OSINT reconnaissance - -u, --update Update the tool & databases -``` - ## License This tool is licensed under the GNU General Public License v3.0. From 73f95f8fc629e4e3d6aede11bccb77551df0c398 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 01:14:40 +0100 Subject: [PATCH 06/24] [Docs] Footprinting process --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2037beb..3cfa7ee 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ PhoneInfoga is one of the most advanced tools to scan phone numbers using only f - Scan several numbers at once - Use custom formatting for more effective OSINT reconnaissance -![](https://i.imgur.com/bWx79dy.png) +![Footprinting process](https://i.imgur.com/qCkgzz8.png) ## License From 8df95ca6ca73fda791d8822b0f5444164efbcef8 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 25 Feb 2019 10:29:43 +0100 Subject: [PATCH 07/24] Add usphonesearch.net --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index 98bbcb9..215300e 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -28,5 +28,10 @@ "title": "reputation report on who-calledme.com", "request": "site:who-calledme.com intext:\"$n\"", "stop": 1 + }, + { + "title": "reputation report on usphonesearch.net", + "request": "site:usphonesearch.net for $l", + "stop": 1 } ] From 0251ffb3fa0716487069953dd844f8052feb392d Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 25 Feb 2019 11:04:17 +0100 Subject: [PATCH 08/24] Add whocalled.us --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index 215300e..81dabb3 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -33,5 +33,10 @@ "title": "reputation report on usphonesearch.net", "request": "site:usphonesearch.net for $l", "stop": 1 + }, + { + "title": "reputation report on whocalled.us", + "request": "site:whocalled.us inurl\"$l\"", + "stop": 1 } ] From 774dfc08d222165c86263a9cf2cc75f3c6caedf5 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 21 Feb 2019 13:12:28 +0100 Subject: [PATCH 09/24] Add findwhocallsme.com source --- osint/reputation.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/osint/reputation.json b/osint/reputation.json index 8cc8e64..03def6a 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -1,12 +1,17 @@ [ { "title": "reputation report on whosenumber.info", - "request": "site:\"whosenumber.info\" intext:\"$n\" intitle:\"who called\"", + "request": "site:whosenumber.info intext:\"$n\" intitle:\"who called\"", "stop": 1 }, { "title": "phone fraud footprints", "request": "intitle:\"Phone Fraud\" intext:\"$n\" | intext:\"$i\"", "stop": 5 + }, + { + "title": "reputation report on findwhocallsme.com", + "request": "site:findwhocallsme.com intext:\"$n\" | intext:\"$i\"", + "stop": 1 } ] From 97db817951707fd919cfc3cb6cce96c6b21b19a4 Mon Sep 17 00:00:00 2001 From: sundowndev Date: Thu, 21 Feb 2019 14:41:37 +0100 Subject: [PATCH 10/24] Use local format in OSINT scan --- osint/individuals.json | 10 +++++----- osint/reputation.json | 2 +- osint/social_medias.json | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/osint/individuals.json b/osint/individuals.json index 2779724..41322ec 100644 --- a/osint/individuals.json +++ b/osint/individuals.json @@ -1,13 +1,13 @@ [ { "site": "numinfo.net", - "request": "site:\"numinfo.net\" intext:\"$n\" | intext:\"$i\"", + "request": "site:\"numinfo.net\" intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "dialCode": null, "stop": 2 }, { "site": "sync.me", - "request": "site:\"sync.me\" intext:\"$n\" | intext:\"$i\"", + "request": "site:\"sync.me\" intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "dialCode": null, "stop": 1 }, @@ -19,19 +19,19 @@ }, { "site": "pastebin.com", - "request": "site:\"pastebin.com\" intext:\"$n\" | intext:\"$i\"", + "request": "site:\"pastebin.com\" intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "dialCode": null, "stop": 5 }, { "site": "whycall.me", - "request": "site:\"whycall.me\" intext:\"$n\" | intext:\"$l\"", + "request": "site:\"whycall.me\" intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "dialCode": null, "stop": 1 }, { "site": "locatefamily.com", - "request": "site:locatefamily.com intext:\"$n\" | intext:\"$l\"", + "request": "site:locatefamily.com intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "dialCode": null, "stop": 1 } diff --git a/osint/reputation.json b/osint/reputation.json index 03def6a..337e95d 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -6,7 +6,7 @@ }, { "title": "phone fraud footprints", - "request": "intitle:\"Phone Fraud\" intext:\"$n\" | intext:\"$i\"", + "request": "intitle:\"Phone Fraud\" intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "stop": 5 }, { diff --git a/osint/social_medias.json b/osint/social_medias.json index f36adfb..217a40a 100644 --- a/osint/social_medias.json +++ b/osint/social_medias.json @@ -1,22 +1,22 @@ [ { "site": "facebook.com", - "request": "site:\"facebook.com\" intext:\"$i\" | intext:\"$n\"", + "request": "site:\"facebook.com\" intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "stop": 5 }, { "site": "twitter.com", - "request": "site:\"twitter.com\" intext:\"$i\" | intext:\"$n\"", + "request": "site:\"twitter.com\" intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "stop": 5 }, { "site": "linkedin.com", - "request": "site:\"linkedin.com\" intext:\"$i\" | intext:\"$n\"", + "request": "site:\"linkedin.com\" intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "stop": 5 }, { "site": "instagram.com", - "request": "site:\"instagram.com\" intext:\"$i\" | intext:\"$n\"", + "request": "site:\"instagram.com\" intext:\"$i\" | intext:\"$n\" | intext:\"$l\"", "stop": 5 } ] From 853f44431131c4c144d9071a8ddcfe83eb98c1c6 Mon Sep 17 00:00:00 2001 From: sundowndev Date: Thu, 21 Feb 2019 14:42:18 +0100 Subject: [PATCH 11/24] [Fix] Google search results --- phoneinfoga.py | 50 ++++++++++++++++++++++++-------------------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/phoneinfoga.py b/phoneinfoga.py index 5750ecf..6e558a6 100644 --- a/phoneinfoga.py +++ b/phoneinfoga.py @@ -119,7 +119,7 @@ def search(req, stop): chosenUserAgent = random.choice(uagent) - s = requests.Session() + reqSession = requests.Session() headers = { 'User-Agent': chosenUserAgent, 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', @@ -134,19 +134,20 @@ def search(req, stop): try: REQ = urlencode({'q': req}) - URL = 'https://www.google.com/search?tbs=li:1&{}&gws_rd=ssl'.format( + URL = 'https://www.google.com/search?tbs=li:1&{}&gws_rd=ssl&gl=us '.format( REQ) - r = s.get(URL + googleAbuseToken, headers=headers) + r = reqSession.get(URL + googleAbuseToken, headers=headers) - while r.status_code == 503: + while r.status_code != 200: print(code_warning + 'You are temporary blacklisted from Google search. Complete the captcha at the following URL and copy/paste the content of GOOGLE_ABUSE_EXEMPTION cookie : {}'.format(URL)) print('\n' + code_info + 'Need help ? Read https://github.com/sundowndev/PhoneInfoga/wiki') token = input('\nGOOGLE_ABUSE_EXEMPTION=') googleAbuseToken = '&google_abuse=' + token - r = s.get(URL + googleAbuseToken, headers=headers) + r = reqSession.get(URL + googleAbuseToken, headers=headers) + + soup = BeautifulSoup(r.text, 'html5lib') - soup = BeautifulSoup(r.content, 'html.parser') results = soup.find("div", id="search").find_all("div", class_="g") links = [] @@ -167,12 +168,14 @@ def search(req, stop): if re.match(r"^(?:\/search\?q\=)", url) is not None: url = 'https://google.com' + url - if links is not None: - return links - else: - return [] + if url is not None: + links.append(url) + + return links except Exception as e: print(code_error + 'Request failed. Please retry or open an issue on https://github.com/sundowndev/PhoneInfoga.') + print(e) + return [] def formatNumber(InputNumber): @@ -202,10 +205,11 @@ def localScan(InputNumber): PhoneNumberObject, phonenumbers.PhoneNumberFormat.E164).replace('+', '') numberCountryCode = phonenumbers.format_number( PhoneNumberObject, phonenumbers.PhoneNumberFormat.INTERNATIONAL).split(' ')[0] - numberCountry = phonenumbers.region_code_for_country_code(int(numberCountryCode)) + numberCountry = phonenumbers.region_code_for_country_code( + int(numberCountryCode)) localNumber = phonenumbers.format_number( - PhoneNumberObject, phonenumbers.PhoneNumberFormat.E164).replace(numberCountryCode, '') + PhoneNumberObject, phonenumbers.PhoneNumberFormat.E164).replace(numberCountryCode, '0') internationalNumber = phonenumbers.format_number( PhoneNumberObject, phonenumbers.PhoneNumberFormat.INTERNATIONAL) @@ -368,8 +372,7 @@ def osintIndividualScan(): (code_info + "Searching for footprints on {}...".format(dork['site']))) for result in search(dorkRequest, stop=dork['stop']): - if result: - print((code_result + "URL: " + result)) + print((code_result + "URL: " + result)) else: return -1 @@ -390,8 +393,7 @@ def osintReputationScan(): print((code_info + "Searching for {}...".format(dork['title']))) for result in search(dorkRequest, stop=dork['stop']): - if result: - print((code_result + "URL: " + result)) + print((code_result + "URL: " + result)) def osintSocialMediaScan(): @@ -412,8 +414,7 @@ def osintSocialMediaScan(): (code_info + "Searching for footprints on {}...".format(dork['site']))) for result in search(dorkRequest, stop=dork['stop']): - if result: - print((code_result + "URL: " + result)) + print((code_result + "URL: " + result)) def osintDisposableNumScan(): @@ -428,10 +429,9 @@ def osintDisposableNumScan(): (code_info + "Searching for footprints on {}...".format(dork['site']))) for result in search(dorkRequest, stop=dork['stop']): - if result: - print((code_result + "Result found: {}".format(dork['site']))) - print((code_result + "URL: " + result)) - askForExit() + print((code_result + "Result found: {}".format(dork['site']))) + print((code_result + "URL: " + result)) + askForExit() def osintScan(rerun=False): @@ -468,8 +468,7 @@ def osintScan(rerun=False): req = '{} | intext:"{}" | intext:"{}"'.format( number, number, internationalNumber) for result in search(req, stop=5): - if result: - print((code_result + "Result found: " + result)) + print((code_result + "Result found: " + result)) # Documents print((code_info + "Searching for documents... (limit=10)")) @@ -480,8 +479,7 @@ def osintScan(rerun=False): req = '[ext:doc | ext:docx | ext:odt | ext:pdf | ext:rtf | ext:sxw | ext:psw | ext:ppt | ext:pptx | ext:pps | ext:csv | ext:txt | ext:xls] && [intext:"{}" | intext:"{}"]'.format( internationalNumber, localNumber) for result in search(req, stop=10): - if result: - print((code_result + "Result found: " + result)) + print((code_result + "Result found: " + result)) print((code_info + '---- Reputation footprints ----')) From c05ddaeec00b40179a6ecd073bbc4ef5af52b690 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 21 Feb 2019 14:49:58 +0100 Subject: [PATCH 12/24] Increase web pages results limit to 10 --- phoneinfoga.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phoneinfoga.py b/phoneinfoga.py index 6e558a6..fba7a72 100644 --- a/phoneinfoga.py +++ b/phoneinfoga.py @@ -460,14 +460,15 @@ def osintScan(rerun=False): print((code_info + '---- Web pages footprints ----')) - print((code_info + "Searching for footprints on web pages... (limit=5)")) + print((code_info + "Searching for footprints on web pages... (limit=10)")) if customFormatting: req = '{} | intext:"{}" | intext:"{}" | intext:"{}"'.format( number, number, internationalNumber, customFormatting) else: req = '{} | intext:"{}" | intext:"{}"'.format( number, number, internationalNumber) - for result in search(req, stop=5): + + for result in search(req, stop=10): print((code_result + "Result found: " + result)) # Documents From 6029caaf911cd7ee6454cad9e0bc0f5422305c61 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 21 Feb 2019 14:57:44 +0100 Subject: [PATCH 13/24] Version 1.0.2 --- phoneinfoga.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phoneinfoga.py b/phoneinfoga.py index fba7a72..6a9d15e 100644 --- a/phoneinfoga.py +++ b/phoneinfoga.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -__version__ = 'v1.0.1' +__version__ = 'v1.0.2' try: import sys From 6fbd8671565fceaa93e46abd3437fcc6a94e47ff Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:32:54 +0100 Subject: [PATCH 14/24] Add pagesjaunes.ca --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index 337e95d..1219ab7 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -13,5 +13,10 @@ "title": "reputation report on findwhocallsme.com", "request": "site:findwhocallsme.com intext:\"$n\" | intext:\"$i\"", "stop": 1 + }, + { + "title": "reputation report on pagesjaunes.ca", + "request": "site:pagesjaunes.ca intext:\"$n\"", + "stop": 1 } ] From 21cf34d398305a5a644d3c49f70082e65ea9fe9f Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:41:35 +0100 Subject: [PATCH 15/24] Rename pagesjaunes.ca to yellowpages.ca --- osint/reputation.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osint/reputation.json b/osint/reputation.json index 1219ab7..bfc0a6a 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -15,8 +15,8 @@ "stop": 1 }, { - "title": "reputation report on pagesjaunes.ca", - "request": "site:pagesjaunes.ca intext:\"$n\"", + "title": "reputation report on yellowpages.ca", + "request": "site:yellowpages.ca intext:\"$n\"", "stop": 1 } ] From a10383f0c7c9f90ec3e6d06453f920a786836256 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:43:58 +0100 Subject: [PATCH 16/24] Add phonenumbers.ie --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index bfc0a6a..156e891 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -18,5 +18,10 @@ "title": "reputation report on yellowpages.ca", "request": "site:yellowpages.ca intext:\"$n\"", "stop": 1 + }, + { + "title": "reputation report on phonenumbers.ie", + "request": "site:phonenumbers.ie intext:\"$n\"", + "stop": 1 } ] From 73437b37fb202e33e00559d3753cf903fc2f4f04 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:45:24 +0100 Subject: [PATCH 17/24] Add who-calledme.com --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index 156e891..98bbcb9 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -23,5 +23,10 @@ "title": "reputation report on phonenumbers.ie", "request": "site:phonenumbers.ie intext:\"$n\"", "stop": 1 + }, + { + "title": "reputation report on who-calledme.com", + "request": "site:who-calledme.com intext:\"$n\"", + "stop": 1 } ] From 981e6e86bcbe8b4f8ab5caf6e32a0fd49c0cfbd0 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 00:57:24 +0100 Subject: [PATCH 18/24] [Docs] Features Also remove Formats, Installation, and Usage sections. --- README.md | 40 ++-------------------------------------- 1 file changed, 2 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 1d84188..2037beb 100644 --- a/README.md +++ b/README.md @@ -35,49 +35,13 @@ PhoneInfoga is one of the most advanced tools to scan phone numbers using only f - Check if phone number exists and is possible - Gather standard informations such as country, line type and carrier -- Check several numbers at once - OSINT reconnaissance using external APIs, Google Hacking, phone books & search engines +- Check for reputation footprints, social media, disposable numbers and more +- Scan several numbers at once - Use custom formatting for more effective OSINT reconnaissance ![](https://i.imgur.com/bWx79dy.png) -## Formats - -The tool only accepts E164 and International formats as input. - -## Installation - -```bash -git clone https://github.com/sundowndev/PhoneInfoga -cd PhoneInfoga/ -python3 -m pip install -r requirements.txt -``` - -## Usage - -### [The full usage documentation has been moved to the wiki](https://github.com/sundowndev/PhoneInfoga/wiki) - -``` -usage: phoneinfoga.py -n [options] - -Advanced information gathering tool for phone numbers -(https://github.com/sundowndev/PhoneInfoga) - -optional arguments: - -h, --help show this help message and exit - -n number, --number number - The phone number to scan (E164 or International - format) - -i input_file, --input input_file - Phone number list to scan (one per line) - -o output_file, --output output_file - Output to save scan results - -s scanner, --scanner scanner (any to skip, default: all) - The scanner to use - --osint Use OSINT reconnaissance - -u, --update Update the tool & databases -``` - ## License This tool is licensed under the GNU General Public License v3.0. From 87edd6b713059f8d7ba760b8db3afd80dec8bd87 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 24 Feb 2019 01:14:40 +0100 Subject: [PATCH 19/24] [Docs] Footprinting process --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2037beb..3cfa7ee 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ PhoneInfoga is one of the most advanced tools to scan phone numbers using only f - Scan several numbers at once - Use custom formatting for more effective OSINT reconnaissance -![](https://i.imgur.com/bWx79dy.png) +![Footprinting process](https://i.imgur.com/qCkgzz8.png) ## License From 844c6b574b0f264c965ce48634a4fc478e74fce7 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 25 Feb 2019 10:29:43 +0100 Subject: [PATCH 20/24] Add usphonesearch.net --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index 98bbcb9..215300e 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -28,5 +28,10 @@ "title": "reputation report on who-calledme.com", "request": "site:who-calledme.com intext:\"$n\"", "stop": 1 + }, + { + "title": "reputation report on usphonesearch.net", + "request": "site:usphonesearch.net for $l", + "stop": 1 } ] From fc67b927f3ecf341a05411dfe417d2c745fc0794 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 25 Feb 2019 11:04:17 +0100 Subject: [PATCH 21/24] Add whocalled.us --- osint/reputation.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osint/reputation.json b/osint/reputation.json index 215300e..81dabb3 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -33,5 +33,10 @@ "title": "reputation report on usphonesearch.net", "request": "site:usphonesearch.net for $l", "stop": 1 + }, + { + "title": "reputation report on whocalled.us", + "request": "site:whocalled.us inurl\"$l\"", + "stop": 1 } ] From a07a6455fa2125673a02153a5e6f47d48d986dcc Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 25 Feb 2019 11:27:19 +0100 Subject: [PATCH 22/24] Typo --- osint/individuals.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osint/individuals.json b/osint/individuals.json index 41322ec..a315f43 100644 --- a/osint/individuals.json +++ b/osint/individuals.json @@ -13,7 +13,7 @@ }, { "site": "whocallsyou.de", - "request": "site:\"whocallsyou.de\" intext:\"0$n\"", + "request": "site:\"whocallsyou.de\" intext:\"0$l\"", "dialCode": null, "stop": 1 }, From 234764f84ffd8ebfe500e591bbdbce897cc29e4e Mon Sep 17 00:00:00 2001 From: sundowndev Date: Mon, 25 Feb 2019 11:52:19 +0100 Subject: [PATCH 23/24] Typo --- osint/reputation.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osint/reputation.json b/osint/reputation.json index 81dabb3..a1bd0ea 100644 --- a/osint/reputation.json +++ b/osint/reputation.json @@ -36,7 +36,7 @@ }, { "title": "reputation report on whocalled.us", - "request": "site:whocalled.us inurl\"$l\"", + "request": "site:whocalled.us inurl:\"$l\"", "stop": 1 } ] From 41815340331d833ae58aa9b49fcbd31fec6fe1d7 Mon Sep 17 00:00:00 2001 From: sundowndev Date: Mon, 25 Feb 2019 11:53:18 +0100 Subject: [PATCH 24/24] Local format & custom format recommandation --- phoneinfoga.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phoneinfoga.py b/phoneinfoga.py index 6a9d15e..a705922 100644 --- a/phoneinfoga.py +++ b/phoneinfoga.py @@ -209,7 +209,7 @@ def localScan(InputNumber): int(numberCountryCode)) localNumber = phonenumbers.format_number( - PhoneNumberObject, phonenumbers.PhoneNumberFormat.E164).replace(numberCountryCode, '0') + PhoneNumberObject, phonenumbers.PhoneNumberFormat.E164).replace(numberCountryCode, '') internationalNumber = phonenumbers.format_number( PhoneNumberObject, phonenumbers.PhoneNumberFormat.INTERNATIONAL) @@ -456,6 +456,8 @@ def osintScan(rerun=False): code_info + 'Would you like to use an additional format for this number ? (y/N) ') if rerun or askingCustomPayload == 'y' or askingCustomPayload == 'yes': + print(code_info + 'We recommand: {} or {}'.format(internationalNumber, + internationalNumber.replace(numberCountryCode + ' ', ''))) customFormatting = input(code_info + 'Custom format: ') print((code_info + '---- Web pages footprints ----'))