WMAT is Web Mail Auth Tool that provide some essential functions for testing web mail logins, written in python with support of pyCurl.
How it works?
It is very simple, You give WMAT file with usernames, file with passwords, URL of web mail app and chose pattern for attack. Patterns are XML files that define post/get fields, http method, referer, success tag, etc … for each web mail applications.
There are currently patterns for horde, squirrelmail, kerio and mdaemon web mail.
The XML pattern files look like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
--- horde.wmat.xml --- <xml version='1.0' encoding='UTF-8'> <data> <username>horde_user</username> <password>horde_pass</password> <action_url>login.php</action_url> <success>sidebar.php</success> <method>post</method> <useragent></useragent> <referer></referer> <additional_fields></additional_fields> <author>ivan.markovic@netsec.rs</author> </data> ----------------------- |
The author of WMAT requests for help from the community with the patterns, the author of the pattern will be credited in the author field of the XML file.
There are some more options like setting timeout (time between each request), bell on success and option for writing output in file. More can be seen in the Readme file here.
For future versions the following additions are planned:
- using a proxy
- special addon for generation of usernames/passwords
- automatic recognizer of web app
You can download WMAT here:
Or read more here.
Godwyn says
I really want to know how this tool works and how to use it
guess it would be a very helpful tool
send9 says
Godwyn: How it works? Just download it and run it. It’s written in Python, so you can read the source all you want.
My question, though, is why this is limited to web mail. It looks like it can be pretty useful for brute forcing any form-based login.
Ivan Markovic says
@Godwyn, You have examples.
@send9, I will release new version very soon. One will be only for webmail (with many more options) and second one will be for brute forcing any form-based login.