Merge branch 'develop' into docker-support
This commit is contained in:
commit
0217ac8c31
60
README.md
60
README.md
|
@ -35,66 +35,12 @@ 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
|
||||
|
||||

|
||||
|
||||
## 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
|
||||
```
|
||||
|
||||
### With Docker
|
||||
|
||||
#### Build
|
||||
|
||||
```bash
|
||||
docker build --rm=true -t phoneinfoga/latest .
|
||||
```
|
||||
|
||||
#### Execute
|
||||
|
||||
```bash
|
||||
docker run --rm -v "$(pwd)":/opt/phoneinfoga -it phoneinfoga/latest
|
||||
```
|
||||
|
||||
##### Limitations
|
||||
|
||||
The input and the output files will have to be relative to the project root.
|
||||
|
||||
## Usage
|
||||
|
||||
### [The full usage documentation has been moved to the wiki](https://github.com/sundowndev/PhoneInfoga/wiki)
|
||||
|
||||
```
|
||||
usage: phoneinfoga.py -n <number> [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
|
||||
|
||||
|
|
|
@ -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
|
||||
},
|
||||
|
|
|
@ -13,5 +13,30 @@
|
|||
"title": "reputation report on findwhocallsme.com",
|
||||
"request": "site:findwhocallsme.com intext:\"$n\" | intext:\"$i\"",
|
||||
"stop": 1
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"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
|
||||
},
|
||||
{
|
||||
"title": "reputation report on whocalled.us",
|
||||
"request": "site:whocalled.us inurl:\"$l\"",
|
||||
"stop": 1
|
||||
}
|
||||
]
|
||||
|
|
|
@ -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 ----'))
|
||||
|
|
Loading…
Reference in New Issue