kovinevmv / getcontact Goto Github PK
View Code? Open in Web Editor NEWFind info about user by phone number using GetContact API
License: MIT License
Find info about user by phone number using GetContact API
License: MIT License
Hello! I was wondering if yout api still works? Last update from 2021 said that it does not, but I was wondering maybe it has been fixed since then?? ^ ^''
I'm asking because no matter what phone number I put in, it says user not found and I want to know if it's me doing something wrong or the code.
Thank you for your answer! 😃
Docker:
`
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 409, in connect
cert = self.sock.getpeercert()
File "/usr/local/lib/python3.7/ssl.py", line 953, in getpeercert
self._check_connected()
File "/usr/local/lib/python3.7/ssl.py", line 918, in _check_connected
self.getpeername()
OSError: [Errno 107] Transport endpoint is not connected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 400, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 409, in connect
cert = self.sock.getpeercert()
File "/usr/local/lib/python3.7/ssl.py", line 953, in getpeercert
self._check_connected()
File "/usr/local/lib/python3.7/ssl.py", line 918, in _check_connected
self.getpeername()
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(107, 'Transport endpoint is not connected'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./src/main.py", line 19, in
getcontact.print_information_by_phone(phone)
File "/src/getcontact/getcontact.py", line 68, in print_information_by_phone
data = self.get_information_by_phone(phone)
File "/src/getcontact/getcontact.py", line 63, in get_information_by_phone
result_name = self.get_name_by_phone(phone)
File "/src/getcontact/getcontact.py", line 16, in get_name_by_phone
response = self.requester.get_phone_name(phoneNumber)
File "/src/getcontact/requester.py", line 90, in get_phone_name
return self.send_req_to_the_server(self.base_url + self.base_uri_api + method, self.request_data)
File "/src/getcontact/requester.py", line 79, in send_req_to_the_server
is_ok, response = self.send_request_encrypted(url, payload)
File "/src/getcontact/requester.py", line 58, in send_request_encrypted
return self._send_post(url, json.dumps({"data": self.cipher.encrypt_AES_b64(data)}))
File "/src/getcontact/requester.py", line 52, in _send_post
response = requests.post(url, data=data, headers=self.headers)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(107, 'Transport endpoint is not connected'))
`
можете подсказать в чем может быть причина?
python3 ./src/main.py
Captcha is detected.
Traceback (most recent call last):
File "./src/main.py", line 36, in <module>
data = getcontact.get_information_by_phone(phone)
File "/home/root1/venv/getcontact/src/getcontact/getcontact.py", line 72, in get_information_by_phone
result_tags = self.get_tags_by_phone(phone)
File "/home/root1/venv/getcontact/src/getcontact/getcontact.py", line 55, in get_tags_by_phone
response = self.requester.get_phone_tags(phoneNumber)
File "/home/root1/venv/getcontact/src/getcontact/requester.py", line 128, in get_phone_tags
return self.send_req_to_the_server(self.base_url + self.base_uri_api + method, self.request_data)
File "/home/root1/venv/getcontact/src/getcontact/requester.py", line 92, in send_req_to_the_server
is_ok, response = self.send_request_encrypted(url, payload)
File "/home/root1/venv/getcontact/src/getcontact/requester.py", line 56, in send_request_encrypted
return self._send_post(url, json.dumps({"data": self.cipher.encrypt_AES_b64(data)}))
File "/home/root1/venv/getcontact/src/getcontact/requester.py", line 52, in _send_post
return self._parse_response(response)
File "/home/root1/venv/getcontact/src/getcontact/requester.py", line 77, in _parse_response
code, path = c.decode_response(response)
TypeError: decode_response() missing 1 required positional argument: 'response'
Great and clear code, but the method "number-detail" doesn't work in your API.Additional information about the person is not returned.
Поиск не работает.
Ставил либы как в ридми, ошибок не заметил
Запустил с помощью python3 ./src/main.py -v -p +79291045310
Запускал на arch linux
Снизу логи, видел там строку о ошибке аунтефикации, может в этом дело?
Логи
[2021-03-21 23:25:39] Call print_information_by_phone with phone +79291045310
[2021-03-21 23:25:39] Call get_information_by_phone with phone +79291045310
[2021-03-21 23:25:39] Call get_name_by_phone with phoneNumber +79291045310
[2021-03-21 23:25:39] Call _send_post with url: https://pbssrv-centralevents.com/v2.8/search data: {"data": "5bdkIcEXuJjCNtYojDyP+yJBiUlFPbojTgprZqX5lnTSa8AZNns/njzEZt2TVmdqlsQvbznsX28AJ0y4D00p6dIwQULwOW81UHfyqKHdchkHQ8lA2hCW4mL6hHIAsh5uLMlFdCEX6mQ0HPGIs0blJ1HE6Es7CWTSRhd1WjVznQoXDZsy/65DWR8ytxDoY7cv"}
[2021-03-21 23:25:39] Call _parse_response with response: {"data":"+yZyseKMY24rJ+1d2LowBGT2OdeVMZyxEMpfMSoXvAE09fKWyrjnRzFNwdRZJ0X9LvzK/O0fsPFm63M/TL1/rxoSXH1JiW69qzrEbZ9hX6SoeucKT+rZbuhiYN45r2KMzZwKOXHuTF1AtheKTTsDrMc5Vbe0DwtNnR/UkqFbg2ethtOIrNoIsPfc+bJiC5Fz"}
[2021-03-21 23:25:39] Not correct answer from server.
[2021-03-21 23:25:39] Response: +yZyseKMY24rJ+1d2LowBGT2OdeVMZyxEMpfMSoXvAE09fKWyrjnRzFNwdRZJ0X9LvzK/O0fsPFm63M/TL1/rxoSXH1JiW69qzrEbZ9hX6SoeucKT+rZbuhiYN45r2KMzZwKOXHuTF1AtheKTTsDrMc5Vbe0DwtNnR/UkqFbg2ethtOIrNoIsPfc+bJiC5Fz
[2021-03-21 23:25:39] Response decrypted: {'meta': {'requestId': '172-31-8-55-REQ-60578fa39ba5d', 'httpStatusCode': 403, 'errorMessage': 'Authentication failed.', 'errorCode': '403001'}}
[2021-03-21 23:25:39] Call get_tags_by_phone with phoneNumber +79291045310
[2021-03-21 23:25:39] Call _send_post with url: https://pbssrv-centralevents.com/v2.8/number-detail data: {"data": "5bdkIcEXuJjCNtYojDyP+0agXUrEbebGlSikt/i6YtcCMw31M0PnnBdPa2QU6/NModIfdAdz0WF26OvGJ9oTZGqQHfpj22J48fGrBruJtatNRhswONfWm1F93Fd/XExzly7Rmh7LnBZ5iMecizJyGET3TYF2fbMm4gQbLJE7QhLvZo4AuiWjapeRm+0A8tPP"}
[2021-03-21 23:25:40] Call _parse_response with response: {"data":"+yZyseKMY24rJ+1d2LowBDs8ELgMu8ylNBxeQ+p4z5lJDqWeeAtarB+13UcHKaYBHdi7QeGvU9SxVB1EB9JUpST6/KZVj/JepDnJN74/GpQVuJMXz2vJs+95AOEvRVQqgIFVS5kw8zesKOl+vO0j/tpX3U06hDvEYvWWS/GlxZpimoh7IppbwynrPDamXGW7"}
[2021-03-21 23:25:40] Not correct answer from server.
[2021-03-21 23:25:40] Response: +yZyseKMY24rJ+1d2LowBDs8ELgMu8ylNBxeQ+p4z5lJDqWeeAtarB+13UcHKaYBHdi7QeGvU9SxVB1EB9JUpST6/KZVj/JepDnJN74/GpQVuJMXz2vJs+95AOEvRVQqgIFVS5kw8zesKOl+vO0j/tpX3U06hDvEYvWWS/GlxZpimoh7IppbwynrPDamXGW7
[2021-03-21 23:25:40] Response decrypted: {'meta': {'requestId': '172-31-4-106-REQ-60578fa442498', 'httpStatusCode': 403, 'errorMessage': 'Authentication failed.', 'errorCode': '403001'}}
[2021-03-21 23:25:40] Call _print_beauty_output with data {'name': None, 'phoneNumber': '+79291045310', 'country': 'RU', 'displayName': 'Not Found', 'profileImage': None, 'email': None, 'is_spam': False, 'tags': []}
Phone: +79291045310
User: Not Found
Time to time it outputs me error smth like that
'charmap' codec can't encode characters in position 6-8: character maps to
I think it is connected with russian or ukrainian language and codec cannot recognize this words. Can you help to solve this problem?
Программа выводит "Not found" на любые входные данные, даже если номер есть в гетконтакте.
Спасибо за рабочий код. Хотел спросить, не скажете какими программными инструментами вы пользовались для изучения API getContact? Заранее большое спасибо.
Если в приложении говорит у контакта есть ХХ имен, но показывается только одно потому что он не зареган в ГК, пригласите его, скрипт обходит это дело? Или также только одно покажет?
I Got My own token and key from a fresh installation of getcontact app on a rooted device
No Matter What Phone Number i Search For i get the same error
Authentication Failed & Error Code 403003
Thanks in Advance
GetContact API gives error about new version of application.
Maybe after some update of getcontact the script doesn't work correctly, it returns no tags, only one name and then captcha . Any idea how to fix that?
root@fro:~/getcontact/src# python3 main.py -p +79503343722
Traceback (most recent call last):
File "main.py", line 3, in
from getcontact.getcontact import GetContactAPI
File "/root/getcontact/src/getcontact/getcontact.py", line 25
user_name = f'{parse_none(name)} {parse_none(surname)}'
python3 ./src/main.py -p +79291045342 Traceback (most recent call last): File "./src/main.py", line 19, in getcontact.print_information_by_phone(phone) File "/data/data/com.termux/files/home/getcontact/src/getcontact/getcontact.py", line 79, in print_information_by_phone data = self.get_information_by_phone(phone) File "/data/data/com.termux/files/home/getcontact/src/getcontact/getcontact.py", line 71, in get_information_by_phone result_name = self.get_name_by_phone(phone) File "/data/data/com.termux/files/home/getcontact/src/getcontact/getcontact.py", line 16, in get_name_by_phone response = self.requester.get_phone_name(phoneNumber) File "/data/data/com.termux/files/home/getcontact/src/getcontact/requester.py", line 117, in get_phone_name return self.send_req_to_the_server(self.base_url + self.base_uri_api + method, self.request_data) File "/data/data/com.termux/files/home/getcontact/src/getcontact/requester.py", line 91, in send_req_to_the_server is_ok, response = self.send_request_encrypted(url, payload) File "/data/data/com.termux/files/home/getcontact/src/getcontact/requester.py", line 56, in send_request_encrypted return self._send_post(url, json.dumps({"data": self.cipher.encrypt_AES_b64(data)})) File "/data/data/com.termux/files/home/getcontact/src/getcontact/requester.py", line 52, in _send_post return self._parse_response(response) File "/data/data/com.termux/files/home/getcontact/src/getcontact/requester.py", line 68, in _parse_response response = response.json()['data'] KeyError: 'data'
how do I register a get contact account in the emulator, I've tried it but getcontact detects incoming calls is there an alternative so I can register an account via the emulator, without using verification via whatsapp
CapMonster or smth similar
Здравствуйте. Отличная работа. Интересует число запросов. Так как в самом приложении ограничено число запросов. Тут у вас вижу Remain Count, если его всегда держать в ноль, можно ли сделать безлимитный поиск? Так создать брутфорс для номеров
Максим, подскажите. А реально ли генерировать эти токены "AES key", "token", "exp" самому, не вытаскивая их каждый раз из приложения после прохождения регистрации на новый номер.
Изучали вот эту статью: https://github.com/chipik/ya_perezvonu/blob/master/rev/README.md
Она была написана год назад, но тут человек показал как это делать. Возможно ли это сейчас?
Так же в вашем коде requester.py:22 видим, что есть метод register, но он никак нигде не используется.
Kali linux
1, 'Error opening data file /usr/local/share/tessdata/eng.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language 'eng' Tesseract couldn't load any languages! Could not initialize tesseract.')
^CTraceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py", line 377, in _make_request
httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./src/main.py", line 29, in
getcontact.print_information_by_phone(phone)
File "/root/getcontact/src/getcontact/getcontact.py", line 93, in print_information_by_phone
data = self.get_information_by_phone(phone)
File "/root/getcontact/src/getcontact/getcontact.py", line 84, in get_information_by_phone
result_name = self.get_name_by_phone(phone)
File "/root/getcontact/src/getcontact/getcontact.py", line 18, in get_name_by_phone
response = self.requester.get_phone_name(phoneNumber)
File "/root/getcontact/src/getcontact/requester.py", line 152, in get_phone_name
return self.send_req_to_the_server(
File "/root/getcontact/src/getcontact/requester.py", line 122, in send_req_to_the_server
is_ok, response = self.send_request_encrypted(url, payload)
File "/root/getcontact/src/getcontact/requester.py", line 66, in send_request_encrypted
return self._send_post(
File "/root/getcontact/src/getcontact/requester.py", line 62, in _send_post
return self._parse_response(response)
File "/root/getcontact/src/getcontact/requester.py", line 99, in _parse_response
self.decode_captcha(code)
File "/root/getcontact/src/getcontact/requester.py", line 172, in decode_captcha
return self.send_req_to_the_server(
File "/root/getcontact/src/getcontact/requester.py", line 122, in send_req_to_the_server
is_ok, response = self.send_request_encrypted(url, payload)
File "/root/getcontact/src/getcontact/requester.py", line 66, in send_request_encrypted
return self._send_post(
File "/root/getcontact/src/getcontact/requester.py", line 62, in _send_post
return self._parse_response(response)
File "/root/getcontact/src/getcontact/requester.py", line 99, in _parse_response
self.decode_captcha(code)
File "/root/getcontact/src/getcontact/requester.py", line 172, in decode_captcha
return self.send_req_to_the_server(
File "/root/getcontact/src/getcontact/requester.py", line 122, in send_req_to_the_server
is_ok, response = self.send_request_encrypted(url, payload)
File "/root/getcontact/src/getcontact/requester.py", line 66, in send_request_encrypted
return self._send_post(
File "/root/getcontact/src/getcontact/requester.py", line 62, in _send_post
return self._parse_response(response)
File "/root/getcontact/src/getcontact/requester.py", line 99, in _parse_response
self.decode_captcha(code)
File "/root/getcontact/src/getcontact/requester.py", line 172, in decode_captcha
return self.send_req_to_the_server(
File "/root/getcontact/src/getcontact/requester.py", line 122, in send_req_to_the_server
is_ok, response = self.send_request_encrypted(url, payload)
File "/root/getcontact/src/getcontact/requester.py", line 66, in send_request_encrypted
return self._send_post(
File "/root/getcontact/src/getcontact/requester.py", line 62, in _send_post
return self._parse_response(response)
File "/root/getcontact/src/getcontact/requester.py", line 99, in _parse_response
self.decode_captcha(code)
File "/root/getcontact/src/getcontact/requester.py", line 172, in decode_captcha
return self.send_req_to_the_server(
File "/root/getcontact/src/getcontact/requester.py", line 122, in send_req_to_the_server
is_ok, response = self.send_request_encrypted(url, payload)
File "/root/getcontact/src/getcontact/requester.py", line 66, in send_request_encrypted
return self._send_post(
File "/root/getcontact/src/getcontact/requester.py", line 60, in _send_post
response = requests.post(url, data=data, headers=self.headers)
File "/usr/local/lib/python3.8/dist-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py", line 597, in urlopen
httplib_response = self._make_request(conn, method, url,
File "/usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.8/http/client.py", line 1347, in getresponse
response.begin()
File "/usr/lib/python3.8/http/client.py", line 307, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.8/http/client.py", line 268, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
Dear friend. I'm impressed with the work you've done. But GETCONTACT on web.getcontact.com has entered reCAPTCHA v3 and I think it has affected your code.
Here's a sample of the work of your code:
PS D:\Executables\getcontact-master> docker run -t getcontact -p +79604389223
403
Phone: +79604389223
User: Ahmed Adamokov
Although the phone number has more tags:
Ahmed Adamokov ;Ahmed Adamokov; Adamokov; Adamoküe; Ahmed; Adamoküe; Ahmed dancer; Ahmed A; Ahmed ... ;Ahmed Student;Ahmed Student;Ahmed Drum;Ahmed Mgtu;Ahmed Adamoküe;Ahmed Adamoküe Муж
And I think your code would be complete if there was a script that took phone numbers from a text file and then wrote the result into the output file.
With respect, faraon0209.
Translated with www.DeepL.com/Translator (free version)
Just suggesting and wondering, why not utilize GetContact Web at the moment?
Error code: 403021
Error message: You have reached maximum query limit. Thank you for using Getcontact.
But if I try to delete "+", I get:
Error code: 403021
Error message: You have reached maximum query limit. Thank you for using Getcontact.
AND
Phone: XXXXXXXXXXX (i hide my phone)
User: Not Found
Tag list:
Arthur
Arthuuur
Hi,
after editing dump/tokens.yaml with my premium account cred-s, then while running python script
python3 ./src/main.py -p +993555555555
Phone: +993555555555
User: Not Found
but with default script cred-s it works, i change only token,aes,priv keys
Is there other way to get the tokens without root device?
Docker:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 409, in connect
cert = self.sock.getpeercert()
File "/usr/local/lib/python3.7/ssl.py", line 953, in getpeercert
self._check_connected()
File "/usr/local/lib/python3.7/ssl.py", line 918, in _check_connected
self.getpeername()
OSError: [Errno 107] Transport endpoint is not connected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 400, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 409, in connect
cert = self.sock.getpeercert()
File "/usr/local/lib/python3.7/ssl.py", line 953, in getpeercert
self._check_connected()
File "/usr/local/lib/python3.7/ssl.py", line 918, in _check_connected
self.getpeername()
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(107, 'Transport endpoint is not connected'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./src/main.py", line 19, in <module>
getcontact.print_information_by_phone(phone)
File "/src/getcontact/getcontact.py", line 68, in print_information_by_phone
data = self.get_information_by_phone(phone)
File "/src/getcontact/getcontact.py", line 63, in get_information_by_phone
result_name = self.get_name_by_phone(phone)
File "/src/getcontact/getcontact.py", line 16, in get_name_by_phone
response = self.requester.get_phone_name(phoneNumber)
File "/src/getcontact/requester.py", line 90, in get_phone_name
return self.send_req_to_the_server(self.base_url + self.base_uri_api + method, self.request_data)
File "/src/getcontact/requester.py", line 79, in send_req_to_the_server
is_ok, response = self.send_request_encrypted(url, payload)
File "/src/getcontact/requester.py", line 58, in send_request_encrypted
return self._send_post(url, json.dumps({"data": self.cipher.encrypt_AES_b64(data)}))
File "/src/getcontact/requester.py", line 52, in _send_post
response = requests.post(url, data=data, headers=self.headers)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 116, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(107, 'Transport endpoint is not connected'))
Building docker container hangs on tzdata asking which region to setup
Dockerfile should be fixed:
RUN export DEBIAN_FRONTEND=noninteractive
RUN ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime
RUN apt-get install -y tzdata
RUN dpkg-reconfigure --frontend noninteractive tzdata
these lines should be added before
RUN apt-get -y install tesseract-ocr
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
sudo docker run -t getcontact -p +792910453XX
Desktop (please complete the following information):
Log
sudo docker run -t getcontact -p +792910453XX
/usr/local/lib/python3.8/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.2) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Captcha is detected.
Traceback (most recent call last):
File "./src/main.py", line 26, in <module>
getcontact.print_information_by_phone(phone)
File "/src/getcontact/getcontact.py", line 94, in print_information_by_phone
data = self.get_information_by_phone(phone)
File "/src/getcontact/getcontact.py", line 85, in get_information_by_phone
result_name = self.get_name_by_phone(phone)
File "/src/getcontact/getcontact.py", line 19, in get_name_by_phone
response = self.requester.get_phone_name(phoneNumber)
File "/src/getcontact/requester.py", line 146, in get_phone_name
return self.send_req_to_the_server(
File "/src/getcontact/requester.py", line 121, in send_req_to_the_server
is_ok, response = self.send_request_encrypted(url, payload)
File "/src/getcontact/requester.py", line 66, in send_request_encrypted
return self._send_post(
File "/src/getcontact/requester.py", line 62, in _send_post
return self._parse_response(response)
File "/src/getcontact/requester.py", line 95, in _parse_response
from getcontact.decode_captcha import CaptchaDecode
File "/src/getcontact/decode_captcha.py", line 6, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
tesseract is not installed or it's not in your path
Я все сделал нормально кроме тесеракта, он поставлен и стоит в энве и то сделано на костылях
( Я НЕ ПИТОНЕР, Я НЕ ШАРЮ ЗА НЕГО )
Add tesseract and pytesseract
hi kovin,
amaze how you can find the encryption key. i tried to decompile using jadx, but still very hard to read the code.
May i know what is your decompiler tools?
Ку, не могу найти AES KEY, в файле, нашел только токен обычный, а приват ключ обез?
before I run it works, but when it's 3x requests it outputs input like this...
Captcha is detected.
Captcha is detected.
Captcha is detected.
Captcha is detected.
Captcha is detected.
Captcha is detected.
so how we can run again?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.