megadose/holehe

Fresh Install does not work in CLI: error syntax in samsung

k-sartor opened this issue · 0 comments

Hi everyone,
i try to use the soft from a fresh install on CentOS but when i run the command holehe from cli, here is the answer:
Twitter : @palenath
Github : https://github.com/megadose/holehe
For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ
Traceback (most recent call last):
File "/usr/local/bin/holehe", line 33, in
sys.exit(load_entry_point('holehe==1.61', 'console_scripts', 'holehe')())
File "/usr/local/lib/python3.6/site-packages/holehe/core.py", line 226, in main
trio.run(maincore)
File "/usr/local/lib/python3.6/site-packages/trio/_core/_run.py", line 1932, in run
raise runner.main_task_outcome.error
File "/usr/local/lib/python3.6/site-packages/holehe/core.py", line 199, in maincore
modules = import_submodules("holehe.modules")
File "/usr/local/lib/python3.6/site-packages/holehe/core.py", line 46, in import_submodules
results.update(import_submodules(full_name))
File "/usr/local/lib/python3.6/site-packages/holehe/core.py", line 44, in import_submodules
results[full_name] = importlib.import_module(full_name)
File "/usr/lib64/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 674, in exec_module
File "", line 781, in get_code
File "", line 741, in source_to_code
File "", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.6/site-packages/holehe/modules/products/samsung.py", line 90
if found := re.search(phone_number_pattern, req.text):
^
SyntaxError: invalid syntax

Any ideas?
Thank you