HObfus v2.04
Running Demos

In the hobfus folder that you installed in the installation page, there is a folder named examples, which contains HObfus demo pages. HObfus is preset in these demo pages, allowing you to observe how it works by opening them in your browser.

NOTE: If you no longer need the demo pages, you can delete the examples folder from your website. Deleting the examples folder does not affect HObfus.

Viewing demo pages in browser

To view demo pages, open hobfus/examples/index.php in your browser. You will see the menu of the HObfus demo pages, as shown below. Click a menu item to open it in another tab.

Demo Index Page
Viewing obfuscated code

HObfus obfuscates the HTML code generated by the demo PHP pages. Let's see how it is obfuscated. We will use the demo index page ( /hobfus/examples/index.php) as an example.

Open the demo index page in your browser if it is not opened yet.

1
Right-click the demo index page. A popup menu appears.
Right-click
2
Select View Page Source from the pop-up menu to see the page source in a new tab.
Click "View Page Source"
Viewing PHP source code

Now let's check out the original PHP source code of the demo pages. Open hobfus/examples/ in your file manager (not web browser!). You will find all the demo files here.

hobfus/examples/

Open demo files in a text editor to view the source code.

When you browse the demo PHP files, you may notice that in most of the files, the code is enclosed in HObfus_begin() and HObfus_end() like

<?php HObfus_begin(); ?>
...........................
...........................
...........................
<?php HObfus_end(); ?>

HObfus_begin() and HObfus_end() will mark the beginning and end point of obfuscation. These two functions allow you to specify the code to obfuscate. For more information about HObfus_begin() and HObfus_end(), see Using HObfus.


« Back
Using HObfus Web Interface
Next »
Using HObfus