Catch Suspicious Extensions [January 11, 2009]
|
Jan. 16, 2009, 12:02 AM
Post: #16
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
Is it just me or is there odd characters in the filter codes?
|
|||
Jan. 17, 2009, 11:26 PM
Post: #17
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
Graycode, yes, we are having problems with the strings inside the code tag. Maybe the solution could be forum would not not wordwrap inside code.
Sidki spoke me about URL-parser and the uExt variable. So to be more general, better use $TST(uExt= instead of $TST(extension= in the code of my above post. Edited: 090128 |
|||
Feb. 12, 2009, 12:23 PM
Post: #18
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
I end my hijack, sorry Kye-U
Place this filter after the URL-Parser, rename it if needed Code: [HTTP headers] And the suspicious filters can be now resumed to only one filter Code: [HTTP headers] |
|||
Feb. 13, 2009, 11:18 PM
Post: #19
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
(Feb. 12, 2009 12:23 PM)lnminente Wrote: I end my hijack, sorry Kye-U lnminente, Does this filter need to be fixed for the new sidki config file ..................... "! |||||||||||| URL :" Charlie |
|||
Feb. 14, 2009, 12:57 AM
Post: #20
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
Hi Charlie,
I use my own config, but i suppose these filters can work well with the new sidki. Anyway i prefer Sidki confirm the first filter is able to be incorporated in his config to not cause troubles. |
|||
Feb. 14, 2009, 05:18 PM
Post: #21
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
There is no "ContentType" global variable in sidki-configs, use $IHDR.
lnminente said the whitespace in "URL :" removes the "URL:" magic, and trouble. So in this case it should work. It probably doesn't always work. "!-|||||||||||| URL:" header filters expect to be located above any real header matching filter, while "URL :" is located below the "T*" headers. |
|||
Feb. 14, 2009, 07:15 PM
Post: #22
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
Changed to (^$IHDR(Content-Type: *text/(html|javascript)*))"
No ContentType var is now needed ![]() (Feb. 14, 2009 05:18 PM)sidki3003 Wrote: "!-|||||||||||| URL:" header filters expect to be located above any real header matching filterThese filters would be outgoing no? This is an incomming filter, so it goes after all the outgoing filters |
|||
Feb. 14, 2009, 07:30 PM
Post: #23
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
Yes, sloppy wording, sorry, rephrasing:
![]() So it should work for posted filters. It probably doesn't work generally, for all filters. "!-|||||||||||| URL:" header filters expect to be located above any real outgoing header matching filter, while "URL :" is located below the outgoing "T*" headers. |
|||
Mar. 18, 2009, 03:01 AM
Post: #24
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
Updated: "Fixing uFile and uExt from Content-Disposition", the old version had buggy codes to determine uFile
Link for testing. Edit: Heyyy that's my post number four hundred ![]() |
|||
Aug. 05, 2012, 03:34 AM
Post: #25
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
Bump.
can someone post new code to have these file Extensions added. js and dll |
|||
Aug. 28, 2019, 08:03 AM
Post: #26
|
|||
|
|||
RE: Catch Suspicious Extensions [January 11, 2009]
(Jan. 13, 2009 11:44 PM)lnminente Wrote: Idea!! I think would be great for the framework to write a filter wich sets a variable with the extension of the file we are downloading, it would be very useful for many other filters. It works ![]() |
|||
« Next Oldest | Next Newest »
|