1

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

Ates Goral
  • 137,716
  • 26
  • 137
  • 190
Web Worm
  • 2,080
  • 12
  • 40
  • 65

3 Answers3

6

It's called obfuscation. You can find a list of tools in many SO questions. For example:

Community
  • 1
  • 1
Ivan Nevostruev
  • 28,143
  • 8
  • 66
  • 82
1

What you search for is Obfuscation.

This one works with PHP and pretty good:
http://www.phpclasses.org/browse/package/1863.html

JCasso
  • 5,423
  • 2
  • 28
  • 42
1

This is what you want.

var txt = "http";
console.log(btoa(txt));  //gives you "aHR0cA=="
Derek 朕會功夫
  • 92,235
  • 44
  • 185
  • 247