-1

I Have A Code Which Has been encrypted by IONcube and i really couldnt decode it to see the regular codes i just wanted to remove the footer which contained software copyrighted . i just paid for the script but i didnt wanted the copyrighted so far i removed it with display=none code in css for the main page but i still have a problem my script is a mail script which send mail to the users in the footer of the mails layout i still have the copyright and i want it to be removed i found that the layout of the mail theme is in index.php file which is encrypted . how can i remove it from there ? is there any additional code u suggest ? can i still use css but in the index.php code ? the div of mail which i found it by " inspect element " option on firefox is :

style="font-size:7pt;text-align:center
Dexture
  • 976
  • 1
  • 11
  • 29

2 Answers2

0

If you know the Id of the element you could hide it with css using the property "display:none".

But there is a legal question here. Are you sure you can remove the branding? Ask the seller about it.

Donnie Rock
  • 552
  • 1
  • 14
  • 27
  • 1
    The OP is asking about removing content from an HTML email sent by the encoded script. JavaScript won't work. – DCoder Feb 18 '14 at 11:09
0

In fact it should be possible assuming that the footer is the same in all files but of course you need to be sure you can do this and check your agreement. If you buy script you should always add that you want unencrypted source but it can make this script will be 2 or more times expensive.

Source of output of encrypted file is:

<html>
<head>
</head>
<body>
4<br />4294967296<br />65536<br /><div id="footer">This is custom footer</div>
</body>
</html>

So there's a footer in this file which we want to remove.

You need to create .htaccess file in the root directory of your project with content:

php_value auto_prepend_file prepend.php
php_value auto_append_file append.php

In prepend.php you have to put:

<?php

ob_start();

In append.php you have to put:

<?php
   $content = ob_get_contents();
   ob_clean();

   mb_internal_encoding('UTF-8');



   echo str_replace(
     '<div id="footer">This is custom footer</div>
</body>',
'', 
$content
   );

Source of the encrypted file when you run it in browser is now:

<html>
<head>
</head>
<body>
4<br />4294967296<br />65536<br />
</html>

So the footer of file has been removed.

Marcin Nabiałek
  • 109,655
  • 42
  • 258
  • 291