another-freak Posted September 22, 2006 Share Posted September 22, 2006 Hey people!I have got this strange php script (part of it) which seemed to report backto the originator of the program with its license key!Am I wrong?$isSent = getSqlField("SELECT * FROM probid_gen_setts","addr_val");if ($isSent != 1) { $refsite=getenv("HTTP_REFERER"); $lkey = getSqlNumber("SELECT * FROM probid_gen_setts","lkey"); mail ("admin@abc.com","New Installation - ".date("M. j, Y",time()), "A new installation was reported on: License Key: $lkey Admin Email Address: $setts[adminemail] Server IP: $_SERVER[SERVER_ADDR] Site URL: $_SERVER[SERVER_NAME] Request URI: $_SERVER[REQUEST_URI]","From: noreply@abc.com <noreply@abc.com>"); $updAddr = mysql_query("UPDATE probid_gen_setts SET addr_val=1");} Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/ Share on other sites More sharing options...
.josh Posted September 22, 2006 Share Posted September 22, 2006 well, yeah, at face value, with what you've shown, that'd be my guess too. Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-96667 Share on other sites More sharing options...
another-freak Posted September 22, 2006 Author Share Posted September 22, 2006 [quote author=Crayon Violent link=topic=109059.msg439345#msg439345 date=1158929466]well, yeah, at face value, with what you've shown, that'd be my guess too.[/quote]Is it safe to remove that? Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-96672 Share on other sites More sharing options...
ober Posted September 22, 2006 Share Posted September 22, 2006 You can remove it and see if it works... if it doesn't, stick it back in. Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-96675 Share on other sites More sharing options...
.josh Posted September 22, 2006 Share Posted September 22, 2006 how about...changing the target email to your own email. Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-96679 Share on other sites More sharing options...
another-freak Posted September 22, 2006 Author Share Posted September 22, 2006 [quote author=Crayon Violent link=topic=109059.msg439357#msg439357 date=1158930196]how about...changing the target email to your own email.[/quote]Yes SIR! I will try! Many thanks! ;D Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-96682 Share on other sites More sharing options...
another-freak Posted September 27, 2006 Author Share Posted September 27, 2006 Hello brothers!I have not tried altering the program as it was installed by the software writer;just worried about infringing their "copyright".I accidentally discovered this little script and now I wonder how many of those *.phpfiles are embeded with this little spy program. So, naturally my question will behow to search them out since there are hundreds of files the folders.Any client program that can do the job?Next I am wondering is this script illegal? I am a license holder.Is my privacy infringed in this case?Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-99430 Share on other sites More sharing options...
.josh Posted September 27, 2006 Share Posted September 27, 2006 there is no way we can even begin to tell anything about this script unless we see code (please don't go posting hundreds of files). i suppose you could write a script that searches for things like everywhere a global is used, things like the mail function is used, url addresses, etc.. but when it comes right down to it, your going to have to look at it and determine for yourself whether it's a "spy" thing. Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-99663 Share on other sites More sharing options...
kenrbnsn Posted September 27, 2006 Share Posted September 27, 2006 If you are concerned about the information that is being returned to the seller of the product, why don't you contact them to find out what they do with the information collected.Reading the code, the information is sent back once the first time the script is run after a new installation. My guess is that the information is being used to track installations of the product and to make sure noone is selling copies which all use the same license code.Did you find the code before or after you ran the script?Ken Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-99685 Share on other sites More sharing options...
onlyican Posted September 27, 2006 Share Posted September 27, 2006 If you use DreamWeaver, you can search strings in foldersSO navigate to the root of this scriptThen search a unique string like"A new installation was reported on: Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-99825 Share on other sites More sharing options...
Caesar Posted September 27, 2006 Share Posted September 27, 2006 Doesn't look like a "spy" program but, more like a way to keep track of installations. If it's licensed software, then I imagine they would like to know who is installing it. I do think it is quite dumb to do, if that code is not in an encrypted file somewhere. The fact it can be removed..... Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-99834 Share on other sites More sharing options...
onlyican Posted September 27, 2006 Share Posted September 27, 2006 The best tracker I saw was one that required a class from a third party siteSo you did not have the code in there, there was a weird protected, that it could be used, but the code could not be shown from itFor all we know, inside that class could be a function TrackThis Quote Link to comment https://forums.phpfreaks.com/topic/21655-a-php-spy-program-from-software-writers/#findComment-99836 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.