Compdigitec Labs

Internet

WordPress author email blacklist patch

Friday, August 29th, 2008

If you’ve ever needed to block a single comment spammer using multiple IPs, referrers and urls, but the same email, here’s a patch for WordPress 2.5. This patch is released under the GNU General Public License. Add the following code to wp-comments-post.php after the line “$comment_content      = trim($_POST[‘comment’]);” (line 30 on v2.5): // ****** Start of comment email patch by Compdigitec ****** $name = […]

Latest comment spammers on Compdigitec Labs

Monday, August 25th, 2008

A list of recent comment spammers for you to check IPs against. Note that the actual comment or the link spammed is not provided because it either may be copyright violation or the sites may be harmful or is an bad exploit website. IP 142.32.208.234 using email d62s_test469@hotmail.com. Spammed on 2008-08-17 21:16:21 GMT. Spam consisted […]

Changing the user agent of PHP

Wednesday, August 20th, 2008

If you ever need to adjust or change the default user agent that PHP accesses pages with (http and ftp wrappers) because either the default PHP user agent was blocked (“PHP”) or you wrote a bot with PHP and wish to customize it, you can do so easily with a php directive called “user_agent”. Note […]

Parsing text files in PHP with FlatfileTools

Wednesday, August 13th, 2008

Compdigitec FlatfileTools is a API written in PHP to manipulate, read and modify plain text databases. It can also manipulate existing databases, such as CSV files. It is released under the GNU General Public License and therefore is free software. To use it, download Compdigitec FlatfileTools. Then include_once it like this: <?php include_once(‘flatfiletools.lib.php’); // The rest of your code goes here… ?> […]

Very Suspicious Internet Robots

Wednesday, July 23rd, 2008

So far we have come across some very strange and suspicious robots hitting our site; we have identified them for you here. Feel free to use this information to block these suspicious robots from hitting/scraping your website. OOZBOT/0.17 (–; http://www.setooz.com/oozbot.html; pvvpr at iiit dot ac dot in) This bot tried to access only the home […]

Next Entries »