added various invalid filenames and characters that can cause path revealing error messages. Added more filter bypass patterns for all platforms.

This commit is contained in:
unix23 2010-05-06 23:07:55 +00:00
parent f034bc6a42
commit 65bb476b30
4 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,2 @@
# Invalid filenames - these can be used to attempt to cause an error condition during file upload bypass attempts which might reveal an absolute path. Useful if you're not sure where your files are landing.

View file

@ -0,0 +1,33 @@
# Useful for causing error messages that contain an absolute drivepath, such as if you don't know where the file uploader puts files
# regex replace {EXT} with allowed extension type
CON
PRN
AUX
CLOCK$
NUL
COM1
COM2
COM3
COM4
COM5
COM6
COM7
COM8
COM9
LPT1
LPT2
LPT3
LPT4
LPT5
LPT6
LPT7
LPT8
LPT9
*.{EXT}
".{EXT}
[.{EXT}
].{EXT}
:.{EXT}
|.{EXT}
=.{EXT}
,.{EXT}

View file

@ -0,0 +1,14 @@
# list of invalid characters for windows filesystem - these can be used to attempt to cause an error condition during file upload bypass attempts which might reveal an absolute path. Useful if you're not sure where your files are landing.
# fuzz these into a filename during upload attempts
*
.
"
/
\
[
]
:
;
|
=
,

View file

@ -0,0 +1,3 @@
# list of invalid characters for osx - these can be used to attempt to cause an error condition during file upload bypass attempts which might reveal an absolute path. Useful if you're not sure where your files are landing.
# fuzz these into a filename during upload attempts
: