WordPress.org

Plugin Directory

Changeset 506437


Ignore:
Timestamp:
02/17/12 10:14:59 (2 years ago)
Author:
ampt
Message:

version 1.0.5

Location:
mute-screamer/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • mute-screamer/trunk/languages/mute-screamer.pot

    r475840 r506437  
    1 # Copyright (C) 2010 Mute Screamer 
     1# Copyright (C) 2012 Mute Screamer 
    22# This file is distributed under the same license as the Mute Screamer package. 
    33msgid "" 
    44msgstr "" 
    5 "Project-Id-Version: Mute Screamer 1.0.4\n" 
     5"Project-Id-Version: Mute Screamer 1.0.5\n" 
    66"Report-Msgid-Bugs-To: http://wordpress.org/tags/mute-screamer\n" 
    7 "POT-Creation-Date: 2011-12-15 09:55:36+00:00\n" 
     7"POT-Creation-Date: 2012-02-17 09:55:38+00:00\n" 
    88"MIME-Version: 1.0\n" 
    99"Content-Type: text/plain; charset=UTF-8\n" 
    1010"Content-Transfer-Encoding: 8bit\n" 
    11 "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n" 
     11"PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n" 
    1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 
    1313"Language-Team: LANGUAGE <LL@li.org>\n" 
    14  
    15 #: libraries/mscr/functions.php:30 
    16 msgid "Error %s " 
    17 msgstr "" 
    18  
    19 #: libraries/mscr/functions.php:32 
    20 msgid "An Error Was Encountered %s " 
    21 msgstr "" 
    2214 
    2315#: libraries/mscr/Log_Email.php:27 
     
    5547msgstr "" 
    5648 
    57 #. Plugin Name of the plugin/theme 
    58 #: libraries/mscr/Update.php:313 mscr_admin.php:280 views/admin_update.php:3 
     49#: libraries/mscr/Update.php:319 mscr_admin.php:280 views/admin_update.php:3 
    5950msgid "Mute Screamer" 
    6051msgstr "" 
    6152 
    62 #: libraries/mscr/Update.php:314 
     53#: libraries/mscr/Update.php:320 
    6354msgid "All files are up to date." 
    6455msgstr "" 
    6556 
    66 #: libraries/mscr/Update.php:331 libraries/mscr/Update.php:407 
    67 #: libraries/mscr/Update.php:438 
     57#: libraries/mscr/Update.php:337 libraries/mscr/Update.php:413 
     58#: libraries/mscr/Update.php:444 
    6859msgid "You do not have sufficient permissions to update Mute Screamer for this site." 
    6960msgstr "" 
    7061 
    71 #: libraries/mscr/Update.php:346 
     62#: libraries/mscr/Update.php:352 
    7263msgid "%s does not exist." 
    7364msgstr "" 
    7465 
    75 #: libraries/mscr/Update.php:350 
     66#: libraries/mscr/Update.php:356 
    7667msgid "Can not read file %s." 
    7768msgstr "" 
    7869 
    79 #: libraries/mscr/Update.php:359 
     70#: libraries/mscr/Update.php:365 
    8071msgid "Could not connect to phpids.org, please try again later." 
    8172msgstr "" 
    8273 
    83 #: libraries/mscr/Update.php:376 libraries/mscr/Update.php:412 
    84 #: libraries/mscr/Update.php:417 views/admin_update.php:7 
     74#: libraries/mscr/Update.php:382 libraries/mscr/Update.php:418 
     75#: libraries/mscr/Update.php:423 views/admin_update.php:7 
    8576#: views/admin_update.php:34 views/admin_update_diff.php:5 
    8677msgid "Update Mute Screamer" 
    8778msgstr "" 
    8879 
    89 #: libraries/mscr/Update.php:445 
     80#: libraries/mscr/Update.php:451 
    9081msgid "%s can't be upgraded." 
    9182msgstr "" 
     
    133124#: libraries/mscr/Utils.php:132 
    134125msgid "Mute Screamer multisite install currently not supported." 
     126msgstr "" 
     127 
     128#: libraries/mscr/functions.php:30 
     129msgid "Error %s " 
     130msgstr "" 
     131 
     132#: libraries/mscr/functions.php:32 
     133msgid "An Error Was Encountered %s " 
    135134msgstr "" 
    136135 
  • mute-screamer/trunk/libraries/IDS/Converter.php

    r475840 r506437  
    402402    { 
    403403        $matches = array(); 
    404         preg_match_all('/(?:^|[,&?])\s*([a-z0-9]{30,}=*)(?:\W|$)/im', 
     404        preg_match_all('/(?:^|[,&?])\s*([a-z0-9]{50,}=*)(?:\W|$)/im', 
    405405            $value, 
    406406            $matches); 
  • mute-screamer/trunk/libraries/IDS/default_filter.xml

    r475840 r506437  
    171171    <filter> 
    172172        <id>17</id> 
    173         <rule><![CDATA[([^*:\s\w,.\/?+-]\s*)?(?<![a-z]\s)(?<![a-z\/_@])(\s*return\s*)?(?:hash|name|href|navigateandfind|source|pathname|close|constructor|port|protocol|assign|replace|back|forward|document|ownerdocument|window|top|this|self|parent|frames|_?content|cookie|innerhtml|innertext|csstext+?|outerhtml|print|moveby|resizeto|createstylesheet|stylesheets)(?(1)[^\w%"]|(?:\s*[^@\/\s\w%.+\-]))]]></rule> 
     173        <rule><![CDATA[([^*:\s\w,.\/?+-]\s*)?(?<![a-z]\s)(?<![a-z\/_@])(\s*return\s*)?(?:hash|name|href|navigateandfind|close|constructor|port|protocol|assign|replace|back|forward|document|ownerdocument|window|top|this|self|parent|frames|_?content|cookie|innerhtml|innertext|csstext+?|outerhtml|print|moveby|resizeto|createstylesheet|stylesheets)(?(1)[^\w%"]|(?:\s*[^@\/\s\w%.+\-]))]]></rule> 
    174174        <description>Detects JavaScript object properties and methods</description> 
    175175        <tags> 
     
    207207    <filter> 
    208208        <id>20</id> 
    209         <rule><![CDATA[(?:\)\s*\[)|([^*":\s\w,.\/?+-]\s*)?(?<![a-z]\s)(?<![a-z_@\|])(\s*return\s*)?(?:globalstorage|sessionstorage|postmessage|callee|constructor|content|domain|prototype|try|catch|top|call|apply|url|function|object|array|string|math|if|elseif|case|switch|regex|boolean|location|(?:ms)?setimmediate|settimeout|setinterval|void|setexpression|namespace|while)(?(1)[^\w%"]|(?:\s*[^@\s\w%".+\-\/]))]]></rule> 
     209        <rule><![CDATA[(?:\)\s*\[)|([^*":\s\w,.\/?+-]\s*)?(?<![a-z]\s)(?<![a-z_@\|])(\s*return\s*)?(?:globalstorage|sessionstorage|postmessage|callee|constructor|content|domain|prototype|try|catch|top|call|apply|function|object|array|string|math|if|elseif|case|switch|regex|boolean|location|(?:ms)?setimmediate|settimeout|setinterval|void|setexpression|namespace|while)(?(1)[^\w%"]|(?:\s*[^@\s\w%".+\-\/]))]]></rule> 
    210210        <description>Detects JavaScript language constructs</description> 
    211211        <tags> 
     
    635635    </filter> 
    636636    <filter> 
    637         <id>61</id> 
    638         <rule><![CDATA[(?:\w+]?(?<!href)(?<!src)(?<!longdesc)(?<!returnurl)=(?:https?|ftp):)|(?:\{\s*\$\s*\{)]]></rule> 
    639         <description>Detects url injections and RFE attempts</description> 
    640         <tags> 
    641             <tag>id</tag> 
    642             <tag>rfe</tag> 
    643             <tag>lfi</tag> 
    644         </tags> 
    645         <impact>5</impact> 
    646     </filter>    
    647     <filter> 
    648637        <id>62</id> 
    649638        <rule><![CDATA[(?:function[^(]*\([^)]*\))|(?:(?:delete|void|throw|instanceof|new|typeof)[^\w.]+\w+\s*[([])|([)\]]\s*\.\s*\w+\s*=)|(?:\(\s*new\s+\w+\s*\)\.)]]></rule> 
     
    759748    </filter>    
    760749    <filter> 
    761         <id>74</id> 
    762         <rule><![CDATA[(?i:(ping(.*)[\-(.*)\w|\w(.*)\-]))]]></rule> 
    763         <description>Detects remote code exectuion tests. Will match "ping -n 3 localhost" and "ping localhost -n 3" </description> 
    764         <tags> 
    765             <tag>Command Execution</tag> 
    766             <tag>id</tag> 
    767         </tags> 
    768         <impact>5</impact> 
    769     </filter>        
    770     <filter> 
    771750        <id>75</id> 
    772751        <rule><![CDATA[(?:(((.*)\%[c|d|i|e|f|g|o|s|u|x|p|n]){8}))]]></rule> 
  • mute-screamer/trunk/libraries/mscr/Update.php

    r475840 r506437  
    209209        if ( $response['body'] == '' ) { 
    210210            $this->abort(); 
     211            return; 
    211212        } 
    212213 
     
    227228        if ( $response['body'] == '' ) { 
    228229            $this->abort(); 
     230            return; 
    229231        } 
    230232 
     
    242244 
    243245        if ( ! file_exists( $local_file ) ) 
     246            return false; 
     247 
     248        // Problem fetching remote file 
     249        if ( ! isset( $this->updates['updates'][$this->file] ) ) 
    244250            return false; 
    245251 
  • mute-screamer/trunk/mute-screamer.php

    r475840 r506437  
    55Description: <a href="http://phpids.org/">PHPIDS</a> for Wordpress. 
    66Author: ampt 
    7 Version: 1.0.4 
     7Version: 1.0.5 
    88Author URI: http://notfornoone.com/ 
    99*/ 
     
    5252 
    5353    const INTRUSIONS_TABLE  = 'mscr_intrusions'; 
    54     const VERSION           = '1.0.4'; 
     54    const VERSION           = '1.0.5'; 
    5555    const DB_VERSION        = 2; 
    5656    const POST_TYPE         = 'mscr_ban'; 
     
    194194            return; 
    195195 
     196        if ( is_multisite() ) { 
     197            add_action( 'network_admin_notices', 'MSCR_Utils::ms_notice' ); 
     198            return; 
     199        } 
     200 
    196201        // PHPIDS requires a writable folder 
    197202        if ( ! is_writable( MSCR_Utils::upload_path() ) ) { 
    198203            add_action( 'admin_notices', 'MSCR_Utils::writable_notice' ); 
    199             return; 
    200         } 
    201  
    202         if ( is_multisite() ) { 
    203             add_action( 'network_admin_notices', 'MSCR_Utils::ms_notice' ); 
    204204            return; 
    205205        } 
  • mute-screamer/trunk/readme.txt

    r476095 r506437  
    4141 
    4242== Changelog == 
     43 
     44= 1.0.5 = 
     45 
     46* Latest PHPIDS rules and converter 
     47* Fix update fetch error 
    4348 
    4449= 1.0.4 = 
Note: See TracChangeset for help on using the changeset viewer.