Dom.ru is one of the largest Russian ISP owned by ERTelecom. This script allows you to check for an account by phone number and get information about the account (parts of physical addresses, emails, etc.).
You can starts search by phone number, agreement ID, encoded agreement ID.
# without installing
$ ./run.py <target>
# as a package
$ python3 -m domru-customer-check <target>
# or simply
$ domru_customer_check <target>
Targets
Specify targets one or more times:
$ domru_customer_check 79194108310 79876543210
Collected 57 domains
100%|████████████████████████████████| 114/114 [00:08<00:00, 12.69it/s]
Target: 79194108310 (sbor)
Results found: 1
1) Contact Id: 9644224
Contact Type: 2
Agreement Id: 10557305
Row: ********6538
Address: Санкт-Петербург, Ш*************************, ******, 29, п.1
------------------------------
Target: 79194108310 (interzet)
Results found: 1
1) Contact Id: 9644224
Contact Type: 2
Agreement Id: 10557305
Row: ********6538
Address: Санкт-Петербург, Ш******************************, ******, 29, п.1
------------------------------
Target: 79876543210 (dzr)
Results found: 1
1) Contact Id: 4453093
Contact Type: 2
Agreement Id: 3291977
Row: ********0493
Address: Нижний Новгород, П**************************, **, 5, п.1
------------------------------
Target: 79876543210 (nn)
Results found: 1
1) Contact Id: 4453093
Contact Type: 2
Agreement Id: 3291977
Row: ********0493
Address: Нижний Новгород, П****************************, **, 5, п.1
------------------------------
Target: 79876543210 (tmn)
Results found: 3
1) Contact Id: 9847820
Contact Type: 2
Agreement Id: 2106611
Row: ********6127
Address: Тюмень, К**************************, **, 24, п.1
2) Contact Id: 9858960
Contact Type: 2
Agreement Id: 2112488
Row: ********0138
Address: Исетское С, И*****************, ***********, 6, 1, п.1
3) Contact Id: 9882656
Contact Type: 2
Agreement Id: 2158682
Row: ********5413
Address: Тюмень, П*****************, *****, 61, п.1
------------------------------
Total found: 7
Or use a file with targets list:
$ domru_customer_check --target-list targets.txt
Or combine tool with other through input/output pipelining:
$ cat list.txt | domru_customer_check --targets-from-stdin
Reports
The skeleton implements CSV reports:
$ domru_customer_check 79194108310 79876543210 -oC results.csv
...
Results were saved to file results.csv
$ head -n 4 results.csv
"Target","Row","Address","Contact Id","Contact Type","Agreement Id"
"79194108310 (interzet)","********6538","Санкт-Петербург, Ш*****************, ******, 29, п.1","9644224","2","10557305"
"79194108310 (sbor)","********6538","Санкт-Петербург, Ш*************************, ******, 29, п.1","9644224","2","10557305"
"79876543210 (dzr)","********0493","Нижний Новгород, П**********************, **, 5, п.1","4453093","2","3291977"
And can save console output to text file separately:
domru_customer_check 79194108310 79876543210 -oT results.txt
...
$ head -n 7 results.txt
Target: 79194108310 (interzet)
Results found: 1
1) Contact Id: 9644224
Contact Type: 2
Agreement Id: 10557305
Row: ********6538
Address: Санкт-Петербург, Ш*************************, ******, 29, п.1
Proxy
The tool supports proxy:
$ domru_customer_check www.google.com --proxy http://localhost:8080
Make sure you have Python3 and pip installed.
Manually
- Clone or download respository
$ git clone [email protected]:soxoj/domru-customer-check.git
- Install dependencies
$ pip3 install -r requirements.txt
As a the package
You can clone/download repo and install it from the directory to use as a Python package.
$ pip3 install .