Changeset 7525
- Timestamp:
- 03/13/09 20:33:09 (4 years ago)
- Files:
-
- modules/branches/2.6 (modified) (1 prop)
- modules/branches/2.6/core/etc/extensions.conf (modified) (2 diffs)
- modules/branches/2.6/daynight/functions.inc.php (modified) (1 diff)
- modules/branches/2.6/weakpasswords (copied) (copied from modules/branches/2.5/weakpasswords)
- modules/branches/2.6/weakpasswords/functions.inc.php (copied) (copied from modules/branches/2.5/weakpasswords/functions.inc.php) (2 diffs)
- modules/branches/2.6/weakpasswords/i18n (copied) (copied from modules/branches/2.5/weakpasswords/i18n)
- modules/branches/2.6/weakpasswords/i18n/sv_SE (copied) (copied from modules/branches/2.5/weakpasswords/i18n/sv_SE)
- modules/branches/2.6/weakpasswords/i18n/sv_SE/LC_MESSAGES (copied) (copied from modules/branches/2.5/weakpasswords/i18n/sv_SE/LC_MESSAGES)
- modules/branches/2.6/weakpasswords/i18n/sv_SE/LC_MESSAGES/weakpasswords.mo (copied) (copied from modules/branches/2.5/weakpasswords/i18n/sv_SE/LC_MESSAGES/weakpasswords.mo)
- modules/branches/2.6/weakpasswords/i18n/sv_SE/LC_MESSAGES/weakpasswords.po (copied) (copied from modules/branches/2.5/weakpasswords/i18n/sv_SE/LC_MESSAGES/weakpasswords.po) (4 diffs)
- modules/branches/2.6/weakpasswords/i18n/weakpasswords.pot (copied) (copied from modules/branches/2.5/weakpasswords/i18n/weakpasswords.pot) (3 diffs)
- modules/branches/2.6/weakpasswords/module.xml (copied) (copied from modules/branches/2.5/weakpasswords/module.xml) (1 diff)
- modules/branches/2.6/weakpasswords/page.weakpasswords.php (copied) (copied from modules/branches/2.5/weakpasswords/page.weakpasswords.php)
- modules/branches/2.6/weakpasswords/uninstall.php (copied) (copied from modules/branches/2.5/weakpasswords/uninstall.php)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.6
- Property svnmerge-integrated changed from /modules/branches/2.5:1-7416,7419-7472,7477 to /modules/branches/2.5:1-7524
modules/branches/2.6/core/etc/extensions.conf
r7411 r7525 293 293 ; What to do on hangup. 294 294 [macro-hangupcall] 295 exten => s,1,ResetCDR( w)295 exten => s,1,ResetCDR(vw) 296 296 exten => s,n,NoCDR() 297 297 … … 560 560 [from-internal-xfer] 561 561 ; applications are now mostly all found in from-internal-additional in _custom.conf 562 include => from-internal-custom 562 563 include => parkedcalls 563 include => from-internal-custom564 564 ;allow phones to dial other extensions 565 565 include => ext-fax modules/branches/2.6/daynight/functions.inc.php
r7155 r7525 167 167 168 168 $id = "app-daynight"; // The context to be included 169 $ext->addInclude('from-internal-additional', $id); // Add the include from from-internal170 169 171 170 $list = daynight_list(); modules/branches/2.6/weakpasswords/functions.inc.php
r7476 r7525 26 26 $weak = weakpasswords_get_users(); 27 27 if(sizeof($weak) > 0) { 28 $extended_text = _("Warning: The use of SIP/IAX passwords that are weak can allow hackers to make brute force registrations and possibly make calls through your PBX. It is strongly recommended, you choose strong secrets.")."<br>"; 29 $count = 0; 28 30 foreach($weak as $details) { 29 $extended_text = sprintf(_("Warning: The use of SIP/IAX passwords that are weak can allow hackers to make brute force registrations and possibly make calls through your PBX. It is strongly recommended, you choose strong secrets. %s %s has a weak secret of %s: %s"), $details['deviceortrunk'], $details['name'], $details['secret'], $details['message']);30 $ nt->add_security("weakpasswords", $details['name'], $details['deviceortrunk']." ".$details['name'].": ".$details['message'],$extended_text);31 $extended_text .= sprintf(_("%s %s has a weak secret of %s: %s<br>"), $details['deviceortrunk'], $details['name'], $details['secret'], $details['message']); 32 $count++; 31 33 } 34 $nt->add_security("weakpasswords", "all", $count." "._("extensions/trunks has weak secrets"),$extended_text); 35 32 36 33 37 } … … 52 56 53 57 if($id == $name) { 54 $deviceortrunk = "Extension";58 $deviceortrunk = _("Extension"); 55 59 } 56 60 else { 57 $deviceortrunk = "$tech Trunk";61 $deviceortrunk = sprintf(_("%s Trunk"), $tech); 58 62 } 59 63 $reversed = strrev($secret); modules/branches/2.6/weakpasswords/i18n/sv_SE/LC_MESSAGES/weakpasswords.po
r7476 r7525 3 3 # This file is distributed under the same license as the PACKAGE package. 4 4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. 5 # Copyright (C) 2009 Ethan Schreoder (ethan.schroeder@schmoozecom.com)5 # Copyright (C) 2009 Ethan Schreoder (ethan.schroeder@schmoozecom.com) 6 6 # 7 # This program is free software; you can redistribute it and/or8 # modify it under the terms of version 2 of the GNU General Public9 # License as published by the Free Software Foundation.7 # This program is free software; you can redistribute it and/or 8 # modify it under the terms of version 2 of the GNU General Public 9 # License as published by the Free Software Foundation. 10 10 # 11 # This program is distributed in the hope that it will be useful,12 # but WITHOUT ANY WARRANTY; without even the implied warranty of13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14 # GNU General Public License for more details.11 # This program is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # GNU General Public License for more details. 15 15 # 16 16 msgid "" … … 18 18 "Project-Id-Version: FreePBX weakpasswords\n" 19 19 "Report-Msgid-Bugs-To: \n" 20 "POT-Creation-Date: 2009-03-1 1 07:33+0100\n"20 "POT-Creation-Date: 2009-03-13 18:17+0100\n" 21 21 "PO-Revision-Date: 2009-03-11 07:44+0100\n" 22 22 "Last-Translator: Mikael Carlsson <mickecamino@gmail.com>\n" … … 28 28 "X-Poedit-Country: Sweden\n" 29 29 30 #: functions.inc.php:30 30 #: functions.inc.php:28 31 msgid "" 32 "Warning: The use of SIP/IAX passwords that are weak can allow hackers to " 33 "make brute force registrations and possibly make calls through your PBX. It " 34 "is strongly recommended, you choose strong secrets." 35 msgstr "" 36 "Varning: Att anvÀnda korta eller osÀkra lösenord kan innebÀra att hackare kan " 37 "anvÀnda lösenordsgissing för att registrera telefoner i ditt system och eventuellt " 38 "genomföra samtal genom vÀxeln pÃ¥ din bekostnad. Det Àr mycket viktigt att anvÀnda sÀkra lösenord." 39 40 #: functions.inc.php:31 31 41 #, php-format 32 msgid " Warning: The use of SIP/IAX passwords that are weak can allow hackers to make brute force registrations and possibly make calls through your PBX. It is strongly recommended, you choose strong secrets. %s %s has a weak secret of %s: %s"33 msgstr " Varning: Om lösenorden för SIP/AIX Àr korta eller samma som anknytningsnumret kan hackare registrera telefoner pÃ¥ dessa anknytningar och skapa samtal ut ur din vÀxel. Det rekommenderas starkt att du vÀljer sÀkra lösenord. %s %s har svagt lösenord pÃ¥ %s: %s"42 msgid "%s %s has a weak secret of %s: %s<br>" 43 msgstr "%s %s har ett osÀkert lösenord pÃ¥ %s: %s" 34 44 35 #: functions.inc.php:63 45 #: functions.inc.php:34 46 msgid "extensions/trunks has weak secrets" 47 msgstr "anknytning/trunk har ett svagt lösenord" 48 49 #: functions.inc.php:58 50 msgid "Extension" 51 msgstr "Anknytning" 52 53 #: functions.inc.php:61 54 #, php-format 55 msgid "%s Trunk" 56 msgstr "%s trunk" 57 58 #: functions.inc.php:66 36 59 msgid "Secret has sequential digits" 37 60 msgstr "Lösenordet har sekventiella siffror" 38 61 39 #: functions.inc.php:6 662 #: functions.inc.php:69 40 63 msgid "Secret same as device" 41 64 msgstr "Lösenordet Àr samma som anknytningen" 42 65 43 #: functions.inc.php: 6966 #: functions.inc.php:72 44 67 msgid "Secret has consecutive digit " 45 msgstr "Lösenordet har samma siffror i följd "68 msgstr "Lösenordet har samma siffror i följd " 46 69 47 #: functions.inc.php:7 270 #: functions.inc.php:75 48 71 msgid "Secret less than 6 digits" 49 72 msgstr "Lösenordet har mindre Àn 6 siffror" … … 72 95 msgid "No weak secrets detected on this system." 73 96 msgstr "Inga svaga lösenord detekterades i vÀxeln" 74 modules/branches/2.6/weakpasswords/i18n/weakpasswords.pot
r7476 r7525 3 3 # This file is distributed under the same license as the PACKAGE package. 4 4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. 5 #Copyright (C) 2009 Ethan Schreoder (ethan.schroeder@schmoozecom.com)6 #7 #This program is free software; you can redistribute it and/or8 #modify it under the terms of version 2 of the GNU General Public9 #License as published by the Free Software Foundation.10 #11 #This program is distributed in the hope that it will be useful,12 #but WITHOUT ANY WARRANTY; without even the implied warranty of13 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14 #GNU General Public License for more details.15 5 # 16 6 #, fuzzy … … 19 9 "Project-Id-Version: PACKAGE VERSION\n" 20 10 "Report-Msgid-Bugs-To: \n" 21 "POT-Creation-Date: 2009-03-1 1 07:33+0100\n"11 "POT-Creation-Date: 2009-03-13 18:17+0100\n" 22 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 23 13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 27 17 "Content-Transfer-Encoding: 8bit\n" 28 18 29 #: functions.inc.php:30 30 #, php-format 19 #: functions.inc.php:28 31 20 msgid "" 32 21 "Warning: The use of SIP/IAX passwords that are weak can allow hackers to " 33 22 "make brute force registrations and possibly make calls through your PBX. It " 34 "is strongly recommended, you choose strong secrets. %s %s has a weak secret " 35 "of %s: %s" 23 "is strongly recommended, you choose strong secrets." 36 24 msgstr "" 37 25 38 #: functions.inc.php:63 26 #: functions.inc.php:31 27 #, php-format 28 msgid "%s %s has a weak secret of %s: %s<br>" 29 msgstr "" 30 31 #: functions.inc.php:34 32 msgid "extensions/trunks has weak secrets" 33 msgstr "" 34 35 #: functions.inc.php:58 36 msgid "Extension" 37 msgstr "" 38 39 #: functions.inc.php:61 40 #, php-format 41 msgid "%s Trunk" 42 msgstr "" 43 44 #: functions.inc.php:66 39 45 msgid "Secret has sequential digits" 40 46 msgstr "" 41 47 42 #: functions.inc.php:6 648 #: functions.inc.php:69 43 49 msgid "Secret same as device" 44 50 msgstr "" 45 51 46 #: functions.inc.php: 6952 #: functions.inc.php:72 47 53 msgid "Secret has consecutive digit " 48 54 msgstr "" 49 55 50 #: functions.inc.php:7 256 #: functions.inc.php:75 51 57 msgid "Secret less than 6 digits" 52 58 msgstr "" modules/branches/2.6/weakpasswords/module.xml
r7473 r7525 2 2 <rawname>weakpasswords</rawname> 3 3 <name>Weak Password Detection</name> 4 <version>2.5.0. 0</version>4 <version>2.5.0.1</version> 5 5 <type>setup</type> 6 6 <category>Internal Options & Configuration</category> 7 7 <changelog> 8 *2.5.0.1* Consolidated individual security notices to a single notice with all details in extended text 8 9 *2.5.0.0* Initial release 9 10 </changelog>
