mirror of https://github.com/lanjelot/patator
Update mysql connect parameter
Hello there, I really like patator and just ran into the issue when trying to bruteforce `mysql_logins`, that the following error occurred: ``` <class 'TypeError'> 'passwd' is an invalid keyword argument for connect() ``` I checked the mysqlclient repo (stated in your dependency list) -> there it is written that `passwd` is deprecated (https://github.com/PyMySQL/mysqlclient/blob/main/MySQLdb/connections.py#L65). However in this line https://github.com/PyMySQL/mysqlclient/blob/main/MySQLdb/connections.py#L154 they are still setting it. If I change the parameter in your script from `passwd` to `password` it works accordingly. I hope this helps - keep the work up. Cheerz,pull/172/head
parent
e48316728f
commit
8eae3b42a3
Loading…
Reference in New Issue