0

Can anyone tell me what's this?

document.write(unescape("%3C%21DOCTYPE%20html%3E%0A%3Chtml%3E%0A%20%20%20%20%3Chead%3E%0A%20%20%20%20%20%20%20%20%3Ctitle%3EPage%20Title%3C/title%3E%0A%3Cstyle%3E%0A.fontSize%7B%0A%20%20%20%20font-size%3A%2030%25%3B%0A%7D%0Abutton%7B%0A%20%20%20%20padding%3A%205px%3B%0A%20%20%20%20border-radius%3A%204px%3B%0A%20%20%20%20%0A%7D%0Abutton%3Ahover%7B%0A%20%20%20%20transition%3A%201s%20linear%20infinite%3B%0A%20%20%20%20outline%3A%20none%3B%0A%7D%0A%0A.style3%7B%0A%20%20%20%20%0A%20%20%20%20font-family%3A%20%27Poppins%27%2C%20sans-serif%3B%0A%7D%0A.style1%7B%0A%20%20%20%20%0A%20%20%20%20font-weight%3A%20bold%3B%0A%7D%0A%0A.style2%7B%0A%20%20%20%20%0A%20%20%20%20font-family%3A%20serif%3B%0A%7D%0A%0A.inp%7B%0A%20%20%20%20%20%0A%20%20%20%20%20width%3A%20250px%3B%0A%20%20%20%20%20height%3A%20259px%3B%0A%20%20%20%20%20background-color%3A%20black%3B%0A%20%20%20%20%20color%3A%20white%3B%0A%20%20%20%20%20margin-left%3A%2050px%3B%0A%20%20%20%20%20border-radius%3A%209px%3B%0Abox-shadow%3A%20%2016px%201px%2032px%20%230083b0%

8th Feb 2021, 9:50 AM
Shreeshanta Das
Shreeshanta Das - avatar
4 Antworten
+ 6
You can visit here to understand it clearly. https://www.obfuscator.io Btw, this is what is written there https://code.sololearn.com/WAXLu34HO9n8/?ref=app
8th Feb 2021, 11:25 AM
Simba
Simba - avatar
+ 4
It would help if you pasted the entire thing. If you run that JavaScript, you'll see that it writes some HTML and CSS. That's assuming you close off the string with a quote and close the function calls with ). If you included the rest, it will likely end up just being a weird way of printing out markup for a page.
8th Feb 2021, 9:55 AM
Josh Greig
Josh Greig - avatar
+ 4
For decrypt it just use console.log instead document.write :) Simba made a fantastic example 👍🏼
8th Feb 2021, 12:01 PM
Matthew
Matthew - avatar
+ 1
Simba Josh Greig Matteo 🗽 Thanks guys for your explanation.. Now let me see what I'll understood
10th Feb 2021, 4:13 AM
Shreeshanta Das
Shreeshanta Das - avatar