Hallo Jungs,
kurze Story:
Ich will ein Support-Ticket-System installieren, dazu hab ich mir Hesk 2.2 ausgeguckt. Nun möchte ich denn Copyright-Hinweis im Footer-Bereich der Seite verändern.
Der ganze Mist steckt in der footer.inc.php:
PHP-Code:
<?php
/*******************************************************************************
* Title: Help Desk Software HESK
* Version: 2.2 from 9th June 2010
* Author: Klemen Stirn
* Website: http://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2010 Klemen Stirn. All Rights Reserved.
* HESK is a registered trademark of Klemen Stirn.
* The HESK may be used and modified free of charge by anyone
* AS LONG AS COPYRIGHT NOTICES AND ALL THE COMMENTS REMAIN INTACT.
* By using this code you agree to indemnify Klemen Stirn from any
* liability that might arise from it's use.
* Selling the code for this program, in part or full, without prior
* written consent is expressly forbidden.
* Using this code, in part or full, to create derivate work,
* new scripts or products is expressly forbidden. Obtain permission
* before redistributing this software over the Internet or in
* any other medium. In all cases copyright and header must remain intact.
* This Copyright is in full effect in any country that has International
* Trade Agreements with the United States of America or
* with the European Union.
* Removing any of the copyright notices without purchasing a license
* is expressly forbidden. To remove HESK copyright notice you must purchase
* a license for this script. For more information on how to obtain
* a license please visit the page below:
* https://www.hesk.com/buy.php
*******************************************************************************/
eval(gzinflate(base64_decode('BcFHkqNIAADA50x3cMCKgtiYAyC8ER6JywSgwgmPMMXrNxPuWf
dTXc1QdtkX/uTZClnm3xsW4xv+/BELzfj2jiAId+/CBjpsSH3S29BEQd80qq6nK1aHuizHvv3kcfpT97
SLxXBn1iTCzZAZh2OiuRsq5wJ30eRNtvpxbnHMtXb/jPAbFx+TIZFcnZ93ygmi01la39qfSzS5imo4Cq
1dw3Hea2nU5tjPCxxhabi1hkvOSIyFJOHlxM8J5ZpIQBJHWvBjcDCPRYpzd+0Ho2iZCwd1mh5UK3kVT0
fyR7iulZo32qn8vNVQpo3T4EGGK0V78o4b2jdMpVDLM42JO+Q8a8dcgOos+jsuT6xHf/qnYR4LIaQasQ
z0xYsqd5VdSErURjN42t8eWqjCbf7I5WpDZNuPivfeacayx6B1tHaj6mq6zm+BNv2bPvfEqZTETxHc1c
DKSWnj6llPsQ3YQfQ6H+O1OP2xCDlSgjg7GXZeajS+DzE3rs12zrDDmiikEmrhSEKZ9pMgEJQQaAOjOT
nQJhwg3Xli54xE5vuqvB3vgj3WXupIM8mre4wqd0tmrn333lfTVizXcc9j3R2AUlHSL9j4gbSWEWJE12
FABNLjjgEYT8B43VcuQDdZN6N0Uh0HRmKGwzHXjfDF9sTb0gj4tSLXLMkOWz9DnxP9nb7i8KoTQtitEJ
J1ttE8FpSLVcZ1xNpfz+qfLUzsRT5difjAhtWkbeKbHNjElx0Di84ENZHMLSeZBy2Njkhy2CJCe2qqMI
uWHKwizl9qdHJp9paDu0otKnIS/VlQxG7ErwznKzvlZ3HAjscssRGgicnliJJZstmq2IuSMF16+/GBF2
mpNnyq65OFnM4XbrIQ2vYoBpYbZvjpCaYOgito2sCHqhkGhKMAVsUWfxADyEt7LuevkD3aTETqqBwPxM
YfQ0DmAoYycBJoreZmDO/TpS8M3wF/cX///P7+/vc/')));
exit();
?>
decodiert man alles, sieht das dann so aus:
PHP-Code:
/* MODIFYING THIS CODE WITHOUT PURCHASING A LICENSE IS ILLEGAL! */
$OO0OO000O00OO000O0O0 = true;
if (file_exists(HESK_PATH . 'hesk_license.php')){
$OO0OO0O0O000O000O0O0 = (!empty($_SERVER['HTTP_HOST'])) ? $_SERVER['HTTP_HOST'] : ((!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'));
$OO0OO000O000O000O0O0 = str_replace('www.','',strtolower($OO0OO0O0O000O000O0O0));
include(HESK_PATH . 'hesk_license.php');
if (strpos($hesk_settings['license'],sha1($OO0OO000O000O000O0O0.'h3&Fp2#LaA&59!w(8.Zc]*+uR512')) !== false) {
$OO0OO000O00OO000O0O0 = false; }
else
{
echo '<p style="text-align:center;color:red;font-weight:bold;">INVALID LICENSE (NOT REGISTERED FOR '.$OO0OO000O000O000O0O0.')!</p>';
}}if ($OO0OO000O00OO000O0O0){
echo '<p style="text-align:center">
<span class="smaller">Powered by <a href="http://www.hesk.com" class="smaller" target="_blank" title="Free Help Desk Software HESK">Help Desk Software</a> HESK™</span>
</p>';}echo '</td></tr></table></div>';include(HESK_PATH . 'footer.txt');echo '</body></html>';
Soweit so gut...
Meine Frage jetzt, wenn ich den decodierten Sourcecode ändere, wie bekomme ich es wieder so codiert das es aussieht wie im ersten Spoiler?
Danke schon mal. :)