├── .archive ├── unreleasedv3 │ ├── README.md │ ├── phomber │ │ ├── __init__.py │ │ ├── __main__.py │ │ ├── modules │ │ │ ├── __init__.py │ │ │ ├── apis │ │ │ │ ├── __init__.py │ │ │ │ ├── abstractapi.py │ │ │ │ ├── apilayer.py │ │ │ │ ├── findandtrace.py │ │ │ │ ├── numlookupapi.py │ │ │ │ ├── phomber.egg-info │ │ │ │ │ ├── PKG-INFO │ │ │ │ │ ├── SOURCES.txt │ │ │ │ │ ├── dependency_links.txt │ │ │ │ │ ├── entry_points.txt │ │ │ │ │ ├── requires.txt │ │ │ │ │ └── top_level.txt │ │ │ │ └── veriphone.py │ │ │ ├── basic │ │ │ │ ├── __init__.py │ │ │ │ ├── common.py │ │ │ │ ├── config_editor.py │ │ │ │ ├── local_scan.py │ │ │ │ └── logo.py │ │ │ ├── config.ini │ │ │ ├── disposable │ │ │ │ └── dorking.py │ │ │ └── search_engine │ │ │ │ ├── dork.py │ │ │ │ └── se_urls.py │ │ ├── phomber.py │ │ └── requirements.txt │ └── setup.py ├── v1.0 │ ├── README.md │ ├── config.py │ └── phomber.py └── v2.0 │ ├── .docs │ └── apikeys.md │ ├── LICENSE │ ├── README.md │ ├── config.py │ ├── images │ ├── Phomber_official_logo.png │ ├── ocd_1.png │ ├── ocd_2.png │ ├── ocd_3.png │ ├── ocd_4.png │ ├── ph0mber_logo.png │ └── phomber_logo.png │ ├── more │ ├── additional_config.md │ ├── api_keys.md │ ├── phoneinfoga.md │ └── truecaller.md │ ├── phomber.py │ ├── phoneinfoga.bat │ ├── phoneinfoga.sh │ ├── readme.md │ └── requirements.txt ├── .github └── FUNDING.yml ├── .images ├── .images.md ├── Phomber_official_logo.png ├── helpmenu.png └── phomber_logo.png ├── Dockerfile ├── LICENSE ├── README.md ├── phomber.py └── pyproject.toml /.archive/unreleasedv3/README.md: -------------------------------------------------------------------------------- 1 | ## This is an _unreleased_ source code of _ph0mber v3_ 2 | > Supports only reverse phone number lookup using various apis 3 | 4 | - you can build local version with `python install setup.py` 5 | - need apikeys in config 6 | - tested for `linux` 7 | - to display usage menu, just type `phomber` 8 | 9 | 10 | 11 | ### For testing, you can try (copy-paste in terminal) the following: 12 | ```bash 13 | git clone https://github.com/s41r4j/phomber/ 14 | cd ./phomber/.archive/unreleasedv3 15 | python3 setup.py install 16 | ``` 17 | - if there is some setuptools error, try running this `sudo python3 setup.py install` 18 | 19 | 20 | ### Usage 21 | 22 | ``` 23 | usage: phomber [-h] [-c] [-l] [-a] [-abs] [-lyr] [-fnt] [-nlu] [-vp] 24 | [Phone Number] 25 | 26 | PH0MBER — reverse phone number lookup 27 | 28 | positional arguments: 29 | Phone Number Phone number to which perform reverse lookup 30 | 31 | optional arguments: 32 | -h, --help show this help message and exit 33 | -c, --config_editor Opens config editor for entering apis keys 34 | -l, --logo Display random `PH0MBER` logo 35 | -a, --all_apis Run all API scans 36 | -abs, --abstractapi Abstract Api [abstractapi.com] 37 | -lyr, --apilayer Apilayer [apilayer.com] 38 | -fnt, --findandtrace Find and Trace [findandtrace.com] 39 | -nlu, --numlookupapi Numlookup Api [numlookupapi.com] 40 | -vp, --veriphone Veriphone [veriphone.io] 41 | ``` 42 | 43 |
44 | 45 | > To uninstall, type `pip uninstall phomber` (use prefix `sudo`, if needed) 46 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/__init__.py: -------------------------------------------------------------------------------- 1 | __project__ = 'ph0mber' 2 | __version__ = '3.0' 3 | 4 | __dev__ = 's41r4j' 5 | 6 | __website__ = 'https://github.com/phomber' 7 | __twitter__ = 'https://twitter.com/s41r4j' 8 | __instagram__ = 'https://instagram.com/s41r4j' 9 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/__main__.py: -------------------------------------------------------------------------------- 1 | # Importing main module 2 | from phomber.phomber import main 3 | 4 | # Used to run phomber as cli application 5 | def run_phomber(): 6 | try: 7 | main() 8 | except KeyboardInterrupt: 9 | print('[!] Force Terminate') -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/unreleasedv3/phomber/modules/__init__.py -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/unreleasedv3/phomber/modules/apis/__init__.py -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/abstractapi.py: -------------------------------------------------------------------------------- 1 | ########################################################## 2 | # Project: PH0MBER # 3 | # Developer: S41R4J # 4 | # Project Link: https://github.com/s41r4j/phomber # 5 | # ------------------------------------------------------ # 6 | # pwd: phomber.modules.apis.abstractapi # 7 | # API's website: abstractapi.com # 8 | ########################################################## 9 | 10 | 11 | # Importing default functions 12 | import json 13 | import requests 14 | import configparser 15 | 16 | 17 | # extracting api key from config file 18 | def get_apikey(): 19 | parser = configparser.ConfigParser() 20 | parser.read('phomber/modules/config.ini') 21 | try: 22 | return parser.get('abstractapi.com', 'apikey') 23 | except configparser.NoOptionError: 24 | return 'err-abs-no-apikey' 25 | except: 26 | return 'err-abs-apikey' 27 | 28 | 29 | # getting phone number details from api 30 | def api(phone_number): 31 | if phone_number: 32 | apikey = get_apikey() 33 | 34 | if apikey == 'err-abs-no-apikey' or apikey == 'err-abs-apikey': 35 | return apikey 36 | 37 | url = f"https://phonevalidation.abstractapi.com/v1/?api_key={apikey}&phone={phone_number}" 38 | 39 | response = requests.get(url) 40 | 41 | status_code = response.status_code 42 | result = response.content 43 | 44 | if status_code == 200: 45 | return json.loads(result.decode('utf-8')) 46 | else: 47 | return 'status-code-non-200' -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/apilayer.py: -------------------------------------------------------------------------------- 1 | ########################################################## 2 | # Project: PH0MBER # 3 | # Developer: S41R4J # 4 | # Project Link: https://github.com/s41r4j/phomber # 5 | # ------------------------------------------------------ # 6 | # pwd: phomber.modules.apis.apilayer # 7 | # API's website: apilayer.com # 8 | ########################################################## 9 | 10 | 11 | # Importing default functions 12 | import json 13 | import requests 14 | import configparser 15 | 16 | 17 | # extracting api key from config file 18 | def get_apikey(): 19 | parser = configparser.ConfigParser() 20 | parser.read('phomber/modules/config.ini') 21 | try: 22 | return parser.get('apilayer.com', 'apikey') 23 | except configparser.NoOptionError: 24 | return 'err-lyr-no-apikey' 25 | except: 26 | return 'err-lyr-apikey' 27 | 28 | 29 | # getting phone number details from api 30 | def api(phone_number): 31 | if phone_number: 32 | url = f"https://api.apilayer.com/number_verification/validate?number={phone_number}" 33 | 34 | apikey = get_apikey() 35 | 36 | if apikey == 'err-lyr-no-apikey' or apikey == 'err-lyr-apikey': 37 | return apikey 38 | 39 | payload = {} 40 | headers= { 41 | "apikey": apikey 42 | } 43 | 44 | response = requests.request("GET", url, headers=headers, data = payload) 45 | 46 | status_code = response.status_code 47 | result = response.text 48 | 49 | if status_code == 200: 50 | return json.loads(result.replace('\n', '')) 51 | else: 52 | return 'status-code-non-200' -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/findandtrace.py: -------------------------------------------------------------------------------- 1 | ########################################################## 2 | # Project: PH0MBER # 3 | # Developer: S41R4J # 4 | # Project Link: https://github.com/s41r4j/phomber # 5 | # ------------------------------------------------------ # 6 | # pwd: phomber.modules.apis.veriphone # 7 | # API's website: veriphone.io # 8 | ########################################################## 9 | 10 | 11 | # Importing need functions 12 | import mechanize 13 | from bs4 import BeautifulSoup 14 | 15 | 16 | def api(phone_number): 17 | mc = mechanize.Browser() 18 | mc.set_handle_robots(False) 19 | 20 | url = 'https://www.findandtrace.com/trace-mobile-number-location' 21 | mc.open(url) 22 | 23 | mc.select_form(name='trace') 24 | mc['mobilenumber'] = phone_number # Enter a mobile number 25 | res = mc.submit().read() 26 | soup = BeautifulSoup(res,'html.parser') 27 | tbl = soup.find_all('table',class_='shop_table') 28 | #print(tbl) 29 | 30 | data = tbl[0].find('tfoot') 31 | c=0 32 | for i in data: 33 | c+=1 34 | if c in (1,4,6,8): 35 | continue 36 | th = i.find('th') 37 | td = i.find('td') 38 | try: 39 | print('[+]',th.text,td.text) 40 | except AttributeError: 41 | pass 42 | try: 43 | data = tbl[1].find('tfoot') 44 | except: 45 | pass 46 | 47 | c=0 48 | for i in data: 49 | c+=1 50 | if c in (2,12,14,18,20,22,24,26,28,30): 51 | th = i.find('th') 52 | td = i.find('td') 53 | try: 54 | print('[+]',th.text,td.text.strip()) 55 | except AttributeError: 56 | pass -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/numlookupapi.py: -------------------------------------------------------------------------------- 1 | ########################################################## 2 | # Project: PH0MBER # 3 | # Developer: S41R4J # 4 | # Project Link: https://github.com/s41r4j/phomber # 5 | # ------------------------------------------------------ # 6 | # pwd: phomber.modules.apis.numlookupapi # 7 | # API's website: numlookupapi.com # 8 | ########################################################## 9 | 10 | 11 | # Importing default functions 12 | import json 13 | import requests 14 | import configparser 15 | 16 | 17 | # extracting api key from config file 18 | def get_apikey(): 19 | parser = configparser.ConfigParser() 20 | parser.read('phomber/modules/config.ini') 21 | try: 22 | return parser.get('numlookupapi.com', 'apikey') 23 | except configparser.NoOptionError: 24 | return 'err-nlu-no-apikey' 25 | except: 26 | return 'err-nlu-apikey' 27 | 28 | 29 | # getting phone number details from api 30 | def api(phone_number): 31 | if phone_number: 32 | apikey = get_apikey() 33 | 34 | if apikey == 'err-nlu-no-apikey' or apikey == 'err-nlu-apikey': 35 | return apikey 36 | 37 | url = f"https://api.numlookupapi.com/v1/validate/{phone_number}?apikey={apikey}" 38 | 39 | response = requests.get(url) 40 | 41 | status_code = response.status_code 42 | result = response.content 43 | 44 | if status_code == 200: 45 | return json.loads(result.decode('utf-8')) 46 | else: 47 | return 'status-code-non-200' -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/phomber.egg-info/PKG-INFO: -------------------------------------------------------------------------------- 1 | Metadata-Version: 2.1 2 | Name: phomber 3 | Version: 1.0.0 4 | Summary: nothing 5 | Home-page: https://github.com/Divinemonk/ 6 | Author: Divinemonk 7 | Author-email: 8 | License: UNKNOWN 9 | Description: 10 | nothing 11 | 12 | Keywords: phomber 13 | Platform: UNKNOWN 14 | Classifier: Programming Language :: Python :: 3 15 | Classifier: Operating System :: Unix 16 | Classifier: Operating System :: MacOS :: MacOS X 17 | Classifier: License :: OSI Approved :: MIT License 18 | Description-Content-Type: text/markdown 19 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/phomber.egg-info/SOURCES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/unreleasedv3/phomber/modules/apis/phomber.egg-info/SOURCES.txt -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/phomber.egg-info/dependency_links.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/phomber.egg-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | phomber = phomber.__main__:run_phomber 3 | 4 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/phomber.egg-info/requires.txt: -------------------------------------------------------------------------------- 1 | phonenumbers==8.12.48 2 | rich 3 | geopy==2.2.0 4 | mechanize==0.4.8 5 | bs4==0.0.1 6 | pytz==2022.1 7 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/phomber.egg-info/top_level.txt: -------------------------------------------------------------------------------- 1 | phomber 2 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/apis/veriphone.py: -------------------------------------------------------------------------------- 1 | ########################################################## 2 | # Project: PH0MBER # 3 | # Developer: S41R4J # 4 | # Project Link: https://github.com/s41r4j/phomber # 5 | # ------------------------------------------------------ # 6 | # pwd: phomber.modules.apis.veriphone # 7 | # API's website: veriphone.io # 8 | ########################################################## 9 | 10 | 11 | # Importing default functions 12 | import json 13 | import requests 14 | import configparser 15 | 16 | 17 | # extracting api key from config file 18 | def get_apikey(): 19 | parser = configparser.ConfigParser() 20 | parser.read('phomber/modules/config.ini') 21 | try: 22 | return parser.get('veriphone.io', 'apikey') 23 | except configparser.NoOptionError: 24 | return 'err-vp-no-apikey' 25 | except: 26 | return 'err-vp-apikey' 27 | 28 | 29 | # getting phone number details from api 30 | def api(phone_number): 31 | if phone_number: 32 | apikey = get_apikey() 33 | 34 | if apikey == 'err-vp-no-apikey' or apikey == 'err-vp-apikey': 35 | return apikey 36 | 37 | url =f"https://api.veriphone.io/v2/verify?key={apikey}&phone={phone_number}" 38 | 39 | response = requests.get(url) 40 | 41 | status_code = response.status_code 42 | result = response.content 43 | 44 | if status_code == 200: 45 | return json.loads(result.decode('utf-8')) 46 | else: 47 | return 'status-code-non-200' -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/basic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/unreleasedv3/phomber/modules/basic/__init__.py -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/basic/common.py: -------------------------------------------------------------------------------- 1 | # Importing cmd line argument modules 2 | import argparse 3 | import sys 4 | import os 5 | import math 6 | 7 | # For phone number validation 8 | import phonenumbers 9 | 10 | # Import version number 11 | import phomber.__init__ as i 12 | 13 | # Imports needed for loading animation 14 | from itertools import cycle 15 | from shutil import get_terminal_size 16 | from threading import Thread 17 | from time import sleep 18 | 19 | 20 | 21 | # https://stackoverflow.com/questions/22029562/python-how-to-make-simple-animated-loading-while-process-is-running?answertab=trending#tab-top 22 | class Loader: 23 | def __init__(self, desc="Loading...", end=f" [prog=\033[1m{i.__project__}\033[0m; dev=\033[1m{i.__dev__}\033[0m; ver=\033[1m{i.__version__}\033[0m]\n", timeout=0.1): 24 | self.desc = desc 25 | self.end = end 26 | self.timeout = timeout 27 | 28 | self._thread = Thread(target=self._animate, daemon=True) 29 | self.steps = ["⢿", "⣻", "⣽", "⣾", "⣷", "⣯", "⣟", "⡿"] 30 | self.done = False 31 | 32 | def start(self): 33 | self._thread.start() 34 | return self 35 | 36 | def _animate(self): 37 | for c in cycle(self.steps): 38 | if self.done: 39 | break 40 | print(f"\r{self.desc} {c}", flush=True, end="") 41 | sleep(self.timeout) 42 | 43 | def __enter__(self): 44 | self.start() 45 | 46 | def stop(self): 47 | self.done = True 48 | cols = get_terminal_size((80, 20)).columns 49 | print("\r" + " " * cols, end="", flush=True) 50 | print(f"\r{self.end}", flush=True) 51 | 52 | def __exit__(self, exc_type, exc_value, tb): 53 | # handle exceptions with those variables ^ 54 | self.stop() 55 | 56 | 57 | def loading(text, range_value, sleep_time): 58 | with Loader(text): 59 | for z in range(range_value): 60 | sleep(sleep_time) 61 | 62 | 63 | def display_help(): 64 | global parser 65 | parser.print_help(sys.stderr) 66 | 67 | 68 | def parser(): 69 | 70 | # specific_api_help = ''' 71 | # \t 1) Abstract Api [abstractapi.com] 72 | # \t 2) Apilayer [apilayer.com] 73 | # \t 3) Find and Trace [findandtrace.com] 74 | # \t 4) Numlookup Api [numlookupapi.com] 75 | # \t 5) Veriphone [veriphone.io] 76 | # ''' 77 | 78 | global parser 79 | 80 | parser = argparse.ArgumentParser(description='PH0MBER — reverse phone number lookup') 81 | 82 | parser.add_argument('phone_number', metavar='Phone Number', 83 | type=str, nargs='?', 84 | help='Phone number to which perform reverse lookup') 85 | 86 | parser.add_argument('-c', '--config_editor', dest='config_editor', 87 | action='store_true', 88 | help='Opens config editor for entering apis keys') 89 | 90 | parser.add_argument('-l', '--logo', dest='display_logo', 91 | action='store_true', 92 | help='Display random `PH0MBER` logo') 93 | 94 | parser.add_argument('-a', '--all_apis', dest='all_apis', 95 | action='store_true', 96 | help='Run all API scans') 97 | 98 | # parser.add_argument('-s', '--specific_api', dest='s_api', 99 | # action='store_true', 100 | # help=specific_api_help) 101 | 102 | # -- API start -- 103 | parser.add_argument('-abs', '--abstractapi', dest='abstractapi', 104 | action='store_true', 105 | help="Abstract Api [abstractapi.com]") 106 | 107 | parser.add_argument('-lyr', '--apilayer', dest='apilayer', 108 | action='store_true', 109 | help="Apilayer [apilayer.com]") 110 | 111 | parser.add_argument('-fnt', '--findandtrace', dest='findandtrace', 112 | action='store_true', 113 | help="Find and Trace [findandtrace.com]") 114 | 115 | parser.add_argument('-nlu', '--numlookupapi', dest='numlookupapi', 116 | action='store_true', 117 | help="Numlookup Api [numlookupapi.com]") 118 | 119 | parser.add_argument('-vp', '--veriphone', dest='veriphone', 120 | action='store_true', 121 | help="Veriphone [veriphone.io]") 122 | # -- API end -- 123 | 124 | return parser.parse_args() 125 | 126 | 127 | 128 | def get_width(): 129 | return os.get_terminal_size()[0] 130 | 131 | 132 | def decorate(func, title, value, api_code=False): 133 | 134 | def wrapper(): 135 | print('—'*get_width()) 136 | half_width = math.floor((get_width() - len(title))/2)-1 137 | print('~'*half_width, title, '~'*half_width) 138 | print('—'*get_width()) 139 | 140 | try: 141 | data = func(value) 142 | if data != 'status-code-non-200' and api_code: 143 | process_data(data, api_code) 144 | except: 145 | print('err-decorator') 146 | 147 | print('—'*get_width(), '\n') 148 | 149 | return wrapper 150 | 151 | 152 | # Function to process json data retrived from apis 153 | def process_data(data, api_code): 154 | if api_code == 'abs': 155 | print('[+] Phone Number\n |—[ International format:', data['format']['international'], ']\n |—[ Local format:', data['format']['local'],']') 156 | print('\n[+] Validity\n |—[ The provide numeber is', 'VALID' if data['valid'] else 'INVALID',']') 157 | print('\n[+] Country\n |—[ Code:', data['country']['code'], ']\n |—[ Name:', data['country']['name'], ']\n |—[ Prefix:', data['country']['prefix'],']') 158 | print('\n[+] Other details\n |—[ Line type:', data['type'], ']\n |—[ Carrier:', data['carrier'], ']') 159 | 160 | elif api_code == 'lyr' or api_code == 'nlu': 161 | print('[+] Phone Number\n |—[ International format:', data['international_format'], ']\n |—[ Local format:', data['local_format'],']') 162 | print('\n[+] Validity\n |—[ The provide numeber is', 'VALID' if data['valid'] else 'INVALID',']') 163 | print('\n[+] Country\n |—[ Code:', data['country_code'], ']\n |—[ Name:', data['country_name'], ']\n |—[ Prefix:', data['country_prefix'], ']\n |—[ Location:', data['location'],']') 164 | print('\n[+] Other details\n |—[ Line type:', data['line_type'], ']\n |—[ Carrier:', data['carrier'],']') 165 | 166 | elif api_code == 'vp': 167 | print('[+] Phone Number\n |—[ International format:', data['international_number'], ']\n |—[ Local format:', data['local_number'],']') 168 | print('\n[+] Validity\n |—[ The provide numeber is', 'VALID' if data['phone_valid'] else 'INVALID',']') 169 | print('\n[+] Country\n |—[ Code:', data['country_code'], ']\n |—[ Name:', data['country'], ']\n |—[ Prefix:', data['country_prefix'], ']\n |—[ Location:', data['phone_region'],']') 170 | print('\n[+] Other details\n |—[ Line type:', data['phone_type'], ']\n |—[ Carrier:', data['carrier'],']') 171 | 172 | 173 | 174 | # Number valid or invalid 175 | def is_valid(phone_number): 176 | phone_number_details = phonenumbers.parse(phone_number) 177 | valid = phonenumbers.is_valid_number(phone_number_details) 178 | possible = phonenumbers.is_possible_number(phone_number_details) 179 | 180 | if valid and possible: 181 | return True 182 | else: 183 | return False -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/basic/config_editor.py: -------------------------------------------------------------------------------- 1 | import configparser 2 | import os 3 | 4 | 5 | def get_width(): 6 | return os.get_terminal_size()[0] 7 | 8 | 9 | # Config Data Editor Menu 10 | def edit_data(): 11 | # Main data editor menu 12 | while True: 13 | print('—'*get_width(), '[+] Config Data Editor\n'+'—'*get_width()) 14 | data = get_data(False, True) 15 | 16 | keys = [] 17 | for key in data: 18 | keys.append(key) 19 | 20 | print(f"\n {len(keys)})> Back to Main Menu\n"+'—'*get_width()) 21 | 22 | # Inputing option 23 | try: 24 | action = int(input('[select to edit] > ')) 25 | except ValueError: 26 | print('—'*get_width()+'\n\n'+'—'*get_width(), f'\n[!] Select from "0-{len(keys)}"\n'+'—'*get_width()) 27 | continue 28 | 29 | print('—'*get_width(), '\n') 30 | 31 | # Editing values menu 32 | if action>-1 and action',l[0],'=',l[1]) 41 | print(f'\n{n+1})> Back to Data Editor Menu\n'+'—'*get_width()) 42 | 43 | # Inputing option 44 | try: 45 | edit_val = int(input('[select to edit]> ')) 46 | except ValueError: 47 | print('—'*get_width()+'\n\n'+'—'*get_width(), f'[!] Select from "0-{n+1}"\n'+'—'*get_width()) 48 | continue 49 | 50 | print('—'*get_width(), '\n') 51 | 52 | # Editing sub vales menu 53 | if edit_val>-1 and edit_val "{sub_val}"\n'+'—'*get_width()) 58 | print(f'\n{sub_val} = {current_val}\n'+'—'*get_width()) 59 | 60 | # Taking input new value 61 | new_val = input('[enter new value]> ') 62 | 63 | # writing input to config file 64 | parser.set(value, sub_val, new_val) 65 | with open('phomber/modules/config.ini', 'w') as conf: 66 | parser.write(conf) 67 | 68 | print('—'*get_width(), '\n') 69 | data = get_data(False, True, False) 70 | 71 | elif edit_val == len(lst): 72 | break 73 | else: 74 | print('—'*get_width(), f'[!] Select from "0-{n+1}"\n'+'—'*get_width()) 75 | 76 | 77 | # Back to Main Menu 78 | elif action == len(data): 79 | break 80 | else: 81 | print('—'*get_width(), f'[!] Select from "0-{len(data)}"\n'+'—'*50) 82 | 83 | 84 | 85 | # Config Data Viewer Menu 86 | def get_data(title=True, return_str=False, display=True): 87 | data = {} 88 | var = 0 89 | 90 | if title and display: 91 | print('—'*get_width(), '[+] Config Data Viewer\n'+'—'*get_width()) 92 | 93 | for sect in parser.sections(): 94 | if display: 95 | print(f'\n {var})>', sect) 96 | var+=1 97 | data[sect] = [] 98 | for k,v in parser.items(sect): 99 | if display: 100 | print(f'\t{k} = {v}') 101 | data[sect].append([k,v]) 102 | 103 | if return_str: 104 | return data 105 | 106 | print('—'*get_width()) 107 | 108 | 109 | def loop_menu(): 110 | while True: 111 | print('—'*get_width(), '[+] Main Menu\n'+'—'*get_width()) 112 | actions = ['View Data', 'Edit Data', 'Exit Editor'] 113 | for n,a in enumerate(actions): 114 | print(f'\n {n})> {a}') 115 | print('—'*get_width()) 116 | 117 | # Inputing option 118 | try: 119 | action = int(input('[select action] > ')) 120 | except ValueError: 121 | print('—'*get_width()+'\n\n'+'—'*get_width(), f'[!] Select from "0-{n}"\n'+'—'*get_width()) 122 | continue 123 | 124 | print('—'*get_width(), '\n') 125 | 126 | if action == 0: 127 | get_data() 128 | elif action == 1: 129 | edit_data() 130 | elif action == 2: 131 | break 132 | else: 133 | print('—'*get_width(), f'[!] Select from "0-{n}"\n'+'—'*get_width()) 134 | 135 | 136 | # Main function 137 | def config_editor_start(): 138 | # Read config file 139 | global parser 140 | parser = configparser.ConfigParser() 141 | parser.read('phomber/modules/config.ini') 142 | 143 | print('='*get_width(), '[+] Ph0mber Config Editor\n'+'='*get_width()) 144 | 145 | try: 146 | loop_menu() 147 | except KeyboardInterrupt: 148 | print('\n\n'+'—'*get_width(), '[!] Force Terminate\n'+'—'*get_width()) 149 | 150 | print('—'*get_width(), '[+] Exiting Ph0mber Config Editor\n'+'—'*get_width()) -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/basic/local_scan.py: -------------------------------------------------------------------------------- 1 | # Module to get phone number detials 2 | import phonenumbers 3 | from phonenumbers import geocoder, carrier, timezone 4 | 5 | # Module to locate country coordinates 6 | from geopy.geocoders import Nominatim 7 | 8 | # Getting date and time of phone number location 9 | from datetime import datetime 10 | import pytz 11 | 12 | 13 | 14 | def localscan(phone_number, only=False): 15 | 16 | try: 17 | # Phone number format: (+Countrycode)xxxxxxxxxx 18 | phone_number_details = phonenumbers.parse(phone_number) 19 | 20 | # Extracting number without Country Code 21 | split_pnd = str(phone_number_details).split('Number:', 1) 22 | 23 | only_number = split_pnd[1].replace(' ', '') 24 | 25 | # Return only number without country code 26 | if only: 27 | return only_number 28 | 29 | except: 30 | print('[!] Country Code Missing\n') 31 | print('[TIP] Use plus sign (+), before your two\ndigit country code {Example: +91, +44, +1} ') 32 | return 33 | 34 | # Validating a phone number 35 | valid = phonenumbers.is_valid_number(phone_number_details) 36 | 37 | # Checking possibility of a number 38 | possible = phonenumbers.is_possible_number(phone_number_details) 39 | 40 | if valid == True and possible == True: 41 | 42 | # Creating a phone number variable for country 43 | counrty_number = phonenumbers.parse(phone_number,'CH') 44 | 45 | # Gives mobile number's location (Country) 46 | geolocation = geocoder.description_for_number(counrty_number, 'en') 47 | 48 | # Creating a phone number variable for service provider 49 | service_number = phonenumbers.parse(phone_number,'RO') 50 | 51 | # Gives mobile number's service provider (Airtel, Idea, Jio) 52 | service_provider = carrier.name_for_number(service_number, 'en') 53 | 54 | # Gives mobile number's timezone 55 | timezone_details_unfiltered = str(timezone.time_zones_for_number(phone_number_details)) 56 | 57 | special_chars = "()''," 58 | for special_char in special_chars: 59 | timezone_details = timezone_details_unfiltered.replace(special_char, '') 60 | 61 | # Gives coordinates of phone nymber's country 62 | geolocator = Nominatim(user_agent="MyApp") 63 | location = geolocator.geocode("Hyderabad") 64 | lat = location.latitude 65 | lng = location.longitude 66 | 67 | # Gives date and time of number's location 68 | timezone_name = timezone_details.replace('(', '').replace(')', '').replace("'", '') 69 | timezone_obj = pytz.timezone(timezone_name) 70 | datetime_obj = datetime.now(timezone_obj) 71 | dateandtime = datetime_obj.strftime('%Y:%m:%d %H:%M:%S') 72 | date, time = dateandtime.split() 73 | 74 | # Displaying output 75 | print('[+] Timezone : ', timezone_details) 76 | print('[+] Local Time : ', time) 77 | print('[+] Local Date : ', date) 78 | print('[+] Service Provicer : ', service_provider) 79 | print('[+] Country : ', geolocation) 80 | print('[+] Latitude : ', lat) 81 | print('[+] Longutude : ', lng) 82 | 83 | 84 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/basic/logo.py: -------------------------------------------------------------------------------- 1 | import random as r 2 | 3 | logos = [ 4 | ''' 5 | ▒█▀▀█ ▒█░▒█ █▀▀█ ▒█▀▄▀█ ▒█▀▀█ ▒█▀▀▀ ▒█▀▀█ 6 | ▒█▄▄█ ▒█▀▀█ █▄▀█ ▒█▒█▒█ ▒█▀▀▄ ▒█▀▀▀ ▒█▄▄▀ 7 | ▒█░░░ ▒█░▒█ █▄▄█ ▒█░░▒█ ▒█▄▄█ ▒█▄▄▄ ▒█░▒█ 8 | ''', 9 | ''' 10 | ██████╗░██╗░░██╗░█████╗░███╗░░░███╗██████╗░███████╗██████╗░ 11 | ██╔══██╗██║░░██║██╔══██╗████╗░████║██╔══██╗██╔════╝██╔══██╗ 12 | ██████╔╝███████║██║░░██║██╔████╔██║██████╦╝█████╗░░██████╔╝ 13 | ██╔═══╝░██╔══██║██║░░██║██║╚██╔╝██║██╔══██╗██╔══╝░░██╔══██╗ 14 | ██║░░░░░██║░░██║╚█████╔╝██║░╚═╝░██║██████╦╝███████╗██║░░██║ 15 | ╚═╝░░░░░╚═╝░░╚═╝░╚════╝░╚═╝░░░░░╚═╝╚═════╝░╚══════╝╚═╝░░╚═╝ 16 | ''', 17 | ''' 18 | ██████████████████████████████████████████ 19 | █▄─▄▄─█─█─█─▄▄─█▄─▀█▀─▄█▄─▄─▀█▄─▄▄─█▄─▄▄▀█ 20 | ██─▄▄▄█─▄─█─██─██─█▄█─███─▄─▀██─▄█▀██─▄─▄█ 21 | ▀▄▄▄▀▀▀▄▀▄▀▄▄▄▄▀▄▄▄▀▄▄▄▀▄▄▄▄▀▀▄▄▄▄▄▀▄▄▀▄▄▀ 22 | ''', 23 | ''' 24 | ██▓███ ██░ ██ ███▄ ▄███▓ ▄▄▄▄ ▓█████ ██▀███ 25 | ▓██░ ██▒▓██░ ██▒▓██▒▀█▀ ██▒▓█████▄ ▓█ ▀ ▓██ ▒ ██▒ 26 | ▓██░ ██▓▒▒██▀▀██░▓██ ▓██░▒██▒ ▄██▒███ ▓██ ░▄█ ▒ 27 | ▒██▄█▓▒ ▒░▓█ ░██ ▒██ ▒██ ▒██░█▀ ▒▓█ ▄ ▒██▀▀█▄ 28 | ▒██▒ ░ ░░▓█▒░██▓▒██▒ ░██▒░▓█ ▀█▓░▒████▒░██▓ ▒██▒ 29 | ▒▓▒░ ░ ░ ▒ ░░▒░▒░ ▒░ ░ ░░▒▓███▀▒░░ ▒░ ░░ ▒▓ ░▒▓░ 30 | ░▒ ░ ▒ ░▒░ ░░ ░ ░▒░▒ ░ ░ ░ ░ ░▒ ░ ▒░ 31 | ░░ ░ ░░ ░░ ░ ░ ░ ░ ░░ ░ 32 | ░ ░ ░ ░ ░ ░ ░ ░ 33 | ░ 34 | ''', 35 | ''' 36 | ██████╗ ██╗ ██╗ ██████╗ ███╗ ███╗██████╗ ███████╗██████╗ 37 | ██╔══██╗██║ ██║██╔═████╗████╗ ████║██╔══██╗██╔════╝██╔══██╗ 38 | ██████╔╝███████║██║██╔██║██╔████╔██║██████╔╝█████╗ ██████╔╝ 39 | ██╔═══╝ ██╔══██║████╔╝██║██║╚██╔╝██║██╔══██╗██╔══╝ ██╔══██╗ 40 | ██║ ██║ ██║╚██████╔╝██║ ╚═╝ ██║██████╔╝███████╗██║ ██║ 41 | ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝ 42 | ''', 43 | ''' 44 | ▄███████▄ ▄█ █▄ ▄▄▄▄███▄▄▄▄ ▀█████████▄ ▄████████ ▄████████ 45 | ███ ███ ███ ███ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███ ███ ███ ███ 46 | ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ █▀ ███ ███ 47 | ███ ███ ▄███▄▄▄▄███▄▄ ███ ███ ███ ▄███▄▄▄██▀ ▄███▄▄▄ ▄███▄▄▄▄██▀ 48 | ▀█████████▀ ▀▀███▀▀▀▀███▀ ███ ███ ███ ▀▀███▀▀▀██▄ ▀▀███▀▀▀ ▀▀███▀▀▀▀▀ 49 | ███ ███ ███ ███ ███ ███ ███ ██▄ ███ █▄ ▀███████████ 50 | ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ 51 | ▄████▀ ███ █▀ ▀█ ███ █▀ ▄█████████▀ ██████████ ███ ███ 52 | ███ ███ 53 | ''', 54 | ''' 55 | ▄▄▄▄▄▄▄▄▄▄▄ ▄ ▄ ▄▄▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄ 56 | ▐░░░░░░░░░░░▌▐░▌ ▐░▌ ▐░░░░░░░░░▌ ▐░░▌ ▐░░▌▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌ 57 | ▐░█▀▀▀▀▀▀▀█░▌▐░▌ ▐░▌▐░█░█▀▀▀▀▀█░▌▐░▌░▌ ▐░▐░▌▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌ 58 | ▐░▌ ▐░▌▐░▌ ▐░▌▐░▌▐░▌ ▐░▌▐░▌▐░▌ ▐░▌▐░▌▐░▌ ▐░▌▐░▌ ▐░▌ ▐░▌ 59 | ▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄█░▌▐░▌ ▐░▌ ▐░▌▐░▌ ▐░▐░▌ ▐░▌▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░█▄▄▄▄▄▄▄█░▌ 60 | ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌ ▐░▌ ▐░▌▐░▌ ▐░▌ ▐░▌▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌ 61 | ▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░▌ ▐░▌ ▐░▌▐░▌ ▀ ▐░▌▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░█▀▀▀▀█░█▀▀ 62 | ▐░▌ ▐░▌ ▐░▌▐░▌ ▐░▌▐░▌▐░▌ ▐░▌▐░▌ ▐░▌▐░▌ ▐░▌ ▐░▌ 63 | ▐░▌ ▐░▌ ▐░▌▐░█▄▄▄▄▄█░█░▌▐░▌ ▐░▌▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░▌ ▐░▌ 64 | ▐░▌ ▐░▌ ▐░▌ ▐░░░░░░░░░▌ ▐░▌ ▐░▌▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░▌ ▐░▌ 65 | ▀ ▀ ▀ ▀▀▀▀▀▀▀▀▀ ▀ ▀ ▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀ ▀ ▀ 66 | ''', 67 | ''' 68 | ######## ## ## ##### ## ## ######## ######## ######## 69 | ## ## ## ## ## ## ### ### ## ## ## ## ## 70 | ## ## ## ## ## ## #### #### ## ## ## ## ## 71 | ######## ######### ## ## ## ### ## ######## ###### ######## 72 | ## ## ## ## ## ## ## ## ## ## ## ## 73 | ## ## ## ## ## ## ## ## ## ## ## ## 74 | ## ## ## ##### ## ## ######## ######## ## ## 75 | ''', 76 | ''' 77 | o__ __o o o o__ __o o o o__ __o o__ __o__/_ o__ __o 78 | <| v\ <|> <|> /v v\ <|\ /|> <| v\ <| v <| v\ 79 | / \ <\ < > < > /> <\ / \\o o// \ / \ <\ < > / \ <\ 80 | \o/ o/ | | o/ \o \o/ v\ /v \o/ \o/ o/ | \o/ o/ 81 | |__ _<|/ o__/_ _\__o <| |> | <\/> | |__ _<| o__/_ |__ _<| 82 | | | | \\ // / \ / \ | \ | | \ 83 | \ / \o/ \o/ / \o 84 | | | | o o | | | o | | v\ 85 | / \ / \ / \ <\__ __/> / \ / \ / \ __/> / \ _\o__/_ / \ <\ 86 | ''' 87 | ] 88 | 89 | 90 | def random_logo(): 91 | print(logos[r.randint(0,len(logos)-1)]) 92 | print(' [PH0MBER a project by S41R4J]') -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/config.ini: -------------------------------------------------------------------------------- 1 | [abstractapi.com] 2 | apikey = 66c2d92058734c1f8c636dd30426ad1d 3 | 4 | [apilayer.com] 5 | apikey = QSCjR95uAi25gJ6BNdf2JBGZfa6ByZsO 6 | 7 | [numlookupapi.com] 8 | apikey = tO7jWVoA5ybEp71vFOy3txRlaOi1aIgAn9naHZOA 9 | 10 | [veriphone.io] 11 | apikey = 9563B57ECCC04712920BC8CCA73F0A3A 12 | 13 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/disposable/dorking.py: -------------------------------------------------------------------------------- 1 | # under development 2 | 3 | import requests 4 | from bs4 import BeautifulSoup 5 | from googlesearch import search 6 | 7 | number = '+16463484474' #temp 8 | 9 | foundnumbers = [] 10 | 11 | def duckduckgo_sites(): 12 | URL = "https://duckduckgo.com/html/?q=disposablenumbers" 13 | USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0" 14 | headers = {"user-agent" : USER_AGENT} 15 | resp = requests.get(URL, headers=headers) 16 | if resp.status_code == 200: 17 | soup = BeautifulSoup(resp.content, "html.parser") 18 | results = [] 19 | for g in soup.find_all('h2', class_='result__title'): 20 | anchors = g.find_all('a') 21 | if anchors: 22 | link = anchors[0]['href'] 23 | results.append(link) 24 | return results 25 | 26 | def google_sites(): 27 | URL = "https://www.google.com/search?q=disposablenumbers" 28 | USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0" 29 | headers = {"user-agent" : USER_AGENT} 30 | resp = requests.get(URL, headers=headers) 31 | if resp.status_code == 200: 32 | soup = BeautifulSoup(resp.content, "html.parser") 33 | results = [] 34 | for g in soup.find_all('h2', class_='result__title'): 35 | anchors = g.find_all('a') 36 | if anchors: 37 | link = anchors[0]['href'] 38 | results.append(link) 39 | 40 | print(results) 41 | return results 42 | 43 | 44 | def spiderv(num, sites): 45 | 46 | crawl = requests.get(sites) 47 | 48 | if num in crawl.text: 49 | print("[+] Found number in website: ", sites) 50 | else: 51 | print("[!] Number not found on website : ", sites) 52 | 53 | def spider(num, sites): 54 | 55 | crawl = requests.get(sites) 56 | 57 | if num in crawl.text: 58 | foundnumbers.append(sites) 59 | 60 | 61 | def dorkv(num, sites): 62 | 63 | try: 64 | for result in search("site:{} intext:{}".format(sites, num), stop=1): 65 | if result: 66 | print("[+] Found number in website:" , result) 67 | else: 68 | print("[!] Number not found on website: ", result) 69 | except: 70 | print("[!] Google being retard once again blocking requests, try using proxy") 71 | 72 | 73 | def dork(num, sites): 74 | 75 | try: 76 | for result in search("site:{} intext:{}".format(sites, num), stop=1): 77 | if result: 78 | foundnumbers.append(result) 79 | 80 | except: 81 | print("[!] Google being retard once again blocking requests, try using proxy") 82 | 83 | 84 | def main(): 85 | # print("\n[*](d) Scanning for disposable numbers...\n") 86 | # for i in duckduckgo_sites(): 87 | # dork(number, i) 88 | # dorkv(number, i) 89 | 90 | # print("\n[*](d) Scanning for disposable numbers.... \n") 91 | # for i in duckduckgo_sites(): 92 | # spider(number, i) 93 | # spiderv(number, i) 94 | 95 | print("\n[*](g) Scanning for disposable numbers...\n") 96 | for i in google_sites(): 97 | dork(number, i) 98 | dorkv(number, i) 99 | 100 | print("\n [*](g) Scanning for disposable numbers.... \n") 101 | for i in google_sites(): 102 | spider(number, i) 103 | spiderv(number, i) 104 | 105 | 106 | print(foundnumbers) 107 | 108 | 109 | main() -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/search_engine/dork.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/unreleasedv3/phomber/modules/search_engine/dork.py -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/modules/search_engine/se_urls.py: -------------------------------------------------------------------------------- 1 | # Simple online (search engine) manual scan 2 | 3 | def google_search(phone_number): 4 | try: 5 | url = f"https://www.google.com/search?q={phone_number}" 6 | return url 7 | except: 8 | return 'err' 9 | 10 | def bing_search(phone_number): 11 | try: 12 | url = f"https://www.bing.com/search?q={phone_number}" 13 | return url 14 | except: 15 | return 'err' 16 | 17 | def duckduckgo_search(phone_number): 18 | try: 19 | url = f"https://duckduckgo.com/{phone_number}" 20 | return url 21 | except: 22 | return 'err' 23 | 24 | -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/phomber.py: -------------------------------------------------------------------------------- 1 | ################################################# 2 | # P0MBER # 3 | # # 4 | # A Infomation Grathering tool that reverse # 5 | # search phone numbers and get their details ! # 6 | # # 7 | ################################################# 8 | # # 9 | # Developer: S41R4J # 10 | # Github: github.com/s41r4j/phomber # 11 | # # 12 | ################################################# 13 | # # 14 | # Report/raise any issue/bug at -> # 15 | # https://github.com/s41r4j/phomber/issues # 16 | # # 17 | ################################################# 18 | 19 | 20 | # ---------------Importing--required--modules-------------------- 21 | 22 | # Default modules 23 | import sys 24 | 25 | # CLI argument parser module 26 | from phomber.modules.basic.common import parser, display_help 27 | 28 | # Config Editor Module 29 | from phomber.modules.basic.config_editor import config_editor_start 30 | 31 | # Logo module 32 | from phomber.modules.basic import logo 33 | 34 | # Decorator Module 35 | from phomber.modules.basic.common import decorate 36 | 37 | # Number validator 38 | from phomber.modules.basic.common import is_valid 39 | 40 | # Loading animation module 41 | from phomber.modules.basic.common import loading 42 | 43 | # Local scan module 44 | from phomber.modules.basic.local_scan import localscan 45 | 46 | # Importing default info 47 | import phomber.__init__ as i 48 | 49 | # API Scanning Modules 50 | from phomber.modules.apis import abstractapi 51 | from phomber.modules.apis import apilayer 52 | from phomber.modules.apis import findandtrace 53 | from phomber.modules.apis import numlookupapi 54 | from phomber.modules.apis import veriphone 55 | 56 | #-------------------------Functions------------------------------ 57 | 58 | def main(): 59 | try: 60 | args = parser() 61 | 62 | # Assigning values 63 | config_editor = args.config_editor 64 | phone_number = args.phone_number 65 | dlogo = args.display_logo 66 | 67 | # NO Argument Check 68 | if phone_number == None and not config_editor and not dlogo: 69 | display_help() 70 | sys.exit(0) 71 | 72 | # Display logo 73 | if dlogo: 74 | logo.random_logo() 75 | sys.exit(0) 76 | else: 77 | print(logo.logos[0]) 78 | loading(f' [prog={i.__project__}; dev={i.__dev__}; ver={i.__version__}]', 5, 0.25) 79 | 80 | 81 | # Edit config file 82 | if config_editor: 83 | config_editor_start() 84 | sys.exit(0) 85 | 86 | # Validating number 87 | 88 | if not is_valid(phone_number): 89 | print('[!] PROVIDED NUMBER IS INVALID') 90 | sys.exit(1) 91 | 92 | # Getting only number without country code 93 | only_number = localscan(phone_number, True) 94 | 95 | # Local scan (default) 96 | local_scan = decorate(localscan, 'Basic Scan', phone_number) 97 | local_scan() 98 | 99 | 100 | # Checking for API scan 101 | if args.all_apis: 102 | args.abstractapi = args.apilayer = args.findandtrace = args.numlookupapi = args.veriphone = True 103 | 104 | if args.abstractapi: 105 | abstract_api = decorate(abstractapi.api, 'abstractapi.com', phone_number, 'abs') 106 | abstract_api() 107 | 108 | if args.apilayer: 109 | api_layer = decorate(apilayer.api, 'apilayer.com', phone_number, 'lyr') 110 | api_layer() 111 | 112 | if args.findandtrace: 113 | find_trace = decorate(findandtrace.api, 'findandtrace.com', only_number) 114 | find_trace() 115 | 116 | if args.numlookupapi: 117 | numlookup_api = decorate(numlookupapi.api, 'numlookupapi.com', phone_number, 'nlu') 118 | numlookup_api() 119 | 120 | if args.veriphone: 121 | veri_phone = decorate(veriphone.api, 'veriphone.io', phone_number, 'vp') 122 | veri_phone() 123 | 124 | 125 | except KeyboardInterrupt: 126 | print('[!] Force Terminate') 127 | 128 | #------------------------------------------------------------------ -------------------------------------------------------------------------------- /.archive/unreleasedv3/phomber/requirements.txt: -------------------------------------------------------------------------------- 1 | phonenumbers==8.12.48 2 | rich 3 | geopy==2.2.0 4 | mechanize==0.4.8 5 | bs4==0.0.1 6 | pytz==2022.1 -------------------------------------------------------------------------------- /.archive/unreleasedv3/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup, find_packages 2 | import os 3 | 4 | VERSION = '3.0.0' 5 | DESCRIPTION = 'nothing' 6 | LONG_DESCRIPTION = ''' 7 | nothing 8 | ''' 9 | 10 | # Setting up 11 | setup( 12 | name="phomber", 13 | version=VERSION, 14 | author="s41r4j", 15 | description=DESCRIPTION, 16 | long_description=LONG_DESCRIPTION, 17 | long_description_content_type='text/markdown', 18 | url='https://github.com/s41r4j/', 19 | include_package_data=True, 20 | 21 | packages=['phomber', 22 | 'phomber.modules', 23 | 'phomber.modules.basic', 24 | 'phomber.modules.apis'], 25 | 26 | py_modules=['phomber.modules.basic.config_editor', 27 | 'phomber.phomber', 28 | 'phomber.modules.basic.local_scan', 29 | 'phomber.modules.basic.common'], 30 | 31 | install_requires=['phonenumbers==8.12.48', 32 | 'rich', 33 | 'geopy==2.2.0', 34 | 'mechanize==0.4.8', 35 | 'bs4==0.0.1 ', 36 | 'pytz==2022.1 '], 37 | 38 | keywords=['phomber', 's41r4j', 'phone', 'number', 'reverse', 'search', 'lookup'], 39 | 40 | entry_points={"console_scripts": [ 41 | "phomber=phomber.__main__:run_phomber", 42 | ]}, 43 | 44 | classifiers=[ 45 | "Programming Language :: Python :: 3", "Operating System :: Unix", 46 | "Operating System :: MacOS :: MacOS X", 47 | "License :: OSI Approved :: MIT License" 48 | ]) -------------------------------------------------------------------------------- /.archive/v1.0/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ``` 5 | A Infomation Grathering tool that reverse search phone numbers and get their details ! 6 | ``` 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 |
18 | What is phomber? 19 |
20 | 21 | - Phomber is one of the best tools available for Infomation Grathering. 22 | - It reverse searches given number online and retrieves all data available. 23 | 24 |
25 |
26 | 27 |
28 | Search & Scans 29 |
30 | 31 | - Basic search 32 | - Advance search (Experimental) 33 | - Phoneinfoga scan (Comming soon) 34 | - Truecaller scan (Comming soon) 35 | 36 |
37 |
38 | 39 |
40 | Operating Systems Tested 41 |
42 | 43 | - [![Supported OS](https://img.shields.io/badge/OS%20X-brightgreen?style=flat&logo=macos)](https://www.google.com/search?q=OS%20X) 44 | - [![Supported OS](https://img.shields.io/badge/Unix%20%2F%20Linux-blueviolet?style=flat&logo=linux)](https://www.google.com/search?q=Unix+Linux) 45 | - [![Supported OS](https://img.shields.io/badge/Microsoft%20Windows-red?style=flat&logo=windows)](https://www.google.com/search?q=Windows) 46 | 47 | 48 |
49 |
50 | 51 |
52 | Direct Downloads 53 |
54 | 55 | - [zip](https://github.com/s41r4j/phomber/archive/refs/tags/phomber.zip) 56 | - [tar.gz](https://github.com/s41r4j/phomber/archive/refs/tags/phomber.tar.gz) 57 | 58 |
59 |
60 | 61 |
62 |
63 | 64 | ## Installation 65 | 66 | Clone the repo 67 | 68 | ``` 69 | git clone https://github.com/s41r4j/phomber 70 | ``` 71 | Change the directory 72 | 73 | ``` 74 | cd phomber 75 | ``` 76 | Install Requirements 77 | 78 | ``` 79 | pip install -r requirements.txt 80 | ``` 81 |
82 | Additional Configuration 83 |
84 | 85 | - There is a `config.py` file persent in `phomber` folder. 86 | - Click on '[*Additional Settings*](https://github.com/s41r4j/phomber/blob/main/.more/additional_config.md)' to see how to configure it. 87 | 88 |
89 | 90 |
91 |
92 | 93 | ## Usage 94 | 95 | > The `PH0MBER` takes [command line arguments](https://www.google.com/search?q=Command+Line+Arguments). 96 | 97 | ``` 98 | $ python3 phomber.py +(country code)xxxxxxxxxx 99 | ``` 100 | 101 |
102 | 103 | Example (Linux based): 104 | ``` 105 | s41r4j@github:~/Desktop/phomber$ python3 phomber.py +001234567890 106 | ``` 107 | 108 |
109 | Explaination 110 |
111 | 112 | - `python3 phomber.py` - Running phomber script with python3 113 | - `+001234567890` - Command line argument, the phone number you want to search. 114 |
115 | Phone number breakdown / explained 116 |
117 | 118 | - `+00` is [country code](https://en.wikipedia.org/wiki/List_of_country_calling_codes), eg: +1 (Canada, US), +47 (Norway), +91 (India), +86 (China) 119 | - `1234567890` is the phone number without spaces, dashes & brackets 120 | 121 |
122 |
123 |
124 | 125 | 126 | 127 |
128 |
129 | 130 | ## Prerequisites 131 | 132 |
133 | Required 134 |
135 | 136 | - python3 137 | - git 138 | 139 |
140 |
141 | 142 |
143 | Optional 144 |
145 | 146 | - GoLang ([Download Here](https://golang.org/dl/)) , for Phoneinfoga scan. 147 | - OpenCage Account ([create a account here](https://opencagedata.com/users/sign_up)) , for Basic search. 148 | - Truecaller Account ([create a account here](https://www.truecaller.com/auth/sign-in)) , for Truecaller scan. 149 | 150 |
151 |
152 | 153 |
154 |
155 |
156 |
157 | 158 | 159 | > The [Developer](https://github.com/s41r4j/) of [PH0MBER](https://github.com/s41r4j/phomber/) is not responsible for an loss or misuse of the tool, it is end user's responsiblity. 160 | 161 |
162 | 163 | ## Support 164 | 165 | Buy Me A Coffee 166 | 167 |
168 |
169 |
170 |
171 | 172 | ![s41r4j's github stats](https://github-readme-stats.vercel.app/api?username=s41r4j&show_icons=true&title_color=fff&icon_color=79ff97&text_color=9f9f9f&bg_color=151515) 173 | 174 | 175 | -------------------------------------------------------------------------------- /.archive/v1.0/config.py: -------------------------------------------------------------------------------- 1 | # This is the configuration file for PH0MBER (v1.0) 2 | # Created by @s41r4j (https://github.com/s41r4j/) 3 | 4 | #======================================================= 5 | 6 | # Please put your API key here 7 | key = '' 8 | 9 | # Q] What is the API key for & why should I get it? 10 | # > The API key is to get the cordinates of the country the sim belongs to. 11 | # > You should get it so that you could get more accurate infomation (Latitude and longitude) about target. 12 | 13 | # Q] Where Should you get it ? 14 | # > You have to get the api keys from [opencagedata.com] website only. 15 | # > Create an account and then go to dashboard > API keys (tab) 16 | # > Here you will get you api keys 17 | 18 | # [NOTE] How to get api keys is explained in detail on GITHUB & YOUTUBE. 19 | # [Github] https://github.com/s41r4j/phomber/blob/main/.more/additional_config.md 20 | 21 | # [Youtube] https://youtube.com/s41r4j/ 22 | 23 | #======================================================= -------------------------------------------------------------------------------- /.archive/v1.0/phomber.py: -------------------------------------------------------------------------------- 1 | ############################## 2 | # PH0MBER # 3 | # # 4 | # An advance pyhton script # 5 | # that finds phone number # 6 | # details. # 7 | # # 8 | ############################## 9 | # # 10 | # Created by : S41R4J # 11 | # # 12 | # Github : # 13 | # https://github.com/s41r4j/ # 14 | # # 15 | ############################## 16 | # PH0MBER (v1.0) # 17 | ############################## 18 | 19 | 20 | # Importing main packages 21 | import phonenumbers, sys, datetime, progressbar, time, mechanize 22 | 23 | # For geolocation cordinates 24 | from config import key 25 | from opencage.geocoder import OpenCageGeocode 26 | 27 | # Utilized in external search 28 | from bs4 import BeautifulSoup 29 | 30 | # Module for Progress Bar 31 | from tqdm import tqdm 32 | 33 | # Importing modules for finding Geolocation, Carrier or Service Provider, Timezone 34 | from phonenumbers import geocoder, carrier, timezone 35 | 36 | def target_number(): 37 | 38 | # Globalizing variables 39 | global phone_number 40 | 41 | # Taking input as target number 42 | phone_number = str(sys.argv[1]) 43 | 44 | def bar(description): 45 | 46 | # for i in tqdm (range (100), desc=description): 47 | # time.sleep(0.01) 48 | # pass 49 | 50 | widgets = [description, progressbar.AnimatedMarker()] 51 | bar = progressbar.ProgressBar(widgets=widgets).start() 52 | 53 | for i in range(50): 54 | time.sleep(0.03) 55 | bar.update(i) 56 | 57 | def line(): 58 | print('-'*45) 59 | 60 | def current_time(): 61 | e = datetime.datetime.now() 62 | time_now = "%s:%s:%s" % (e.hour, e.minute, e.second) 63 | 64 | return(time_now) 65 | 66 | def banner(): 67 | print(''' 68 | ▒█▀▀█ ▒█░▒█ █▀▀█ ▒█▀▄▀█ ▒█▀▀█ ▒█▀▀▀ ▒█▀▀█ 69 | ▒█▄▄█ ▒█▀▀█ █▄▀█ ▒█▒█▒█ ▒█▀▀▄ ▒█▀▀▀ ▒█▄▄▀ 70 | ▒█░░░ ▒█░▒█ █▄▄█ ▒█░░▒█ ▒█▄▄█ ▒█▄▄▄ ▒█░▒█''') 71 | 72 | 73 | def dev(): 74 | line();print();line() 75 | print('[#] THANK YOU for using PH0MBER') 76 | line() 77 | print(''' 78 | [=] Contact us for IMPOROVEMENTS and Fixing BUGS of the PH0MBER.\n 79 | [+] Github : https://github.com/s41r4j/phomber/ 80 | [+] Instagram : https://www.instagram.com/s41r4j/ 81 | ''') 82 | 83 | #============================================== 84 | 85 | def external_search(phone_number): 86 | 87 | mc = mechanize.Browser() 88 | mc.set_handle_robots(False) 89 | 90 | url = 'https://www.findandtrace.com/trace-mobile-number-location' 91 | mc.open(url) 92 | 93 | mc.select_form(name='trace') 94 | mc['mobilenumber'] = phone_number # Enter a mobile number 95 | res = mc.submit().read() 96 | 97 | soup = BeautifulSoup(res,'html.parser') 98 | tbl = soup.find_all('table',class_='shop_table') 99 | #print(tbl) 100 | 101 | data = tbl[0].find('tfoot') 102 | c=0 103 | for i in data: 104 | c+=1 105 | if c in (1,4,6,8): 106 | continue 107 | th = i.find('th') 108 | td = i.find('td') 109 | try: 110 | print('[+]',th.text,td.text) 111 | except AttributeError: 112 | pass 113 | 114 | data = tbl[1].find('tfoot') 115 | c=0 116 | for i in data: 117 | c+=1 118 | if c in (2,20,22,26): 119 | th = i.find('th') 120 | td = i.find('td') 121 | print('[+]',th.text,td.text) 122 | 123 | #============================================== 124 | 125 | def getting_details(): 126 | 127 | line() 128 | print(f'[#] Scanned [{phone_number}] @ [{current_time()}]') 129 | line() 130 | 131 | try: 132 | # Phone number format: (+Countrycode)xxxxxxxxxx 133 | phone_number_details = phonenumbers.parse(phone_number) 134 | 135 | # Extracting number without Country Code 136 | global only_number 137 | split_pnd = str(phone_number_details).split('Number:', 1) 138 | 139 | only_number = split_pnd[1].replace(' ', '') 140 | 141 | except: 142 | print('[!] Country Code Missing\n') 143 | print('[TIP] Use plus sign (+), before your two\ndigit country code {Example: +91, +44, +1} ') 144 | line() 145 | sys.exit() 146 | 147 | # Validating a phone number 148 | valid = phonenumbers.is_valid_number(phone_number_details) 149 | 150 | # Checking possibility of a number 151 | possible = phonenumbers.is_possible_number(phone_number_details) 152 | 153 | if valid == True and possible == True: 154 | 155 | print();line() 156 | print('[$] Basic Results') 157 | line() 158 | 159 | # Creating a phone number variable for country 160 | counrty_number = phonenumbers.parse(phone_number,'CH') 161 | 162 | # Gives mobile number's location (Country) 163 | geolocation = geocoder.description_for_number(counrty_number, 'en') 164 | 165 | # Creating a phone number variable for service provider 166 | service_number = phonenumbers.parse(phone_number,'RO') 167 | 168 | # Gives mobile number's service provider (Airtel, Idea, Jio) 169 | service_provider = carrier.name_for_number(service_number, 'en') 170 | 171 | # Gives mobile number's timezone 172 | timezone_details_unfiltered = str(timezone.time_zones_for_number(phone_number_details)) 173 | 174 | special_chars = "()''," 175 | for special_char in special_chars: 176 | timezone_details = timezone_details_unfiltered.replace(special_char, '') 177 | 178 | print('[+] Timezone : ', timezone_details) 179 | print('[+] Service Provicer : ', service_provider) 180 | print('[+] Country : ', geolocation) 181 | 182 | if key: 183 | 184 | try: 185 | # Finding cordinates of country 186 | ocd_geocoder = OpenCageGeocode(key) 187 | query = str(geolocation) 188 | 189 | results = ocd_geocoder.geocode(query) 190 | 191 | lat = results[0]['geometry']['lat'] 192 | lng = results[0]['geometry']['lng'] 193 | 194 | print('[+] Latitude : ', lat) 195 | print('[+] Longutude : ', lng) 196 | 197 | except: 198 | print('\n[-] Entered Invaild API') 199 | print("[-] Instructions are givien in config file.") 200 | 201 | else: 202 | print("\n[-] Enter API key in 'config.py'") 203 | print("[-] Instructions are givien in config file.") 204 | 205 | 206 | else : 207 | print('[!] Invalid Number Detected') 208 | line() 209 | sys.exit() 210 | 211 | #============================================== 212 | 213 | def main(): 214 | banner() 215 | target_number() 216 | bar('Validating Number ') 217 | getting_details() 218 | line();print();line() 219 | print('[$] Advance Results (Experimental)') 220 | line() 221 | try: 222 | external_search(only_number) 223 | except IndexError: 224 | print('[!] Got Unexpected Error\n\n[Tip] Please report any error on the github\n page (https://github.com/s41r4j/phomber) &\n stpes to reproduce same error and HELP US\n to improve the tool for better.') 225 | 226 | line();print();line() 227 | print('[Phoneinfoga scan] comming soon') 228 | line();print();line() 229 | print('[Truecaller scan] comming soon') 230 | 231 | dev() 232 | line() 233 | 234 | 235 | if __name__ == '__main__': 236 | main() 237 | 238 | #--------------------------------------------------- -------------------------------------------------------------------------------- /.archive/v2.0/.docs/apikeys.md: -------------------------------------------------------------------------------- 1 | # Setup APIs for additional functionality 2 | 3 | 4 | | PH0MBER USAGE MENU | 5 | :-------------------------:| 6 | | 7 | 8 | 9 | 10 |

11 | ## :scroll: Content 12 | 13 | - [Introducing API (used in `PH0MBER`)](#bookmark_tabs-introduction) 14 | - [Configuring API Gateway](#computer_mouse-configure-api-keys) 15 | 16 | - [How to use config editor?](#how-to-use-config-editor) 17 | - [Register account](#register-account) 18 | 19 | - [Abstractapi](#abstractapi) 20 | - [Apilayer](#apilayer) 21 | - [Numlookupapi](#numlookupapi) 22 | - [Veriphone](#veriphone) 23 | 24 | 25 | 26 | 27 | 28 |

29 | ## :bookmark_tabs: Introduction 30 | 31 | - __API__ stands for _Application Programming Interface_ 32 | 33 | - Cross verify received details with multiple APIs for accurate results with `PH0MBER` 34 | - All used APIs are free to use, but need to create an account for [abstractapi](https://abstractapi.com), [apilayer](https://apilayer.com), [numlookupapi](https://numlookupapi.com) and [veriphone](https://veriphone.io) APIs 35 | 36 |
37 | 38 | - Provided API options: 39 | 40 | | Optional Arguments | Description | 41 | |:---:|:---:| 42 | | -a | Run all API scans (mentioned below)| 43 | | -abs | Just run Abstractapi Scan | 44 | | -lyr | Just run Apilayer Scan | 45 | | -fnt | Just run Find and Trace Scan | 46 | | -nlu | Just run Numlookupapi Scan | 47 | | -vp | Just run Veriphone Scan | 48 | 49 | - `PH0MBER` by default runs ___basic scan___ everytime (weather any other scan is active or not) 50 | 51 | 52 | 53 | 54 | 55 | 56 |

57 | ## :computer_mouse: Configure API Keys 58 | 59 | ### How to use config editor 60 | Access `PH0MBER`'s __console based config editor__ with tag `-c` (or `--config_editor`) 61 | 62 | | PHOMBER CONFIG EDITOR - MAIN MENU | 63 | :-------------------------:| 64 | | 65 | 66 | 67 |
68 | 69 | | Option | Description | 70 | :----:|:----:| 71 | 0)> View Data | View the stored / assigned apikeys (___Config Data Viewer___)| 72 | 1)> Edit Data | Takes you to ___Config Data Editor___, where you can edit the apikey values| 73 | 2)> Exit Editor | Exits the ___Config Editor___ and terminates the program | 74 | 75 |
76 | 77 | 78 | 79 |

80 | 81 | | ⬇️ Config Data Viewer ⬇️ | 82 | :-------------------------:| 83 | | 84 | | ⬇️ Config Data Editor ⬇️ | 85 | | 86 | 87 | 88 | 89 | 90 | 91 | 92 |


93 | ### Register account 94 | Register and create an account for the follow websites: 95 | 96 | #### Abstractapi 97 | #### Apilayer 98 | #### Numlookupapi 99 | #### Veriphone 100 | -------------------------------------------------------------------------------- /.archive/v2.0/LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /.archive/v2.0/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ``` 5 | A Infomation Grathering tool that reverse search phone numbers and get their details ! 6 | ``` 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 |
19 | What is phomber? 20 |
21 | 22 | - Phomber is one of the best tools available for Infomation Grathering. 23 | - It reverse searches given number online and retrieves all data available. 24 | 25 |
26 |
27 | 28 |
29 | Search & Scans 30 |
31 | 32 | - Basic search 33 | - Advance search (Experimental) 34 | - Phoneinfoga scan (Optional) 35 | - Truecaller scan (Comming soon) 36 | 37 |
38 |
39 | 40 |
41 | Operating Systems Tested 42 |
43 | 44 | - [![Supported OS](https://img.shields.io/badge/OS%20X-brightgreen?style=flat&logo=macos)](https://www.google.com/search?q=OS%20X) 45 | - [![Supported OS](https://img.shields.io/badge/Unix%20%2F%20Linux-blueviolet?style=flat&logo=linux)](https://www.google.com/search?q=Unix+Linux) 46 | - [![Supported OS](https://img.shields.io/badge/Microsoft%20Windows-red?style=flat&logo=windows)](https://www.google.com/search?q=Windows) 47 | 48 | 49 |
50 |
51 | 52 |
53 | Direct Downloads 54 |
55 | 56 | - [zip](https://github.com/s41r4j/phomber/archive/refs/tags/phomber-v2.0.zip) 57 | - [tar.gz](https://github.com/s41r4j/phomber/archive/refs/tags/phomber-v2.0.tar.gz) 58 | 59 |
60 |
61 | 62 |
63 |
64 | 65 | ## Manually Installation 👨‍🦯 66 | 67 | Clone the repo 68 | 69 | ``` 70 | git clone https://github.com/s41r4j/phomber 71 | ``` 72 | Change the directory 73 | 74 | ``` 75 | cd phomber 76 | ``` 77 | Install Requirements 78 | 79 | ``` 80 | pip install -r requirements.txt 81 | ``` 82 |
83 | Additional Configuration 84 |
85 | 86 | - There is a `config.py` file persent in `phomber` folder. 87 | - Click on '[*Additional Settings*](https://github.com/s41r4j/phomber/blob/main/.more/additional_config.md)' to see how to configure it. 88 | 89 |
90 | 91 |
92 | 93 | ## Automated Installation 🤖 94 | 95 | ### Linux / Unix / Mac 🗃️ 96 | 97 | - Download `install.sh` from [__HERE__](https://github.com/s41r4j/phomber/releases/download/phomber-v2.0/install.sh) (OR get it from latest [releases](https://github.com/s41r4j/phomber/releases/tag/phomber-v2.0)) 98 | 99 | - Run the following command to install `phomber` & it's `dependencies` 100 | ``` 101 | bash install.sh 102 | ``` 103 | 104 | 105 | ### Windows 📂 106 | 107 | - Download `install.bat` from [__HERE__](https://github.com/s41r4j/phomber/releases/download/phomber-v2.0/install.bat) (OR get it from latest [releases](https://github.com/s41r4j/phomber/releases/tag/phomber-v2.0)) 108 | 109 | - Run the following command to install `phomber` & it's `dependencies` 110 | ``` 111 | .\install.bat 112 | ``` 113 | 114 | > [*Additional Configuration*](https://github.com/s41r4j/phomber/blob/main/.more/additional_config.md) same as mentioned in `Manual Installation` 🪛 115 | 116 |
117 |
118 | 119 | ## Usage 👨‍💻 120 | 121 | > The `PH0MBER` takes [command line arguments](https://www.google.com/search?q=Command+Line+Arguments). 122 | 123 | ``` 124 | $ python3 phomber.py +(country code)xxxxxxxxxx 125 | ``` 126 | 127 |
128 | 129 | Example (Linux based): 130 | ``` 131 | s41r4j@github:~/Desktop/phomber$ python3 phomber.py +001234567890 132 | ``` 133 | 134 |
135 | Explaination 136 |
137 | 138 | - `python3 phomber.py` - Running phomber script with python3 139 | - `+001234567890` - Command line argument, the phone number you want to search. 140 |
141 | Phone number breakdown / explained 142 |
143 | 144 | - `+00` is [country code](https://en.wikipedia.org/wiki/List_of_country_calling_codes), eg: +1 (Canada, US), +47 (Norway), +91 (India), +86 (China) 145 | - `1234567890` is the phone number without spaces, dashes & brackets 146 | 147 |
148 |
149 |
150 | 151 | 152 | 153 |
154 |
155 | 156 | ## Prerequisites ⚛️ 157 | 158 |
159 | Required 160 |
161 | 162 | - python3 163 | - git 164 | 165 |
166 |
167 | 168 |
169 | Optional 170 |
171 | 172 | - GoLang ([Download Here](https://golang.org/dl/)) , for Phoneinfoga scan. 173 | - OpenCage Account ([create a account here](https://opencagedata.com/users/sign_up)) , for Basic search. 174 | - Truecaller Account ([create a account here](https://www.truecaller.com/auth/sign-in)) , for Truecaller scan. 175 | 176 |
177 | 178 |
179 |
180 |
181 |
182 | 183 | 184 | > The [Developer](https://github.com/s41r4j/) of [PH0MBER](https://github.com/s41r4j/phomber/) is not responsible for an loss or misuse of the tool, it is end user's responsiblity. 185 | 186 |
187 | 188 | ## Want to Support ❤️ 189 | 190 | 🎁 Please check out the [__Google Form__](https://forms.gle/Aqit6QhQTmoYoypD7) 🎁 191 | 192 | 193 | 194 | 195 |
196 |
197 |
198 |
199 | 200 | ![s41r4j's github stats](https://github-readme-stats.vercel.app/api?username=s41r4j&show_icons=true&title_color=fff&icon_color=79ff97&text_color=9f9f9f&bg_color=151515) 201 | 202 | 203 | -------------------------------------------------------------------------------- /.archive/v2.0/config.py: -------------------------------------------------------------------------------- 1 | # This is the configuration file for PH0MBER (v1.0) 2 | # Created by @s41r4j (https://github.com/s41r4j/) 3 | 4 | #======================================================= 5 | 6 | # Please put your API key here 7 | key = '' 8 | 9 | 10 | # FAQ 11 | 12 | # Q] What is the API key for & why should I get it? 13 | # > The API key is to get the cordinates of the country the sim belongs to. 14 | # > You should get it so that you could get more accurate infomation (Latitude and longitude) about target. 15 | 16 | # Q] Where Should you get it ? 17 | # > You have to get the api keys from [opencagedata.com] website only. 18 | # > Create an account and then go to dashboard > API keys (tab) 19 | # > Here you will get you api keys 20 | 21 | # [NOTE] How to get api keys is explained in detail on GITHUB & YOUTUBE. 22 | # [Github] https://github.com/s41r4j/phomber/blob/main/.more/additional_config.md 23 | 24 | # [Youtube] https://youtube.com/s41r4j/ 25 | 26 | #======================================================= 27 | 28 | # Want phoneinfoga scan results ? 29 | # ['N' for NO / 'Y' For YES] 30 | phoneinfoga_key = 'N' 31 | 32 | 33 | # FAQ 34 | 35 | # Q] What if I put something other than 'N' and 'Y' in config for 'phoneinfoga_scan' ? 36 | # > Anything other than 'Y' is considered as N (NO) 37 | 38 | # Q] Why to use this feature? 39 | # > To improve search results 40 | 41 | # Q] Giving error for phoneinfoga\ 42 | # > This could have the following reasons : 43 | # > * Golang not installed 44 | # > * config.py file not configured 45 | # > + For above to problems, check instructions here: https://github.com/s41r4j/phomber/blob/main/.more/phoneinfoga.md 46 | # > If any other error please create an issue at (https://github.com/s41r4j/phomber/issues) with steps to reproduce the error, and screenshots recommended. 47 | 48 | #======================================================= 49 | -------------------------------------------------------------------------------- /.archive/v2.0/images/Phomber_official_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/v2.0/images/Phomber_official_logo.png -------------------------------------------------------------------------------- /.archive/v2.0/images/ocd_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/v2.0/images/ocd_1.png -------------------------------------------------------------------------------- /.archive/v2.0/images/ocd_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/v2.0/images/ocd_2.png -------------------------------------------------------------------------------- /.archive/v2.0/images/ocd_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/v2.0/images/ocd_3.png -------------------------------------------------------------------------------- /.archive/v2.0/images/ocd_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/v2.0/images/ocd_4.png -------------------------------------------------------------------------------- /.archive/v2.0/images/ph0mber_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/v2.0/images/ph0mber_logo.png -------------------------------------------------------------------------------- /.archive/v2.0/images/phomber_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.archive/v2.0/images/phomber_logo.png -------------------------------------------------------------------------------- /.archive/v2.0/more/additional_config.md: -------------------------------------------------------------------------------- 1 | ## Additional Configuration 2 | 3 | - [API Keys](api_keys.md) (for Basic search) 4 | - [Phoneinfoga Setup](phoneinfoga.md) (for Phoneinfoga scan) 5 | - [Truecaller Account](truecaller.md) (for Truecaller scan) 6 | 7 |
8 |
9 |
10 | 11 | > Note : click on the any of the above options to see how to configure it. 12 | -------------------------------------------------------------------------------- /.archive/v2.0/more/api_keys.md: -------------------------------------------------------------------------------- 1 | # API Keys 2 | To get API keys we need an open cage account, follow the steps to create an account and add the API keys to `config.py`. 3 | 4 | ### Step 1 5 | 6 | - Open the `opencagedata.com` website or click [here](https://opencagedata.com/) 7 | - Now click on the `Sign Up` on the top-right-coner or click here to [create account](https://opencagedata.com/users/sign_up) 8 | - If you already have account click on `Login` and login into your account, and continue from *step 3*. 9 | 10 | 11 | 12 |
13 | 14 | ### Step 2 15 | 16 | - Fill in the details as showed in the picture below. 17 | - Argee `t&c` , Solve `captcha` and press continue. 18 | 19 | 20 | 21 |
22 | 23 | ### Step 3 24 | 25 | - Go to account dashboard and click on `API keys` option / tab. 26 | 27 | 28 | 29 |
30 | 31 | ### Step 4 32 | 33 | - Copy the Api Keys from here (In the image api keys are hidden for security purposes) 34 | 35 | 36 | 37 |
38 | 39 | ### Step 5 40 | 41 | - Open the `config.py` file & paste the API keys where mentioned in the config file (i.e. paste it in the single / double quotes in front of the `key =`) 42 | 43 |
44 | -------------------------------------------------------------------------------- /.archive/v2.0/more/phoneinfoga.md: -------------------------------------------------------------------------------- 1 | # Phoneinfoga Setup 2 | 3 | In order to run `Phoneinfoga Scan` you need [GoLang](https://www.google.com/search?q=golang) Programming Language 4 | 5 |
6 | 7 | ## GoLang Installation Steps 8 | 9 | Goto [Golang's official download page](https://golang.org/dl/) and `Download` the Installation file for your `Operating System` & install it. 10 | - How to install [.msi](https://www.google.com/search?q=how+to+install+msi+file+in+windows) / [.pkg](https://www.google.com/search?q=how+to+install+pkg+file+in+mac) / [.tar.gz](https://www.google.com/search?q=how+to+install+tar.gz+file+in+linux) files ? 11 | - YouTube Tutorials : [LINK](https://www.youtube.com/results?search_query=install+golang+in+mac+linux+windows) 12 | 13 |
14 |
15 | 16 | ## `config.py` Setup 17 | 18 | In the `config.py` file, set the variable `phoneinfoga_key` to `Y` (By default it is set to `N`). 19 | 20 |

21 | 22 | ## First time, after changing configuration, when you run the tool, it will install files needed from `Phoneinfoga Scan` 23 | 24 |

25 | 26 | ### If you are facing any issues / errors, please create an [issue](https://github.com/s41r4j/phomber/issues) or contact me on [INSTAGRAM](https://www.instagram.com/s41r4j) 27 | -------------------------------------------------------------------------------- /.archive/v2.0/more/truecaller.md: -------------------------------------------------------------------------------- 1 | # Comming soon 2 | -------------------------------------------------------------------------------- /.archive/v2.0/phomber.py: -------------------------------------------------------------------------------- 1 | ############################## 2 | # PH0MBER # 3 | # # 4 | # An advance pyhton script # 5 | # that finds phone number # 6 | # details. # 7 | # # 8 | ############################## 9 | # # 10 | # Created by : S41R4J # 11 | # # 12 | # Github : # 13 | # https://github.com/s41r4j/ # 14 | # # 15 | ############################## 16 | # PH0MBER (v2.0) # 17 | ############################## 18 | 19 | 20 | # Importing main packages 21 | import phonenumbers, sys, datetime, progressbar, time, mechanize, os 22 | 23 | # For geolocation cordinates 24 | from config import key 25 | from opencage.geocoder import OpenCageGeocode 26 | 27 | # Phoneinfoga phoneinfoga_support 28 | from config import phoneinfoga_key 29 | 30 | # Utilized in external search 31 | from bs4 import BeautifulSoup 32 | 33 | # Module for Progress Bar 34 | from tqdm import tqdm 35 | 36 | # Importing modules for finding Geolocation, Carrier or Service Provider, Timezone 37 | from phonenumbers import geocoder, carrier, timezone 38 | 39 | def target_number(): 40 | 41 | # Globalizing variables 42 | global phone_number 43 | 44 | # Taking input as target number 45 | phone_number = str(sys.argv[1]) 46 | 47 | def bar(description): 48 | 49 | # for i in tqdm (range (100), desc=description): 50 | # time.sleep(0.01) 51 | # pass 52 | 53 | widgets = [description, progressbar.AnimatedMarker()] 54 | bar = progressbar.ProgressBar(widgets=widgets).start() 55 | 56 | for i in range(50): 57 | time.sleep(0.03) 58 | bar.update(i) 59 | 60 | def line(): 61 | print('-'*45) 62 | 63 | def current_time(): 64 | e = datetime.datetime.now() 65 | time_now = "%s:%s:%s" % (e.hour, e.minute, e.second) 66 | 67 | return(time_now) 68 | 69 | def banner(): 70 | print(''' 71 | ▒█▀▀█ ▒█░▒█ █▀▀█ ▒█▀▄▀█ ▒█▀▀█ ▒█▀▀▀ ▒█▀▀█ 72 | ▒█▄▄█ ▒█▀▀█ █▄▀█ ▒█▒█▒█ ▒█▀▀▄ ▒█▀▀▀ ▒█▄▄▀ 73 | ▒█░░░ ▒█░▒█ █▄▄█ ▒█░░▒█ ▒█▄▄█ ▒█▄▄▄ ▒█░▒█''') 74 | 75 | 76 | def dev(): 77 | line();print();line() 78 | print('[#] THANK YOU for using PH0MBER') 79 | line() 80 | print(''' 81 | [=] Contact us for IMPOROVEMENTS and Fixing BUGS of the PH0MBER.\n 82 | [+] Github : https://github.com/s41r4j/phomber/ 83 | [+] Instagram : https://www.instagram.com/s41r4j/ 84 | ''') 85 | 86 | #============================================== 87 | 88 | def external_search(phone_number): 89 | 90 | mc = mechanize.Browser() 91 | mc.set_handle_robots(False) 92 | 93 | url = 'https://www.findandtrace.com/trace-mobile-number-location' 94 | mc.open(url) 95 | 96 | mc.select_form(name='trace') 97 | mc['mobilenumber'] = phone_number # Enter a mobile number 98 | res = mc.submit().read() 99 | 100 | soup = BeautifulSoup(res,'html.parser') 101 | tbl = soup.find_all('table',class_='shop_table') 102 | #print(tbl) 103 | 104 | data = tbl[0].find('tfoot') 105 | c=0 106 | for i in data: 107 | c+=1 108 | if c in (1,4,6,8): 109 | continue 110 | th = i.find('th') 111 | td = i.find('td') 112 | try: 113 | print('[+]',th.text,td.text) 114 | except AttributeError: 115 | pass 116 | 117 | data = tbl[1].find('tfoot') 118 | c=0 119 | for i in data: 120 | c+=1 121 | if c in (2,20,22,26): 122 | th = i.find('th') 123 | td = i.find('td') 124 | print('[+]',th.text,td.text) 125 | 126 | #============================================== 127 | 128 | def phoneinfoga_scan(phone_number): 129 | 130 | if phoneinfoga_key == 'Y' or phoneinfoga_key == 'y' : 131 | 132 | try: 133 | if os.path.isfile('./phoneinfoga'): 134 | try: 135 | command = f'./phoneinfoga scan -n {phone_number}' 136 | os.system(command) 137 | except: 138 | print('[!] Phoneinfoga Scan Error\n[-] Please create a issue at:\n [https://github.com/s41r4j/phomber/issues]\n[-] With steps to reproduce the error !!') 139 | 140 | else: 141 | try: 142 | if os.path.isfile('./phoneinfoga.sh'): 143 | os.system('bash phoneinfoga.sh') 144 | else: 145 | if os.path.isfile('./phoneinfoga.bat'): 146 | os.system('./phoneinfoga.bat') 147 | print() 148 | print() 149 | 150 | try: 151 | command = f'./phoneinfoga scan -n {phone_number}' 152 | os.system(command) 153 | except: 154 | print('[!] Phoneinfoga Scan Error\n[-] Please create a issue at:\n [https://github.com/s41r4j/phomber/issues]\n[-] With steps to reproduce the error !!') 155 | 156 | except: 157 | print('[!] Phoneinfoga support - installation files missing,\n[-] Please clone/download the phomber again !!') 158 | 159 | except: 160 | print("[!] Setup not done properly\n[-] Please check Instructions at:\n [https://github.com/s41r4j/phomber/blob/main/.more/phoneinfoga.md]\n[-] Please create a issue at:\n [https://github.com/s41r4j/phomber/issues]\n[-] With steps to reproduce the error !!") 161 | 162 | else: 163 | print("[-] 'Phoneinfoga Scan' is turned OFF\n[-] Setup Instructions are given in config.py to turn it ON") 164 | 165 | 166 | #============================================== 167 | 168 | def getting_details(): 169 | 170 | line() 171 | print(f'[#] Scanned [{phone_number}] @ [{current_time()}]') 172 | line() 173 | 174 | try: 175 | # Phone number format: (+Countrycode)xxxxxxxxxx 176 | phone_number_details = phonenumbers.parse(phone_number) 177 | 178 | # Extracting number without Country Code 179 | global only_number 180 | split_pnd = str(phone_number_details).split('Number:', 1) 181 | 182 | only_number = split_pnd[1].replace(' ', '') 183 | 184 | except: 185 | print('[!] Country Code Missing\n') 186 | print('[TIP] Use plus sign (+), before your two\ndigit country code {Example: +91, +44, +1} ') 187 | line() 188 | sys.exit() 189 | 190 | # Validating a phone number 191 | valid = phonenumbers.is_valid_number(phone_number_details) 192 | 193 | # Checking possibility of a number 194 | possible = phonenumbers.is_possible_number(phone_number_details) 195 | 196 | if valid == True and possible == True: 197 | 198 | print();line() 199 | print('[$] Basic Results') 200 | line() 201 | 202 | # Creating a phone number variable for country 203 | counrty_number = phonenumbers.parse(phone_number,'CH') 204 | 205 | # Gives mobile number's location (Country) 206 | geolocation = geocoder.description_for_number(counrty_number, 'en') 207 | 208 | # Creating a phone number variable for service provider 209 | service_number = phonenumbers.parse(phone_number,'RO') 210 | 211 | # Gives mobile number's service provider (Airtel, Idea, Jio) 212 | service_provider = carrier.name_for_number(service_number, 'en') 213 | 214 | # Gives mobile number's timezone 215 | timezone_details_unfiltered = str(timezone.time_zones_for_number(phone_number_details)) 216 | 217 | special_chars = "()''," 218 | for special_char in special_chars: 219 | timezone_details = timezone_details_unfiltered.replace(special_char, '') 220 | 221 | print('[+] Timezone : ', timezone_details) 222 | print('[+] Service Provicer : ', service_provider) 223 | print('[+] Country : ', geolocation) 224 | 225 | if key: 226 | 227 | try: 228 | # Finding cordinates of country 229 | ocd_geocoder = OpenCageGeocode(key) 230 | query = str(geolocation) 231 | 232 | results = ocd_geocoder.geocode(query) 233 | 234 | lat = results[0]['geometry']['lat'] 235 | lng = results[0]['geometry']['lng'] 236 | 237 | google_maps_link = "https://www.google.com/maps/place/"+lat+","+lng 238 | 239 | print('[+] Latitude : ', lat) 240 | print('[+] Longutude : ', lng) 241 | print('[+] Google Maps Link : ', google_maps_link) 242 | 243 | except: 244 | print('\n[-] Entered Invaild API') 245 | print("[-] Instructions are givien in config file.") 246 | 247 | else: 248 | print("\n[-] Enter API key in 'config.py'") 249 | print("[-] Instructions are givien in config file.") 250 | 251 | 252 | else : 253 | print('[!] Invalid Number Detected') 254 | line() 255 | sys.exit() 256 | 257 | #============================================== 258 | 259 | def main(): 260 | banner() 261 | target_number() 262 | bar('Validating Number ') 263 | getting_details() 264 | line();print();line() 265 | print('[$] Advance Results (Experimental)') 266 | line() 267 | try: 268 | external_search(only_number) 269 | except IndexError: 270 | print('[!] Got Unexpected Error\n\n[Tip] Please report any error on the github\n page (https://github.com/s41r4j/phomber) &\n stpes to reproduce same error and HELP US\n to improve the tool for better.') 271 | 272 | line();print();line() 273 | print('[$] Phoneinfoga Scan Results') 274 | line() 275 | phoneinfoga_scan(phone_number) 276 | line();print();line() 277 | print('[Truecaller scan] comming soon') 278 | 279 | dev() 280 | line() 281 | 282 | 283 | if __name__ == '__main__': 284 | main() 285 | 286 | #--------------------------------------------------- -------------------------------------------------------------------------------- /.archive/v2.0/phoneinfoga.bat: -------------------------------------------------------------------------------- 1 | :: RUN THE FILE [phoneinfoga.bat] IN POWERSHELL 2 | 3 | @echo off 4 | 5 | call :phomber_phoneinfoga_support 6 | 7 | :phomber_phoneinfoga_support 8 | echo ==================================== 9 | echo Phomber - phoneinfoga support 10 | echo ==================================== 11 | echo https://github.com/s41r4j/phomber 12 | echo ==================================== 13 | echo _ 14 | echo _ 15 | curl -L "https://github.com/sundowndev/phoneinfoga/releases/download/v2.3.8/PhoneInfoga_Windows_x86_64.tar.gz" -o phoneinfoga.tar.gz 16 | tar -xf phoneinfoga.tar.gz 17 | DEL phoneinfoga.tar.gz 18 | echo _ 19 | echo _ 20 | echo "Phoneinfoga installed (Golang required to run program)" 21 | echo _ 22 | echo _ 23 | echo Check Out Instruction and Prerequisites here :- 24 | echo https:/\github.com\s41r4j\phomber\blob\main\%CD%more\phoneinfoga.md 25 | exit -------------------------------------------------------------------------------- /.archive/v2.0/phoneinfoga.sh: -------------------------------------------------------------------------------- 1 | phomber_phoneinfoga_support () { 2 | echo ==================================== 3 | echo Phomber - phoneinfoga support 4 | echo ==================================== 5 | echo https://github.com/s41r4j/phomber 6 | read -t 2 -p "===================================" 7 | echo = 8 | echo _ 9 | curl -L "https://github.com/sundowndev/phoneinfoga/releases/download/v2.3.8/phoneinfoga_$(uname -s)_$(uname -m).tar.gz" -o phoneinfoga.tar.gz 10 | tar xfv phoneinfoga.tar.gz 11 | rm phoneinfoga.tar.gz 12 | echo _ 13 | echo _ 14 | echo "Phoneinfoga installed (Golang required to run program)" 15 | echo _ 16 | echo _ 17 | echo Check Out Instruction and Prerequisites here :- 18 | echo https://github.com/s41r4j/phomber/blob/main/.more/phoneinfoga.md 19 | } 20 | 21 | phomber_phoneinfoga_support -------------------------------------------------------------------------------- /.archive/v2.0/readme.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ``` 5 | A Infomation Grathering tool that reverse search phone numbers and get their details ! 6 | ``` 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 |
20 | What is phomber? 21 |
22 | 23 | - Phomber is one of the best tools available for Infomation Grathering. 24 | - It reverse searches given number online and retrieves all data available. 25 | 26 |
27 |
28 | 29 |
30 | Available Scans 31 |
32 | 33 | - Basic Scan 34 | - Abstractapi Scan 35 | - Apilayer Scan 36 | - Find and Trace Scan 37 | - Numlookupapi Scan 38 | - Veriphone Scan 39 | 40 |
41 |
42 | 43 |
44 | Operating Systems Tested 45 |
46 | 47 | - [![Supported OS](https://img.shields.io/badge/OS%20X-brightgreen?style=flat&logo=macos)](https://www.google.com/search?q=OS%20X)                      (pip) 48 | - [![Supported OS](https://img.shields.io/badge/Unix%20%2F%20Linux-blueviolet?style=flat&logo=linux)](https://www.google.com/search?q=Unix+Linux)             (pip) 49 | - [![Supported OS](https://img.shields.io/badge/Microsoft%20Windows-red?style=flat&logo=windows)](https://www.google.com/search?q=Windows)    (exe) 50 | 51 | 52 |
53 |
54 | 55 |
56 | Direct Downloads 57 |
58 | 59 | - [Windows (EXE)](https://github.com/s41r4j/phomber/archive/refs/tags/phomber-v2.0.zip) 60 | 61 |
62 |
63 | 64 |
65 |
66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | # 📜 Contents 74 |
75 | 76 | - [Installation](#screwdriver-installation) 77 | 78 | - [Linux](#card_file_box-linux-based-systems) 79 | - [Windows](#open_file_folder-windows) 80 | 81 | - [Usage](#cloud-usage) 82 | - [Prerequisites](#atom_symbol-prerequisites) 83 | 84 | 85 |

86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | # :screwdriver: Installation 94 | 95 | 96 | ## :card_file_box: Linux based systems 97 | 98 | - Now, install `PH0MBER` with ease (in _Linux_ or _Unix_ based systems) 99 | 100 | ``` 101 | pip install phomber 102 | ``` 103 | 104 | 105 |

106 | 107 | ## :open_file_folder: Windows 108 | 109 | - Download Windows executable from here [[download now](https://google.com)] 110 | 111 | - Also check this guide [[redirect to guide]()] for proper `PH0MBER` setup in _Windows_ 112 | 113 | - For ___Windows___ you don't need python or any other kind of installation 114 | 115 | 116 | 117 | 118 | 119 | 120 |

121 | # :cloud: Usage 122 | 123 | ``` 124 | usage: phomber [-h] [-c] [-l] [-a] [-abs] [-lyr] [-fnt] [-nlu] 125 | [-vp] 126 | [Phone Number] 127 | 128 | PH0MBER — reverse phone number lookup 129 | 130 | positional arguments: 131 | Phone Number Phone number to which perform reverse 132 | lookup 133 | 134 | optional arguments: 135 | -h, --help show this help message and exit 136 | -c, --config_editor Opens config editor for entering apis 137 | keys 138 | -l, --logo Display random `PH0MBER` logo 139 | -a, --all_apis Run all API scans 140 | -abs, --abstractapi Abstract Api [abstractapi.com] 141 | -lyr, --apilayer Apilayer [apilayer.com] 142 | -fnt, --findandtrace Find and Trace [findandtrace.com] 143 | -nlu, --numlookupapi Numlookup Api [numlookupapi.com] 144 | -vp, --veriphone Veriphone [veriphone.io] 145 | ``` 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 |

154 | ## :atom_symbol: Prerequisites 155 | 156 |
157 | Required (for unix/linux sys) 158 |
159 | 160 | - python3 161 | - pip 162 | 163 |
164 |
165 | 166 |
167 | Optional (accounts for apikey) 168 |
169 | 170 | - [Abstractapi](abstractapi.com) 171 | - [Apilayer](apilayer.com) 172 | - [Numlookupapi](numlookupapi.com) 173 | - [Veriphone](veriphone.io) 174 | 175 |
176 |
177 | 178 |
179 | 180 | To setup API gateway, follow this guide [[redirect to guide](/.docs/apikeys.md)] 181 | 182 | 183 | 184 |
185 |
186 |
187 |
188 | 189 | 190 | > The [Developer](https://github.com/s41r4j/) of [PH0MBER](https://github.com/s41r4j/phomber/) is not responsible for an loss or misuse of the tool, it is end user's responsiblity. 191 | 192 |
193 | 194 | 195 | 196 | 197 |
198 |
199 |
200 |
201 | 202 | ![s41r4j's github stats](https://github-readme-stats.vercel.app/api?username=s41r4j&show_icons=true&title_color=fff&icon_color=79ff97&text_color=9f9f9f&bg_color=151515) 203 | 204 | 205 | -------------------------------------------------------------------------------- /.archive/v2.0/requirements.txt: -------------------------------------------------------------------------------- 1 | phonenumbers 2 | progressbar 3 | mechanize 4 | beautifulsoup4 5 | tqdm 6 | opencage -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [s41r4j] 2 | patreon: # Replace with a single Patreon username 3 | open_collective: # Replace with a single Open Collective username 4 | ko_fi: # Replace with a single Ko-fi username 5 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 6 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 7 | liberapay: # Replace with a single Liberapay username 8 | issuehunt: # Replace with a single IssueHunt username 9 | otechie: # Replace with a single Otechie username 10 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry 11 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 12 | -------------------------------------------------------------------------------- /.images/.images.md: -------------------------------------------------------------------------------- 1 | # This Folder contains all images of the Repository [phomber] 2 | -------------------------------------------------------------------------------- /.images/Phomber_official_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.images/Phomber_official_logo.png -------------------------------------------------------------------------------- /.images/helpmenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.images/helpmenu.png -------------------------------------------------------------------------------- /.images/phomber_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/s41r4j/phomber/1b69b1b12314a6e1dd63eb15d3da85cdb9361c39/.images/phomber_logo.png -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3.9.18-slim-bullseye 2 | 3 | WORKDIR /app 4 | 5 | COPY requirements.txt . 6 | 7 | RUN pip3 install -r requirements.txt 8 | 9 | COPY . . 10 | 11 | ENTRYPOINT [ "python3", "phomber.py" ] 12 | 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 |

4 | 5 | ``` 6 | An open source infomation grathering & reconnaissance framework! 7 | ``` 8 | 9 |

10 | 11 | 12 | 13 | 14 | 15 |

16 | 17 |
18 | 19 |
20 | 21 | ## What is PH0MBER? 22 | 23 | - `PH0MBER` is an __osint framework__, which is one-stop tool for your information gathering and reconnaissance needs 24 | - It can help you gather information (such as phone numbers, ip address, domain name info, etc.) from various publicly available sources about the target 25 | 26 |
27 |
28 | 29 | ## Quick Guide 30 | 31 | > Install, Update, Usage 32 | 33 |
34 | 35 | ### Installation: 36 | 37 | - __git clone__ 38 | 39 | ``` 40 | git clone https://github.com/s41r4j/phomber 41 | cd phomber 42 | pip3 install -r pyproject.toml 43 | ``` 44 | 45 | - __pip__ 46 | 47 | ``` 48 | pip install phomber 49 | ``` 50 | 51 | - __docker__ 52 | 53 | ``` 54 | docker pull sinawic/phomber:latest 55 | docker run --rm -it sinawic/phomber:latest 56 | ``` 57 | 58 |
59 | 60 | ### Update: 61 | 62 | - __git clone__ (assuming you are in the `phomber` directory) 63 | 64 | ``` 65 | git pull 66 | ``` 67 | 68 | - __pip__ 69 | 70 | ``` 71 | pip install --upgrade phomber 72 | ``` 73 | 74 | - __docker__ 75 | 76 | ``` 77 | docker pull sinawic/phomber:latest 78 | ``` 79 | 80 |
81 | 82 | ### Usage: 83 | 84 | - __git clone__ (assuming you are in the `phomber` directory) 85 | 86 | ``` 87 | python3 phomber.py 88 | ``` 89 | 90 | - __pip__ 91 | 92 | ``` 93 | phomber 94 | ``` 95 | 96 | - __docker__ 97 | 98 | ``` 99 | phomber 100 | ``` 101 | 102 |
103 | 104 | - Help menu 105 | 106 | ``` 107 | ┌────────────────────────────────────────────────────┐ 108 | | COMMANDS | DESCRIPTION | 109 | |----------------------------------------------------| 110 | | <(Basic Commands)> | 111 | |----------------------------------------------------| 112 | | help | Display this help menu | 113 | | exit/quit | Exit the framework | 114 | | dork | Show a random google dork query * | 115 | | exp | Show info about all available | 116 | | | expressions | 117 | | check | Check internet connection | 118 | | clear | Clear screen | 119 | | flush | Flush history | 120 | | save | Save output of previous scanner | 121 | | | command in a file | 122 | | shell | Execute native shell/cmd commands | 123 | | info | Show info about framework & system | 124 | | change | Change user command input color | 125 | |----------------------------------------------------| 126 | | <(Scanner Commands)> | 127 | |----------------------------------------------------| 128 | | number | Reverse phone number lookup | 129 | | ip | Reverse ip address lookup * | 130 | | mac | Reverse mac address lookup | 131 | | whois | Reverse whois lookup * | 132 | | dns | Reverse / Normal DNS lookup * | 133 | | username | Username lookup over multiple sites| 134 | | | and social media platforms * | 135 | └────────────────────────────────────────────────────┘ 136 | ``` 137 | 138 | #### Pro tips: 139 | 140 | - Type `help` to get a list of commands 141 | - Type `help ` to see more info about a command 142 | - Use `Tab` key to auto-complete commands 143 | - Try silent mode by using `-s`/`--silent` flag 144 | - You can also use `Ctrl+C` to exit 145 | - Descriptions ending with `*` needs internet connection 146 | - Use `-e`/`--verbose-errors` flag to see more descriptive errors 147 | 148 |
149 |
150 | 151 | ### NOTES: 152 | 153 | ``` 154 | - `PH0MBER` is back with all new features and user interface 155 | - `v3` has osint tools with no _api key_ requirement 156 | - Release windows (exe) & linux (lsb) direct executables, no python req. 157 | - `v4` will have web-interface + automated scans features + (custom-scanner feature; create, distribute and deploy your own scanner) 158 | ``` 159 | 160 |

161 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [build-system] 2 | requires = ["setuptools>=61.0"] 3 | build-backend = "setuptools.build_meta" 4 | 5 | 6 | [project] 7 | name = "phomber" 8 | version = "3.1.1" 9 | description = "`PH0MBER` a simple yet powerful osint framework for reconnaissance and information gathering" 10 | readme = "README.md" 11 | license = {file = "LICENSE"} 12 | requires-python = ">=3.7" 13 | authors = [ 14 | {name = "s41r4j"} 15 | ] 16 | maintainers = [ 17 | {name = "s41r4j"} 18 | ] 19 | keywords=['python', 'hacking', 'pentesting', 'phomber', 'reverse', 'lookup', 'osint', 'framework', 'tool', 's41r4j'] 20 | classifiers = [ 21 | "Programming Language :: Python :: 3", 22 | "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", 23 | "Operating System :: OS Independent", 24 | "Environment :: Console", 25 | "Development Status :: 5 - Production/Stable" 26 | ] 27 | dependencies = ['requests', 'prompt_toolkit', 'uuid', 'psutil', 'beautifulsoup4', 'phonenumbers', 'mac-vendor-lookup', 'python-whois', 'dnspython'] 28 | 29 | 30 | [project.urls] 31 | "Homepage" = "https://github.com/s41r4j/phomber" 32 | "Bug Tracker" = "https://github.com/s41r4j/phomber/issues" 33 | 34 | [project.scripts] 35 | phomber = "phomber.phomber:main" 36 | 37 | [project.entry-points."phomber"] 38 | phomber = "phomber.phomber:main" --------------------------------------------------------------------------------