WebApp Sec mailing list archives

Re: [ Q ] URL obfuscation tools/scripts


From: mark <mark () gether org uk>
Date: Mon, 05 Jan 2004 18:02:35 +0000

or php and its dechex function.... (ord function just gets ascii number of char)


#!/usr/local/bin/php -qCn
<?php

      $string = "hello there";
       $out = '';
       for($x=0;$x<strlen($string);$x++){
               $out .= "%".dechex(ord($string[$x]));
       }

   echo $out."\n";
?>



Current thread: