I´m trying to create an script to do fails logins in Joomla. I had a brutal force attack some days ago and the plugin Brutal Force Stop was failed, I have changed the database from MySQL to DynamoDB and I would like try if I can set many computers failing a login and if DynamoDB works fine.
Them, I have my own simple script to make a post with user and password:
mydata=[ ('username','sistemas'), ('password','fake'), ('return', "L2luZGV4LnBocA"), ('8c7b78172222114c616d844e7dd4a75e', "1"), ('url', 'aHR0cDovL3czLnRvdGFsY2hhbm5lbC5jb20vbG9naW4=') ] mydata=urllib.urlencode(mydata) path= "www.myweb.com/login.php" req=urllib2.Request(path, mydata) req.add_header("Content-type", "application/x-www-form-urlencoded") page=urllib2.urlopen(req).read() print page
This works fine in localhost with my php script. But when I do the real test I get nothing.
Someone know why? Maybe something of joomla 2.5?