|
|
|
|
How To Hack Handy PHP Search Results (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: How To Hack Handy PHP Search Results
|
msieurx (User)
Fresh Boarder
Posts: 1
|
|
How To Hack Handy PHP Search Results 5 Months, 3 Weeks ago
|
Karma: -1
|
1 - open /path_to_your_joomla/plugins/search/fireboard.searchbot.php
2 - delete lines 92 to 98
| Code: |
$HPtitle = "Handy PHP";
$HPtext = "Handy PHP offers scripts, discussions, tutorials, answers, and other resources for PHP. This includes a growing number of resources for the Joomla! - Content Management System. Your ideas and questions are always welcome. Thank you.";
$HPsection = "Joomla! & PHP Resources";
$HPhref = "http://www.handyphp.com/";
$HPcreated = "";
$HPkeywords = "PHP, MySQL, JavaScript, HTML, XHTML, XML, CSS, Cascading Style Sheets, Joomla!, Tutorials, Functions, Scripts, Code, CMS, Content Management Systems, Forums, SMF, phpBB, Mambo, SearchBot, DocMan";
$HPbrowsernav = 1;
|
3 - delete lines 115 to 132
| Code: |
$database->setQuery( "INSERT IGNORE INTO `#__handy_php` ("
. "\n `title`,"
. "\n `text`,"
. "\n `section`,"
. "\n `href`,"
. "\n `created`,"
. "\n `keywords`,"
. "\n `browsernav`"
. "\n ) VALUES ("
. "\n '$HPtitle',"
. "\n '$HPtext',"
. "\n '$HPsection',"
. "\n '$HPhref',"
. "\n '$HPcreated',"
. "\n '$HPkeywords',"
. "\n '$HPbrowsernav'"
. "\n ) "«»);
$database->query();
|
be happy...
PS : Don't do open source if you do for promotion.<br><br>Post edited by: vujsa, at: 2008/04/22 03:33
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
vujsa (Admin)
Admin
Posts: 139
|
|
Re:How To Hack Handy PHP Search Results 5 Months, 2 Weeks ago
|
Karma: 4
|
|
You know, I spent a lot of time working on various extensions for people to use for free. Up to this point, I have not in any way made any attempt to hide or encrypt the code I use nor have I used a license for the scripts that would prevent the type of "hack" you explain here.
If I want to add a small section or two of code which will display a link back to my website, it is my right to do so. If you don't like the code the way I wrote it, you are free to change it however you like or you can simply not use it! I really don't care. This website generates a very small amount of revenue used for expenses incurred by most websites from the ads displayed. The ads require traffic and the credit links provides the traffic. For the vast majority of webmasters, turning the SearchBot to relative credit link only will eliminate the link altogether. Only searches that are related to the content on Handy PHP will return the credit link.
There is even a topic here that explains how to use the credit link for relative searches only.
So, to again prove that this project is actually open source and that anyone may modify the code for the scripts in question, I am leaving this topic here with an edit to remove the foul language used by the topic starter.
I will add this one last thought. Most people never even come to this website since BestOfJoomla saw fit to host the script on their server instead of directing users to my download area. As a result, future releases of all Handy PHP scripts will contain a serial number and that serial number must be activated here for free. Additionally, future releases will be encrypted and a separate key will be available for purchase to remove the unwanted credit link.
So, next time you go to someone's website and try to trash their work, try to be in the right before you do so and don't use foul language. This topic has made the decision to move away from "Open Source" source an release my future work under a commercial license!
By the way, if you perform the hack mention here, I highly recommend that you backup the original files before doing so since this user's version and server settings may differ from yours.
Thank you,
vujsa
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
|
|
|
|