Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

help please with hiding .php code

djwayne1985

Banned
Banned
Ext. Member
Joined
Sep 18, 2019
Messages
378
Reaction score
1,918
Points
104
Location
UK
hi can anyone tell me please how do i hide the dns info of a .php file please this is for the smarters v2.1 app the .php code is as follows

<?php
$_POST['dt'];

echo '{"status":true,"su":"http:\/\/DNS:8080","sc":"","ndd":""}';

?>
 
Last edited:

GeekItTillItMhz

Extended Member
Ext. Member
Joined
Oct 23, 2019
Messages
39
Reaction score
70
Points
29
Location
NW, USA
PHP Source Code Protection Techniques

The PHP application in the client's server needs 2 kinds of protection:

  1. Prevent reading and modifying the application's source code
  2. Prevent redistribution of the entire application

The first measure to make the source code more difficult to read is the "minification". Removing the comments, white space and line breaks significantly reduces readability. However, it is not a problem to write a small script to reformat minified code to make it readable. The mnemonic identifier names are still informative enough to understand the code with some effort.

Another measure that may help here is obfuscation. Renaming the identifiers with random names makes the source code very hard to understand, alter or use.

The minified and obfuscated source code can still be copied and installed in any other server. So, the application must be locked to the client's site to prevent redistribution. There are several options for the locking the source code using: server IP address, site domain name, a specific URL, hardware (MAC) address. The application must include necessary functionality to verify the lock criteria before performing any actions.

PHP Source Code Protection Solutions

Basically there are 3 types of PHP code protection solutions: minifiers, obfuscators, and encoders.

Minifiers

Minifiers remove parts of the source code text that are not necessary. There are minifiers that take advantage of the PHP tokenizer to parse the source code into token values. The source code is rebuilt stripping the comments and whitespace.

The minified source code often needs further scrambling which can be performed either by encoding or obfuscation. The simplest encoding method is to use the base64_encode() and eval() functions to the minified source code or to use some encryption.

It is easy for any competent PHP programmer to decode a minified PHP script to view the original source code.

Obfuscators

An obfuscator turns regular PHP source code into an equivalent version that is harder to understand.

The most reliable way to build a lightweight obfuscator is to parse the source code lexically, replace the identifiers with meaningless names, and then rebuild the PHP source code. That must be done across all source code files including also the templates. Therefore many online tools are not suitable for this purpose because they process only individual scripts.

Encoders

Encoders compile PHP source code into Zend opcodes and store the result in files that replace the original PHP source files.

Some commercial encoders are very good but may require a loader extensions to load and execute the encoded PHP code. They often use encryption algorithms with secret keys to make it harder to extract the original Zend opcodes from the encoded PHP file.

Different Loader versions are supplied depending on the Web server but the customers may not want to (or cannot) install them.

Some encoders may provide optional locking features. The locking code is built in the encoded source and the check is made during the execution.


Source

Free Obfuscator : https://www.phpencode.org
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

jafo666

Extended Member
Ext. Member
Joined
Oct 28, 2019
Messages
196
Reaction score
1,786
Points
104
Location
Uk
I believe as long as you have your ht access file correct then no one will be able to view it anyway, php files are ran server side so not normally visible to people anyway.
 

techker

Extended Member
Ext. Member
Joined
Sep 26, 2019
Messages
158
Reaction score
336
Points
74
Location
mtl
true, php code is server side.the only way to view it is to have a way to rip the file from the server and download it local..you can Zend it..
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

pcpaul

Extended Member
Ext. Member
Joined
Oct 26, 2019
Messages
347
Reaction score
1,790
Points
104
Location
Earth
Put the real DNS through a ddns server to change what's seen
 

pcpaul

Extended Member
Ext. Member
Joined
Oct 26, 2019
Messages
347
Reaction score
1,790
Points
104
Location
Earth
I believe as long as you have your ht access file correct then no one will be able to view it anyway, php files are ran server side so not normally visible to people anyway.
You'd be surprised what people can see if they realy want to lol once you know how to use a sniffer on a app it tells you where and what it's looking for put that in a browser and wholla the output of the file is there for all to see
 
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock