Profile cover photo
Profile photo
Giacomo Balli
228 followers -
Mobile Consultant & Entrepreneur
Mobile Consultant & Entrepreneur

228 followers
About
Posts

Post has attachment

Post has shared content
Here's a shot of Cruiseable co-founder and CTO Giacomo Balli after a ship inspection of the Star Princess at Pier 27 in San Francisco a few days ago. #princesscruises #starprincess #cruise  
Photo
Add a comment...

Post has shared content
Originally shared by ****
World's Simplest Javascript Obfuscator/Packer
http://jsfiddle.net/vyj9todh/1/show/

eval("\141\154\145\162\164\50\42\110\151\40\105\141\162\164\150\42\51")

Above is a sample, it will alert "Hello World".

If you dump in plain text or HTML code, change eval to document.write. Now you just converted HTML/text to JS.

Because the Javascript is packed in base64 (benefits of base64: easy way to get around all those double/single quote issues while working inside quotes, code packed won't break anything on page, it's smaller than URLencode or unescape, kind of a obfuscation) within the textarea box, I give the source code:

z='';for(var i=0;i< this.value.length;++i){z+='\\'+this.value.charCodeAt(i).toString(8);};this.value='eval\(\''+z+'\'\)\;';this.select();

I am new to the group here. I have been on a JavaScript kick again so thought it was time to find a relevant place to share. THANKS!

#javascript   #geek   #programming  

http://www.seekfreak.com/javascript.htm
Add a comment...

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded