Re: Beneficial site spamming framework
| From: | Ashley Sheridan | Date: | Thu, 11 Oct 2012 20:18:49 +0000 |
| Subject: | Re: Beneficial site spamming framework | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319423@lists.php.net to get a copy of this message | ||
Joshua Kehn <josh@kehn.us> wrote:
>while true; do curl -X POST --data "field=value&field1=value1"
>http://myblog.com/comment.php; done
>
>Best,
>
>–Josh
>____________________________________
>Joshua Kehn | @joshkehn
>http://joshuakehn.com
>
>On Oct 11, 2012, at 4:07 PM, Paul M Foster <paulf@quillandmouse.com>
>wrote:
>
>> Folks:
>>
>> I've been getting spam comments on my personal blog (runs on
>> self-written PHP blog software). I'd like to test some methods I've
>> devised to prevent or block it. Does anyone know of a very
>lightweight
>> framework for simulating an automated "form fill-out" on a site?
>> Something where you could just add some code to designate the site
>for
>> the "attack" and then what fields you wanted to send?
>>
>> This should be a relatively simple task for PHP and curl, but I'm not
>> really familiar with the headers and that part of the HTTP
>conversation.
>> Yes, I know this is a risky question for a public list. Feel free to
>> contact me privately if you think the answer shouldn't be in the
>> archives of a public list. Likewise, if you can point me to a source
>of
>> quickly absorbable research on the subject. I frankly don't know how
>I'd
>> google such a thing.
>>
>> Paul
>>
>> --
>> Paul M. Foster
>> http://noferblatz.com
>> http://quillandmouse.com
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
To avoid having to create your own anti-spam system, I recommend Akismet, which weights posts
allowing you to set a rejection threshold. The great thing is that it is constantly improving over
time.
--
Sent from my Android phone with K-9 Mail.. Please excuse my brevity.