Comments (2)
(Not the original author here, but I've read my fair share of the code base.)
This cannot reliably be fixed. While the simple cases may be detectable and fixable with heuristics, imagine more complex ones where a function name is returned by a function. That function possibly is in another file. How should it proceed now? We could go on and say that the function is the result of a native C library, or uses user-provided state.
The only reliable way to translate your "out" string into the obfuscated function name is a lookup table. But adding a lookup table to call_user_func would allow reversing the obfuscation easily, making the obfuscator useless. I advise changing your code instead to not do these kind of indirect calls. (Edit: Removed the code example, won't work with objects.)
from yakpro-po.
It is not a bug!
You have to declare all the indirect objects (functions, vars, classes, etc. ) that you use in the $t_ignore_xxx variables of your copy of yakpro-po.cnf configuration file.
Please read carefully the "YOU MUST BE AWARE OF THE FOLLOWING" and "Hints for preparing your Software to be run obfuscated" sections of https://github.com/pk-fr/yakpro-po/blob/master/README.md .
from yakpro-po.
Related Issues (20)
- Error: Wrong version of PHP-Parser detected! HOT 1
- undefined function chgrp() HOT 2
- Modification date doesn't change HOT 1
- Option to obfuscate private methods, only
- [Question] Deobfuscation process HOT 2
- help
- No delete #[\ReturnTypeWillChange] of php 8.1 HOT 3
- Array equal Array HOT 1
- enum doesn't work
- A class named File will be not obfuscated HOT 1
- Feature request : replace t_ignore_*_prefix by t_ignore_*_regex
- Feature request: allow files with html + php HOT 1
- [Question] Is there a way to prevent obfuscating only selected string literals using a prefix HOT 3
- Decode - Clear All Goto Statement Video HOT 1
- Help to decode this code HOT 4
- [Question] Yak and A.I. ? HOT 7
- yakpro-po: command not found HOT 1
- Global variables HOT 1
- labels are not obfuscated HOT 2
- Include file to use constatnt HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yakpro-po.