All Projects → ganlvtech → php-enphp-decoder

ganlvtech / php-enphp-decoder

Licence: GPL-3.0 license
EnPHP Decoder written in PHP

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to php-enphp-decoder

Clj Java Decompiler
REPL-integrated Clojure-to-Java decompiler
Stars: ✭ 177 (+68.57%)
Mutual labels:  decompiler
Il2cppspy
Unity IL2CPP Disassembler (for apk)
Stars: ✭ 213 (+102.86%)
Mutual labels:  decompiler
binsync
A collaborative reversing plugin for cross-decompiler collaboration, built on git.
Stars: ✭ 266 (+153.33%)
Mutual labels:  decompiler
Python Uncompyle6
A cross-version Python bytecode decompiler
Stars: ✭ 2,461 (+2243.81%)
Mutual labels:  decompiler
Replica
Ghidra Analysis Enhancer 🐉
Stars: ✭ 194 (+84.76%)
Mutual labels:  decompiler
Jpexs Decompiler
JPEXS Free Flash Decompiler
Stars: ✭ 2,939 (+2699.05%)
Mutual labels:  decompiler
Ilspy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
Stars: ✭ 14,011 (+13243.81%)
Mutual labels:  decompiler
ghidra2dwarf
🐉 Export ghidra decompiled code to dwarf sections inside ELF binary
Stars: ✭ 135 (+28.57%)
Mutual labels:  decompiler
Hexraystoolbox
Hexrays Toolbox - Find code patterns within the Hexrays AST
Stars: ✭ 202 (+92.38%)
Mutual labels:  decompiler
FIDL
A sane API for IDA Pro's decompiler. Useful for malware RE and vulnerability research
Stars: ✭ 421 (+300.95%)
Mutual labels:  decompiler
Rebel Framework
Advanced and easy to use penetration testing framework 💣🔎
Stars: ✭ 183 (+74.29%)
Mutual labels:  decompiler
Hrdevhelper
Context-sensitive HexRays decompiler plugin that visualizes the ctree of decompiled functions.
Stars: ✭ 193 (+83.81%)
Mutual labels:  decompiler
Recaf
The modern Java bytecode editor
Stars: ✭ 3,374 (+3113.33%)
Mutual labels:  decompiler
Fernflower
Unofficial mirror of FernFlower Java decompiler (All pulls should be submitted upstream)
Stars: ✭ 2,380 (+2166.67%)
Mutual labels:  decompiler
TML.Patcher
Console application for decompiling, recompiling, packaging, and patching tModLoader's .tmod files at blazing-fast speeds.
Stars: ✭ 38 (-63.81%)
Mutual labels:  decompiler
Ghidrasnippets
Python snippets for Ghidra's Program and Decompiler APIs
Stars: ✭ 172 (+63.81%)
Mutual labels:  decompiler
Rellic
Rellic produces goto-free C output from LLVM bitcode
Stars: ✭ 234 (+122.86%)
Mutual labels:  decompiler
unbox
🎁 unbox - Unpack and Decompile the $h*! out of things
Stars: ✭ 39 (-62.86%)
Mutual labels:  decompiler
SDA
SDA is a rich cross-platform tool for reverse engineering that focused firstly on analysis of computer games. I'm trying to create a mix of the Ghidra, Cheat Engine and x64dbg. My tool will combine static and dynamic analysis of programs. Now SDA is being developed.
Stars: ✭ 98 (-6.67%)
Mutual labels:  decompiler
Dnpatch
.NET Patcher library using dnlib
Stars: ✭ 249 (+137.14%)
Mutual labels:  decompiler

EnPHP Decoder

Build Status

EnPHP Decoder written in PHP. Powered by PHP-Parser.

Try it online

Check the link in repository description.

Installation

Get It By Git Clone

You can get the code by git clone. And then install the dependencies by yourserlf with Composer.

git clone https://github.com/ganlvtech/php-enphp-decoder.git
cd php-enphp-decoder
composer install

Download From GitHub Release

You can also download it from GitHub Release.

Download the zip file and unzip them into a folder. All dependencies have been installed.

Usage

Decode by Web UI

cd public/
php -S 127.0.0.1:8000

Visit https://127.0.0.1:8000/ on Browser. You can select a file to upload, and you will download a decoded file.

Deploy to Web Server

Serve by Nginx and php-fpm.

server {
	listen 80;
	# listen 443 ssl;
	root /home/ubuntu/php-enphp-decoder/public;
	index index.php index.html index.htm;
	server_name enphp.ganlvtech.cn;

	location / {
		try_files $uri $uri/ =404;
	}

	location ~ \.php$ {
		fastcgi_pass unix:/run/php/php7.0-fpm.sock;
		include snippets/fastcgi-php.conf;
	}
}

You may need to change port, root, server_name and php version.

Decode One File

php bin/decode.php input.php output.php

Call bin/decode.php decode input.php and save it to output.php.

Decode All Files in A Directory

php bin/decodeRecursive.php dir/

Call bin/decodeRecursive.php decode all php files in dir/ recursively and save it to its original path.

You can use absolute path like /path/to/your/dir/.

CAUTION: This will OVERWRITE all php files! If any error happened with the decoder, your files MAY NOT BE RECOVERED! Please backup your files!

About EnPHP Bugs

See docs/enphp_bugs.md.

License

GNU GENERAL PUBLIC LICENSE Version 3

EnPHP Decoder
Copyright (C) 2019  Ganlv

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].