Kiss those Spammers GoodBye!




Tagged Under : , , ,

Version: 12
Revision: 32 Build 11a

Kiss those Spammers GoodBye!


Introduction: When I was reading my favorite book, my “Compaq PDA” notified me for new readers who is / are commenting on my blog. But, what is annoying, most of these spammers are just a pain in the neck! They don’t know where to stop and they never gave other readers and myself any good comments or advice. All I’ve seen is rubbish comments that contains dangerous links and contents that are ridiculously useless!

So, from now on, if you want to be block these idiots, than look no further! Just add all of your nightmares into a text file and let the script block the numskull!
Also, if you are not a whiz in HTA script, you can use this as an alternative. No messing around with php, either!

Notes: this tutorial is only for Wordpress publisher and php user. Any other platforms that uses HTML, it will not work, unless, you made your server run like a hybrid engine.
To do this, you must consult this situation with your hosting provider.

1.] Copy this script and put it to your “header.php” file. However, it must be placed in – between your ‘header’ tags. Just choose one of these script and enjoy yourself…

Notes: the first script will “print” a notice for your Spammers.
Although, it’s a little funny when they see that.

The second script will redirect all spammers to Google!
Happy spamming…

<?php
$deny_ips = file('ip.txt',FILE_IGNORE_NEW_LINES);
$ip = isset($_SERVER['REMOTE_ADDR']) ? trim($_SERVER['REMOTE_ADDR']) : '';
if (($i = array_search($ip, $deny_ips)) !== FALSE){
print "Your IP address ('$ip') was blocked!";
exit;
}
?>
<?php
$deny_ips = file('ip.txt',FILE_IGNORE_NEW_LINES);
$ip = isset($_SERVER['REMOTE_ADDR']) ? trim($_SERVER['REMOTE_ADDR']) : '';
if (($i = array_search($ip, $deny_ips)) !== FALSE){
header("Location: http://google.com");
exit;
}
?>

2.] Save your progress and upload a text file with the correspondent IP addresses.
It must be written like this without white spaces.

321.21.1.1
23.122.12.2
91.214.45.89
77.222.131.40


Notes: you will only need to write one IP addresses – per line. Also, the file must be uploaded as: “ip.txt”. If not, just change your file-name from the php script and make it synchronize!

3.] Next, you will need to block hackers and spammers from looking at your text file.
All you need to do is add this script – straight into your HTA file. After that, just save it and upload it to your server.

Notes: you must delete your old “htaccess” file, just before uploading your new version.

<Files ip.txt>
  order allow,deny
  deny from all
</Files>

4.] Done!

When you have a new spammer / hacker, you can add your offender into a text file.
Easy as a cow, flying over a fence!

Copyrighted By Lair360




Uttorent – How to block IP addresses




Tagged Under : , , ,

Version: 13.2c
Revision: 11.2 Build 11c

Uttorent – How to block IP addresses

Introduction:
On Tuesday, I had this email from a college student. He asked me this question and I was a little shocked! The question which he told me, it is related to uTorrent – file sharing…

“When I am at home, I’ve notice some strange domains and IP address from a specific provider. However, some of them is a little suspicious. But, don’t worry about my file sharing – habit! I am only sharing my written novel – using Torrent websites. So, could you please write an article that can help me block / filter a range of IPs and other harmful torrent leeches?”

Answer: thanks for the short email. But, you got to know the rules! Sharing illegal files through torrents is very dangerous; un-healthy for your computer and privacy!
If you go beyond these road, then, there is no turning back!

Anyway, I am glad that you’re not sharing anything that is pirate / dangerous. So, here is a little reward for you to read and learn. But, please keep away from being an evil torrent user!

That is the GOLDEN rule in Cyber-Space!!

——————————-

Notes: this tutorial will only effect uTorrent v 1.8.3 or higher. So, please update your software before you read this article…

1.] Execute Uttorent and navigate yourself to these tabs and setting: “Options >> Preferences >> Advance”.

Notes: you can also press ‘Ctrl+P’ to open the Preferences dialog.

2.] Scroll down until you see “ipfilter.enable” and check if its value is set to “True”. If not, just select “ipfilter.enable” and change it.

3.] When you’re done, just exit Uttorent and copy this into “My Computer” – address bar. This is because, the actual folder is hidden from being alter / deleted by accident.
However, when you’re in there, please be very careful!

%appdata%\utorrent

4.] Download Notepad++ (notepad-plus.sourceforge.net) and create a file called: ipfilter.dat. After that, you can add a single IP address or a range of IP address.

5.] Save your progress and drag the following file (ipfilter.dat) to this location…

%appdata%\utorrent

6.] If you have uTorrent open, just click: “Reload IPFilter“. This can be found from your “Peer” tabs. That is all…

Notes: if you want to find out individual peer’s IP address, you can use this website / software to get the information.

http://www.dnsstuff.com

http://www.softpedia.com/get/Network-Tools/IP-Tools/IP-Lookup.shtml

7.] Done!

Copyrighted By Lair360