Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit d5cc89e

Browse files
committed
add empty directory indexes to prevent directory traversal on improperly configured sites
1 parent 65aed99 commit d5cc89e

File tree

16 files changed

+32
-0
lines changed

16 files changed

+32
-0
lines changed

admin/index.php

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
// Silence is golden.

admin/social-publisher/index.php

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
// Silence is golden.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
// Silence is golden.

extras/index.php

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
// Silence is golden.

includes/facebook-php-sdk/index.php

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
// Silence is golden.

includes/index.php

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
// Silence is golden.

social-plugins/index.php

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
// Silence is golden.

social-plugins/widgets/index.php

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
// Silence is golden.

static/css/admin/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head><meta charset="utf=8"><title>Empty Index</title></head><body><p>Silence is golden.</p></body></html>

static/css/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head><meta charset="utf=8"><title>Empty Index</title></head><body><p>Silence is golden.</p></body></html>

static/fonts/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head><meta charset="utf=8"><title>Empty Index</title></head><body><p>Silence is golden.</p></body></html>

static/img/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head><meta charset="utf=8"><title>Empty Index</title></head><body><p>Silence is golden.</p></body></html>

static/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head><meta charset="utf=8"><title>Empty Index</title></head><body><p>Silence is golden.</p></body></html>

static/js/admin/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head><meta charset="utf=8"><title>Empty Index</title></head><body><p>Silence is golden.</p></body></html>

static/js/extras/analytics/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head><meta charset="utf=8"><title>Empty Index</title></head><body><p>Silence is golden.</p></body></html>

static/js/extras/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head><meta charset="utf=8"><title>Empty Index</title></head><body><p>Silence is golden.</p></body></html>

0 commit comments

Comments
 (0)