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
  • 132,912
  • 25
  • 133
  • 189
Web Worm
  • 2,044
  • 12
  • 39
  • 64

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
  • 27,035
  • 8
  • 63
  • 81
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,293
  • 2
  • 27
  • 40
1

This is what you want.

var txt = "http";
console.log(btoa(txt));  //gives you "aHR0cA=="
Derek 朕會功夫
  • 88,688
  • 41
  • 174
  • 241