Blaine0002 Posted October 13, 2007 Share Posted October 13, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/73110-callhomes-how/ Share on other sites More sharing options...
MasterACE14 Posted October 13, 2007 Share Posted October 13, 2007 if they download your scripts from your website, why not make a form they can put their e-mail address, and website address into prior to downloading? And I haven't heard of a callhome script or whatever either Regards ACE Quote Link to comment https://forums.phpfreaks.com/topic/73110-callhomes-how/#findComment-368828 Share on other sites More sharing options...
corbin Posted October 13, 2007 Share Posted October 13, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/73110-callhomes-how/#findComment-368834 Share on other sites More sharing options...
Blaine0002 Posted October 14, 2007 Author Share Posted October 14, 2007 (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. Quote Link to comment https://forums.phpfreaks.com/topic/73110-callhomes-how/#findComment-368921 Share on other sites More sharing options...
corbin Posted October 14, 2007 Share Posted October 14, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/73110-callhomes-how/#findComment-368924 Share on other sites More sharing options...
Blaine0002 Posted October 14, 2007 Author Share Posted October 14, 2007 Thanks for the help! I have no need to look for an illegal version of vbulletin because i own a legal license. Quote Link to comment https://forums.phpfreaks.com/topic/73110-callhomes-how/#findComment-368953 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.