Hi, today we are going to talk about what to do if you have not yet saved up for a normal solution like IM KLO, the thought of buying Keitaro and setting up filters makes you despondent, but the dream of pouring cockscreams on Asia does not leave you even in your dreams✨
What to do, what to do. The cloaca, of course. But certainly not from scratch.
The necessary set of skills to pull off all of the following: the ability to edit text in Notepad and copy files.
So, where do the roots of our solution come from? One day on the Internet (or rather on a good forum BlackHatWorld) I found a script that is widely known in narrow circles called "Binomo cloaker". Who is the author of this script, as well as why its name is so similar to the name of the familiar tracker- I don't know. If you know, write in the comments.
At the time, I was casting a "Popkees panty set" offer ?with Facebook, and FB really didn't like the abundance of naked asses on my weblogs. Tracker I did not have, and the tapes were hosted on a free McHost tariff (let me tell you right away that will need hosting PHP-enabled). Since I had good coding skills, I rolled up my sleeves and dug into the guts of the script, in order to modify it to the current realities. What can this thing do at the moment?
- Cloaking WITHOUT redirects, by uploading files
- Detects visitor's ip and country (geo-base for January 2019)
- Defines the OS and UserAgent of the user
- Can filter out visitors based on the presence/absence of Referer
- Can do a simple A/B test of the landing pages
- Keeps records of visitors in a text file (writes IP, country, UserAgent, etc.)
- Contains the IP base of FB bots, collected from scratch, sorted and more or less good
Now, how to live with it all. For the simplest version of the work we need to download two things to your computer: your landing page and whitepage. I hope to tell you where to get whitepage, don't you?
Great, next we need to merge the landing files, whitepage and everything from the cloaca script archive: create a new folder and copy the cloaca there first. Then create subfolders white and land in it and copy your White and banding accordingly.
It remains to set up the cloaca! Open the file index.php in any text editor: it is better not to break the eyes, with code highlighting, such as Notepad++But if you're lazy, the good old Notepad will do just as well.
In general the code is well commented, if you suddenly know PHP, you will not be difficult to understand, but if not, I'll tell you all about it ?
The cloaca has two modes of operation: full и regular. Full - is when ALL visitors are sent to the whitepage. I used it just in case when going through moderation. If you want to do the same, then don't forget to switch to regularor you'll get poured into the dumpling room!
Plain is when the traffic is allocated depending on the rules. By default, it is enabled, and when you want to switch to full, change the zero to one in this line:
В regular We can set up different rules in the mode below.
Next, we specify the OS we're pouring to. For example, if we are only pouring mobile traffic, then remove everything inside the quotation marks except iOS and Android. If we are pouring both PC and mobile, you can leave everything as it is.
Then specify a comma separated list of the countries to which we are pouring. We specify the countries two-letter abbreviations comma separated.
If you have your own set of bots, or if you just want to disable a couple of unnecessary ip, then add them separated by commas in the line where it says ip_black, but if the list is large, it is better to open in a text editor file bots.dat and shove your list there.
Now here's a little something extra: all visitors to the site will be written to a file visitors.csv, You can open it directly in your browser and see who came in from where. It also contains information about the sub-tags of the link where the user came from.
In the screenshot red highlighted filtered visitor (in this case - bot), it can be identified by a number 1 in the corresponding column + after the one it says why the visitor was filtered: he has an unknown OS and the wrong GEO. When you will be banned (and they will, it's still not a commercial solution), then you can open this file and take the IPs of the last callers and add them to the file bots.dat, For before the ban, moderators usually come in.
The advantage number two: if you suddenly want to use not a single landing, and do A / B testing of several, then all you have to do is to fill each of them in a separate folder, and write the names of these folders, separated by commas in the appropriate line:
$black_folder_name = 'land1,land2,land3';
Traffic will each time randomly go to one of the specified landing pages, evenly distributed between them.
It's just a matter of checking the functionality of the Frankenstein. Upload our entire folder to hostingWe go to the site - it should load the landing page. To check how the cloak works, we do a simple manipulation: find your ip address by google query and directly on the hosting add your ip on the line where it says ip_black
Do not forget to save the file. Now go to the site - it should load whitepage. It works!
That's all, successful cloaking, pour in the plus, gentlemen, and write in the comments, how many leads you managed to pour using this script!
Also, don't forget that The project exists only because of your donations!
P.S. The latest version of the script is always available on GitHubAnd if you want to contribute to the cause, you're welcome!