Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ammarfaizi2/php-integral-obfuscator
PHP Integral Obfuscator
https://github.com/ammarfaizi2/php-integral-obfuscator
eval obfuscation obfuscator php php-eval php-obfuscator php7 security
Last synced: 3 months ago
JSON representation
PHP Integral Obfuscator
- Host: GitHub
- URL: https://github.com/ammarfaizi2/php-integral-obfuscator
- Owner: ammarfaizi2
- License: mit
- Created: 2019-04-15T17:46:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-06T13:15:42.000Z (over 5 years ago)
- Last Synced: 2024-07-31T19:45:58.818Z (5 months ago)
- Topics: eval, obfuscation, obfuscator, php, php-eval, php-obfuscator, php7, security
- Language: PHP
- Homepage: https://php-obfuscator.teainside.org
- Size: 97.7 KB
- Stars: 32
- Watchers: 3
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Integral Obfuscator
PHP Integral Obfuscator is a tool to obfuscates PHP code. It compiles a PHP code to a binary file.### Advantage(s) of Using Obfuscator
1. Make your PHP code not human readable. It is good for protecting your private code against people and script kiddies.### Disadvantages of Using Obfuscator
1. Obfuscator may slow down your application in the start process (it does not affect your application runtime performance). But, if you are using it on a web-based application, the start process is done for every request. So, code obfuscation is only good for a CLI based application, not a web-based application.
2. The obfuscated file size is larger than the non-obfuscated file.
3. An obfuscated application may not be started properly due to inaccurate analyses, bugs in internal obfuscator, or any other possibilities.# History
I created a PHP obfuscator that called IceTea Obfuscator (https://github.com/ammarfaizi2/icetea_obfuscator). But, it was not a good obfuscator, since the obfuscated code was really easy to be reversed. So here, I create a better obfuscator and named it PHP Integral Obfuscator.# License
This software is licensed under MIT License.# Usage
```
Usage: ./integralobf [option]-k Give a key to encrypt the input file (default: abc123).
--key Give a key to encrypt the input file (default: abc123).
-o Save obfuscated PHP code to (default: a.out).
--output Save obfuscated PHP code to (default: a.out).
-s Add a shebang into obfuscated PHP file (default: (no shebang)).
--shebang Add a shebang into obfuscated PHP file (default: (no shebang)).
-h Show this message.
--help Show this message.Example usage:
./integralobf --output output.php --key mypassword123 --shebang '/usr/bin/env php' input.php
```# Contribution
I would be happy to receive issues and pull requests. Please provide the problem in details if you have an issue to be submitted.