use JavascriptUnpacker\JavascriptUnpacker;
$source = "eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String)){while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0.1(\'2 3\');',4,4,'console|log|hello|world'.split('|'),0,{}))";
$unpacker = new JavascriptUnpacker;
echo $unpacker->unpack($source);
forked from veerkun/php-javascript-unpacker
-
Notifications
You must be signed in to change notification settings - Fork 0
Unpack javascript packed by http://dean.edwards.name/packer/
License
vanry/javascript-unpacker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Unpack javascript packed by http://dean.edwards.name/packer/
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 100.0%