Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect parsing results for proxies with username and password #17

Open
trewqqwert opened this issue May 31, 2022 · 0 comments
Open

Comments

@trewqqwert
Copy link

trewqqwert commented May 31, 2022

Hi Matrix Team,

I am a user of MHDDoS and I would like to use my private proxies requiring basic authentication. It seems that both ProxyUtiles.parseAllIPPort and ProxyUtiles.parseNoraml are returning incorrect results.

Example:
Input

http://1.2.3.4:5678@username:password

Syntax from MatrixTM/MHDDoS#243 (comment)
Output
parseAllIPPort returns None.
parseNoraml returns

{Proxy} http://1.2.3.4:80:5678@username:password
 country = {str} 'AU'
 host = {str} '1.2.3.4'
 password = {str} 'password'
 port = {int} 80
 type = {ProxyType} ProxyType.HTTP
 user = {str} '5678@username'

I am not an expert of regex. Could you kindly have a look at this issue please? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant