Hello, today we’ll talk about what to do if you haven’t 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 dick creams on Asia doesn’t leave you even in your sleep✨

What to do, what to do. Cloaca, damn it. But, of course, not from scratch.

The necessary set of skills to do everything described below: the ability to edit text in Notepad and copy files.

So, where do the legs of our solution come from? Once upon a time on the Internet (or rather on a good forumBlackHatWorld) I discovered a script widely known in narrow circles called “Binomo cloaker”. Who is the author of this craft, and why its name is so similar to the name of everyone familiartracker— I don’t know. If you know, write in the comments, plz.

At that moment, I was pouring the “Popkees panty set” offer from Facebook, and Facebook really didn’t like the abundance of naked butts on my landing pages.TrackersI didn’t have one, and the landing pages were hosted on Makhost’s free plan (I’ll say right away thatwill be requiredhostingwith PHP support). Since I had a good coding skill, I rolled up my sleeves and got into the inside of the script in order to update it to current realities. What can this thing do at the moment?

— CloakingWITHOUT redirects, by uploading files

— Determines the ip and country of the visitor (geobase as of January 2019)

— Determines the OS and UserAgent of the user

— Can filter out visitors depending on the presence/absence of a Referer

— Can conduct a simple A/B test landing pages

— Keeps records of visitors in a text file (writes IP, country, UserAgent, etc.)

— Contains the IP database of Facebook bots, collected from the world one by one, sorted and more or less usable

Now how to live with all this. For the simplest version of work, we will need to download two things to our computer: your landing page andwhitepage. I hope to tell you where to get itwhitepage, no need?

Great, next we need to merge the landing page files,whitepageand everything from the sewer script archive: create a new folder and copy the sewer there first. Then we create subfolders white and land in it and copy yourwhiteand landing page respectively.

All that’s left to do is set up the cesspool! Open the index.php file in any text editor: it’s better, so as not to break your eyes, with code highlighting, likeNotepad++, but if you’re lazy, then the good old Notepad will do too.

In general, the code is well commented, if you suddenly know how to use PHP, then it will not be difficult for you to figure it out, but if not, then I’ll tell you everything now?

The cloaca has 2 operating modes:fullAndordinary. Full— this is whenALLvisitors go towhitepage. I used it just in case when going through moderation. If you want to do the same, then do not forget to switch toordinary, otherwise you’ll pour it into the dumpling shop!

Ordinarysame — this is when traffic is distributed depending on the rules. By default it is enabled, and when you need to switch to full, change the zero to one in this line:

Клоакинг для бедного, но умного арбитражника, изображение №1

INordinarymode, we can set various rules, more about them below.

Next, we indicate the OS we are downloading to. For example, if we only send mobile traffic, then we remove everything inside the quotes except iOS and Android. If we are pouring both PC and mobile, then you can leave everything as is.

Клоакинг для бедного, но умного арбитражника, изображение №2

Then we indicate, separated by commas, the list of countries to which we pour. We indicate countriestwo letter abbreviationsseparated by commas.

Клоакинг для бедного, но умного арбитражника, изображение №3

If you have your own set of bots, or you just want to disable a couple of unnecessary ips, then add them separated by commas in the line where it says ip_black, but if the list is large, then it’s better to open the file in a text editorbots.dat and put your list there.

Клоакинг для бедного, но умного арбитражника, изображение №4

Well, finally, you can enable the rule so that users with emptyreferrerwere sent towhitepage. To enable it, change 0 to 1 in the line from the screenshot, but first think about whether you need it.

Клоакинг для бедного, но умного арбитражника, изображение №5

Now a small bonus number one: all site visitors will be recorded in a filevisitors.csv, you can open it directly in the browser and see who is coming in and from where. There, among other things, information is written about the sub-tags of the link through which the user came.

Клоакинг для бедного, но умного арбитражника, изображение №6

On the screen, the filtered visitor (in this case, a bot) is highlighted in red; it can be identified by the number 1 in the corresponding column + after this one it is written why the visitor was filtered: he has an OS unknown to us and an incorrect GEO. When you are banned (and they will ban you, this is still not a commercial decision), you can open this file and take the IP addresses of the last users who visited and add them to the filebots.dat, because before a ban, moderators usually come in.

Bonus number two: if you suddenly want to use more than one landing page, but do A/B testing of several, then all you need to do is put each of them in a separate folder, and write the names of these folders, separated by commas, in the corresponding line:

$black_folder_name = ‘land1,land2,land3’;

Traffic will each time randomly go to one of the specified landing pages, evenly distributed between them.

All that’s left to do is check the functionality of the resulting Frankenstein. We upload our entire folder tohosting, go to the site — landing page should load. To check how cloaker works, let’s perform a simple manipulation: find out your IP address by searching the appropriate Google and directly tohostingadd your ip in the line where it says ip_black

Клоакинг для бедного, но умного арбитражника, изображение №7

Don’t forget to save the file. Now go to the site — it should loadwhitepage. Works!

That’s all, successful cloaking, give a plus, gentlemen, and write in the comments how many leads you managed to generate using this script!

And also do not forget thatthe project exists only thanks to your donations!

P.S. The latest version of the script is alwayscan be found on GitHub, and if suddenly you want to contribute to the common cause — welcome!