GNU General Public License

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

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<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>
<p>
  <input name="input" type="text" class="Ds" value=".">
  </p>
<p>
  <input name="input2" type="text" value=".">
  </p>
<p>
  <input name="input3" type="text" value=".">
  <br>
  <br>
  <input type="submit" value="Submit">
  <input type="reset" value="Reset">
</p>
</form></code>
<comment>Now, just put this php code into a file called generate.php, and your done.</comment>
<code>
<?php
$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";
?>
</code>
Advertisements