Jump to content

Recommended Posts

So i have been looking for a way to put something in the code i sell that allows me to track what domains they are being used on. I have asked around and i heard a callhome would be a simple way to do this without buying a large encoder or authentication system. I have googled around have found nothing on the subject, i know they are insecure and can be removed easily, but i would like to know how to do this.

Thanks :)

Link to comment
https://forums.phpfreaks.com/topic/73110-callhomes-how/
Share on other sites

Blaine0002, do you mean something along the idea of:

 

-php script connects to remote site

-remote site logs and authorizes script

-php script keeps running

 

If that's what you mean, then that's useless without encoding.....

 

It could also be a severe performance hit.

 

Anyway, I would look into fsockopen and headers or cURL.

Link to comment
https://forums.phpfreaks.com/topic/73110-callhomes-how/#findComment-368834
Share on other sites

(maybe they could be called callbacks?)

 

Something like that, yeah it could be useless, but thats debateable. Vbulletin dosent encode theirs.

 

but im just looking for a log that tells me what domains the code is being run on

 

 

Once i have that i can compare it to a database containing valid domains, and print out a table of valid domains and invalid domains and i can pursue the invalids isp or whatever.

 

Link to comment
https://forums.phpfreaks.com/topic/73110-callhomes-how/#findComment-368921
Share on other sites

it could be something as simple as:

 

function LogView() {
     $host = $_SERVER['HTTP_HOST'];
     if($f = @file_get_contents('http://yoursite.com/log.php?domain='.urlencode($host))) return true;
     return false;
}

 

You would of course need log.php to log the domain name.

 

Also, if you look around (I'm NOT encouraging this), you will see that you can easily find a cracked vBul copy.

 

Making a remote request like that can go horribly wrong if your site takes a while to respond....

 

Edit:

 

Oh, I forgot.... To file_get_contents() or fopen() a url, you have to have fopenurl set to On in php.ini.

That's not the actual setting name, but it's something like that ;p.

Link to comment
https://forums.phpfreaks.com/topic/73110-callhomes-how/#findComment-368924
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.