Friday 9 September 2016

How to Decrypt the encrypted Javascript

Usually when we download a free blogger template like sora template, themeXpose and other templates provider on the Web. There are some javascript code which is encrypted so that we could not read them in order that we buy premium templates, or that we can not remove the credit link in the footer. to download decryptnya actually very easy once the tool is circulating on the Internet, we simply copy and paste.



obfuscation

Obsucation typically used to obscure the true purpose of javascript code. digunakkan usually that code is hard to read, or that other people can not copy the script.
Obsuscated results javascript code usually begins with eval(function(p,a,c,k,e,d)
When you find the code as above with the eval () beforehand we unpacked her with jsbeautifier or with Unpacker. Here I'll try to decode javascript from themeXpose, which is in the template 2016 . which is in line 4890
because the code themselves preceded by eval (), then we upack first with Unpacker its matthewfl ,
Decrypt Javascript yang terenkripsi

Up here we will get the code with var _0xb6ff=["\x31\x38\x20\x3 and this code can not be read, then we must mengunpacknya again with unpacker of strictly-software.com.

Decrypt Javascript yang terenkripsi

Well, now code can be read. You can edit delete and add the code yourself.

Remove Credit link blogger template

Interest Javascript Obfuscate usually to reduce the size of javascript in order to light, besides other objectives is usually done by the makers of the template is to create a credit link that can not be removed, if removed, the blog template users will always redirect to the website template maker. If you try to edit a credit link, script as below. You can delete them in order not to redirect, provided that you still write credit in the footer template maker. Respect those who make, create the template g easy DLO.
 window.onload = function () { var e = document.getElementById("mycontent"); if (e == null) { window.location.href = "http://www.themexpose.com/" } e.setAttribute("href", "http://www.themexpose.com/"); e.setAttribute("ref", "dofollow"); e.setAttribute("title", "Free Blogger Templates"); e.innerHTML = "ThemeXpose" }
window.onload = function () { var e = document.getElementById("mycontent"); if (e == null) { window.location.href = "http://www.themexpose.com/" } e.setAttribute("href", "http://www.themexpose.com/"); e.setAttribute("ref", "dofollow"); e.setAttribute("title", "Free Blogger Templates"); e.innerHTML = "ThemeXpose" } 

Conclusion

With obfuscate javascript pragrammer can hide the original code, and make others hard to read the code. In addition to making the code difficult to read, obfuscate javascript code also makes us small.

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Sir
    please tell me where we can unpack these encrypted javascript codes.
    Is there any site???

    ReplyDelete