how can i convert
http
to
h$#t!t@@^#p
i have seen this code which was automatically injected into my site.......
is there and md5 like php function or their is any other way
how can i convert
http
to
h$#t!t@@^#p
i have seen this code which was automatically injected into my site.......
is there and md5 like php function or their is any other way
Share Improve this question edited Jan 6, 2010 at 18:39 Ateş Göral 140k27 gold badges141 silver badges191 bronze badges asked Jan 6, 2010 at 17:40 Web WormWeb Worm 2,06612 gold badges40 silver badges65 bronze badges 4- 2 Please clarify. What are you asking? – Kryten Commented Jan 6, 2010 at 17:46
- 1 Looking at some of your earlier questions, is your main concern is how could someone maliciously distort your javascript into unreadable code? – Anthony Forloney Commented Jan 6, 2010 at 17:48
- 3 I'd be rather more concerned about fixing the exploit that let the Russians promise your site! – bobince Commented Jan 6, 2010 at 17:50
- 1 Yeah, with such wicked language you risk running afoul of the Communication Decency Act (CDA) too. – Carl Smotricz Commented Jan 6, 2010 at 18:00
3 Answers
Reset to default 6It's called obfuscation. You can find a list of tools in many SO questions. For example:
- How can I obfuscate JavaScript?
- What is the best javascript obfuscator?
- Free JavaScript obfuscators?
What you search for is Obfuscation.
This one works with PHP and pretty good:
http://www.phpclasses/browse/package/1863.html
This is what you want.
var txt = "http";
console.log(btoa(txt)); //gives you "aHR0cA=="
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744234433a4564407.html
评论列表(0条)