File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,46 @@ php bin/decode.php input.php output.php
26
26
27
27
Call ` bin/decode.php ` decode ` input.php ` and save it to ` output.php ` .
28
28
29
+ ## About EnPHP Bugs
30
+
31
+ EnPHP has bugs. The obfuscated files cannot even run properly. You shouldn't ask a decoder to revert a broken file to a normal file.
32
+
33
+ Here are some known EnPHP bugs. They ** WON'T** be fixed.
34
+
35
+ ### Class Static Call
36
+
37
+ ``` php
38
+ class Foo
39
+ {
40
+ public static function baz()
41
+ {
42
+ echo 'baz';
43
+ }
44
+ }
45
+
46
+ class Bar extends Foo
47
+ {
48
+ public function __construct()
49
+ {
50
+ parent::baz();
51
+ }
52
+ }
53
+ ```
54
+
55
+ class Bar will be obfuscated like this
56
+
57
+ ``` php
58
+ class Bar extends Foo
59
+ {
60
+ public function __construct()
61
+ {
62
+ parent::$GLOBALS[GLOBAL_VAR_KEY][0x0]();
63
+ }
64
+ }
65
+ ```
66
+
67
+ This means ` (parent::$GLOBALS)[GLOBAL_VAR_KEY][0x0](); ` instead of what we expected ` parent::($GLOBALS[GLOBAL_VAR_KEY][0x0])(); ` .
68
+
29
69
## License
30
70
31
71
GNU GENERAL PUBLIC LICENSE Version 3
You can’t perform that action at this time.
0 commit comments