Skip to content

Commit

Permalink
Update p_a_c_k_e_r_unpacker.js: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Infocatcher committed Mar 26, 2024
1 parent e53d549 commit 478b964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/src/unpackers/p_a_c_k_e_r_unpacker.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ var P_A_C_K_E_R = {
t.expect("function test (){alert ('This is a test!')}; " +
"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 2=\\\'{Íâ–+›ï;ã†Ù¥#\\\'',3,3," +
"(){return'\\\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp(" +
"'\\\\b'+e(c)+'\\\\b','g'),k[c]);return p}('0 2=\\'{Íâ–+›ï;ã†Ù¥#\\'',3,3," +
"'var||a'.split('|'),0,{}))",
"function test (){alert ('This is a test!')}; var a='{Íâ–+›ï;ã†Ù¥#'");

Expand Down

0 comments on commit 478b964

Please sign in to comment.