#native_company# #native_desc#

PHP stealthing – .htaccess generator

By Justin
on June 17, 2009

Version: 1

Type: Full Script

Category: Algorithms

License: GNU General Public License

Description: Use this simple tool to stealth PHP extensions. You can use any extension, to make it look like other languages (.asp , .cfm, .pl , etc)

Or anything just for fun, such as .abc

<comment>First, you need to put this html into a separate page:</comment>

<code><form action="generate.php" method="POST">
<h3>Desired extension(s):</h3>
  <input name="input" type="text" class="Ds" value=".">
  <input name="input2" type="text" value=".">
  <input name="input3" type="text" value=".">
  <input type="submit" value="Submit">
  <input type="reset" value="Reset">

<comment>Now, just put this php code into a file called generate.php, and your done.</comment>

$A = $_POST['input'];
$B = $_POST['input2'];
$C = $_POST['input3'];
header("Cache-Control: no-cache");
header("Expires: -1");
header("Content-disposition: attachment; filename=".htaccess""); //filename
header("Content-type: application/octet-stream");
echo "AddType application/x-httpd-php $A $B $C";