elceef / dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
https://dnstwist.it
Apache License 2.0
4.73k stars 753 forks source link

Warning error upon execution of "dnstwist" on MacOS Sonoma 14.4 #216

Closed zamunda68 closed 2 weeks ago

zamunda68 commented 3 months ago

The following error/warning appears when I execute any command (like "dnstwist --help" for example):

/opt/homebrew/Cellar/dnstwist/20240116_1/libexec/bin/dnstwist:296: SyntaxWarning: invalid escape sequence '(' b'url([^)]+)': b'url()', dnstwist 20240116 by marcin@ulikowski.pl

As you can see, dnstwist was installed via brew.

Can you please review it? It does not seem to affect the proper functionality, however.

AndrewTapp14 commented 3 months ago

Same for me running on Windows, can't currently do anything.

@elceef Your help would be appreciated.

elceef commented 3 months ago

Thank you for reporting. I just fixed this issue in commit 47ffb6620239e1b14b60746b8f853dbc619171e6.

elceef commented 3 months ago

@zamunda68 You need to manually replace dnstwist.py with the latest version until brew formulae is updated.

AndrewTapp14 commented 3 months ago

Many thanks for that, all working as expected with that version.