NinjaFirewall (WP Edition) - Version 4.1.1

Version Description

  • Improved the Full WAF installer when the server is running Litespeed or OpenLitespeed.
  • Fixed a potential "undefined constant NFW_IS_HTTPS" PHP warning when using the ".htninja" script with the WP Edition.
  • Fixed a potential issue in a multisite environment when running the firewall in WordPress WAF mode: the main site and a child site configuration could be out of sync.
  • Many small fixes and adjustments.
  • WP+ Edition (Premium): Updated IPv4/IPv6/ASN GeoIP databases.
Download this release

Release Info

Developer nintechnet
Plugin Icon 128x128 NinjaFirewall (WP Edition)
Version 4.1.1
Comparing to
See all releases

Code changes from version 4.1 to 4.1.1

languages/ninjafirewall-fr_FR.mo CHANGED
Binary file
languages/ninjafirewall-fr_FR.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ninjafirewall\n"
7
- "POT-Creation-Date: 2020-01-17 21:32+0700\n"
8
- "PO-Revision-Date: 2020-01-17 21:33+0700\n"
9
  "Last-Translator: NinTechNet <contact@nintechnet.com>\n"
10
  "Language-Team: NinTechNet <nintechnet.com>\n"
11
  "Language: fr_FR\n"
@@ -329,7 +329,7 @@ msgstr ""
329
  msgid "Centralized Logging"
330
  msgstr "Centralisation des Logs"
331
 
332
- #: lib/dashboard.php:317 lib/security_rules_update.php:415
333
  #, php-format
334
  msgid "Error: %s"
335
  msgstr "Erreur : %s"
@@ -743,7 +743,7 @@ msgstr "Moyen :"
743
  msgid "Blocked brute-force attacks:"
744
  msgstr "Attaques par force brute bloquées :"
745
 
746
- #: lib/event_notifications.php:497 lib/utils.php:788
747
  msgid ""
748
  "This notification can be turned off from NinjaFirewall \"Event Notifications"
749
  "\" page."
@@ -751,17 +751,17 @@ msgstr ""
751
  "Cette notification peut être désactivée depuis la page \"Notifications "
752
  "d’Événement\" de NinjaFirewall."
753
 
754
- #: lib/event_notifications.php:501 lib/event_updates.php:218 lib/events.php:225
755
  #: lib/firewall_options.php:525 lib/monitoring_file_check.php:777
756
- #: lib/monitoring_file_check.php:798 lib/security_rules_update.php:561
757
  msgid "Support forum:"
758
  msgstr "Forum :"
759
 
760
- #: lib/event_notifications.php:504 lib/event_updates.php:221 lib/events.php:228
761
  #: lib/firewall_options.php:528 lib/monitoring_file_check.php:780
762
- #: lib/monitoring_file_check.php:801 lib/security_rules_update.php:564
763
- #: lib/utils.php:235 lib/utils.php:584 lib/utils.php:793 lib/utils.php:971
764
- #: lib/utils.php:1284
765
  #, php-format
766
  msgid ""
767
  "Need more security? Check out our supercharged NinjaFirewall (WP+ Edition): "
@@ -771,7 +771,7 @@ msgstr ""
771
  "une version encore plus musclée de notre pare-feu applicatif : %s "
772
 
773
  #: lib/event_updates.php:157
774
- msgid "[NinjaFirewall] Security update available"
775
  msgstr "[NinjaFirewall] Mise à jour de sécurité en attente"
776
 
777
  #: lib/event_updates.php:159
@@ -782,8 +782,8 @@ msgstr ""
782
  "NinjaFirewall a détecté que des mises à jour de sécurité sont disponibles "
783
  "pour votre site Web :"
784
 
785
- #: lib/event_updates.php:160 lib/utils.php:219 lib/utils.php:777
786
- #: lib/utils.php:954 lib/utils.php:1277
787
  msgid "Date:"
788
  msgstr "Date :"
789
 
@@ -792,39 +792,43 @@ msgstr "Date :"
792
  msgid "Blog: %s"
793
  msgstr "Blog : %s"
794
 
795
- #: lib/event_updates.php:171 lib/event_updates.php:185
796
- #: lib/event_updates.php:202
797
  #, php-format
798
  msgid "Your version: %s"
799
  msgstr "Votre version : %s"
800
 
801
- #: lib/event_updates.php:172 lib/event_updates.php:186
802
- #: lib/event_updates.php:203
803
  #, php-format
804
  msgid "New version: %s"
805
  msgstr "Nouvelle version : %s"
806
 
807
- #: lib/event_updates.php:174 lib/event_updates.php:189
808
- #: lib/event_updates.php:206
809
  msgid "Severity: This is an important security update"
810
  msgstr "Sévérité : Ceci est une mise à jour de sécurité importante"
811
 
812
- #: lib/event_updates.php:176 lib/event_updates.php:191
813
- #: lib/event_updates.php:208
814
  msgid "Severity: **This is a critical security update**"
815
  msgstr "Sévérité : **Ceci est une mise à jour de sécurité critique**"
816
 
817
- #: lib/event_updates.php:184
 
 
 
 
818
  #, php-format
819
  msgid "Plugin: %s"
820
  msgstr "Extension : %s"
821
 
822
- #: lib/event_updates.php:201
823
  #, php-format
824
  msgid "Theme: %s"
825
  msgstr "Theme : %s"
826
 
827
- #: lib/event_updates.php:214
828
  msgid "Don't leave your blog at risk, make sure to update as soon as possible."
829
  msgstr ""
830
  "Ne laissez pas votre blog en danger, lancez cette mise à jour dès que "
@@ -877,7 +881,7 @@ msgstr "téléchargé(e)"
877
  msgid "[NinjaFirewall] Alert: %s"
878
  msgstr "[NinjaFirewall] Alerte : %s"
879
 
880
- #: lib/events.php:213 lib/events.php:215 lib/utils.php:571
881
  msgid "-Blog:"
882
  msgstr "- Blog :"
883
 
@@ -885,15 +889,15 @@ msgstr "- Blog :"
885
  msgid "NinjaFirewall has detected the following activity on your account:"
886
  msgstr "NinjaFirewall a détecté l'activité suivante sur votre compte :"
887
 
888
- #: lib/events.php:220 lib/utils.php:576
889
  msgid "-User:"
890
  msgstr "- Nom :"
891
 
892
- #: lib/events.php:221 lib/utils.php:577
893
  msgid "-IP:"
894
  msgstr "- IP :"
895
 
896
- #: lib/events.php:222 lib/utils.php:578
897
  msgid "-Date:"
898
  msgstr "-Date :"
899
 
@@ -3273,7 +3277,7 @@ msgstr ""
3273
  "d'union <code>-</code> à la place d'un nombre, cela signifie que la règle ne "
3274
  "peut être modifiée quand dans la page \"Politiques du Pare-feu\"."
3275
 
3276
- #: lib/install.php:70
3277
  #, php-format
3278
  msgid ""
3279
  "Error: Your .htaccess file is not writable, please change its permissions: %s"
@@ -3281,12 +3285,12 @@ msgstr ""
3281
  "Erreur : Votre fichier .htaccess n'est pas accessible en écriture. Veuillez "
3282
  "modifier ses autorisations : %s"
3283
 
3284
- #: lib/install.php:95 ninjafirewall.php:594 ninjafirewall.php:598
3285
  #, php-format
3286
  msgid "Error: wrong parameter value (%s)."
3287
  msgstr "Erreur : Mauvais paramètre (%s)."
3288
 
3289
- #: lib/install.php:102 lib/install.php:183 lib/install.php:204
3290
  #, php-format
3291
  msgid ""
3292
  "Error: The following file is not writable, please change its permissions: %s"
@@ -3294,7 +3298,7 @@ msgstr ""
3294
  "Erreur : Le fichier suivant n'est pas accessible en écriture. Veuillez "
3295
  "modifier ses autorisations : %s"
3296
 
3297
- #: lib/install.php:125
3298
  #, php-format
3299
  msgid ""
3300
  "NinjaFirewall detected that the requested changes seemed to crash your blog. "
@@ -3303,7 +3307,7 @@ msgstr ""
3303
  "NinjaFirewall a détecté que les modifications demandées semblaient planter "
3304
  "votre blog. %s"
3305
 
3306
- #: lib/install.php:126
3307
  msgid ""
3308
  "Changes have been undone. You may need to modify your selection and try "
3309
  "again."
@@ -3311,18 +3315,18 @@ msgstr ""
3311
  "Les modifications ont été annulées. Vous devriez peut-être modifier votre "
3312
  "sélection et réessayer."
3313
 
3314
- #: lib/install.php:136
3315
  #, php-format
3316
  msgid "The website front-end returned: HTTP %s %s."
3317
  msgstr "La page d'accueil du site a retourné : HTTP %s %s."
3318
 
3319
- #: lib/install.php:148
3320
  #, php-format
3321
  msgid "The website front-end returned a fatal error: %s."
3322
  msgstr "La page d'accueil du site a retourné une erreur fatale : %s."
3323
 
3324
- #: lib/install.php:238 lib/install.php:263 lib/install.php:288
3325
- #: lib/install.php:309
3326
  msgid "File is not writable"
3327
  msgstr "Le fichier n'est pas accessible en écriture"
3328
 
@@ -3356,7 +3360,7 @@ msgstr ""
3356
  "connexion non-sécurisée (HTTP) en ajoutant la ligne suivante dans votre "
3357
  "fichier <strong>wp-config.php</strong> :"
3358
 
3359
- #: lib/install_default.php:232
3360
  #, php-format
3361
  msgid ""
3362
  "NinjaFirewall cannot create its <code>nfwlog/</code>log and cache folder; "
@@ -4106,13 +4110,13 @@ msgstr "[NinjaFirewall] Alerte: Détection File Check"
4106
 
4107
  #: lib/monitoring_file_check.php:765 lib/monitoring_file_check.php:767
4108
  #: lib/monitoring_file_check.php:792 lib/monitoring_file_check.php:794
4109
- #: lib/security_rules_update.php:553 lib/security_rules_update.php:555
4110
- #: lib/utils.php:214 lib/utils.php:776 lib/utils.php:941 lib/utils.php:1273
4111
  msgid "Blog:"
4112
  msgstr "Blog :"
4113
 
4114
  #: lib/monitoring_file_check.php:769 lib/monitoring_file_check.php:796
4115
- #: lib/security_rules_update.php:558
4116
  #, php-format
4117
  msgid "Date: %s"
4118
  msgstr "Date : %s"
@@ -4206,7 +4210,7 @@ msgstr ""
4206
  msgid "Save Network options"
4207
  msgstr "Sauvegarder les options"
4208
 
4209
- #: lib/security_rules.php:44 lib/security_rules_update.php:559
4210
  #: ninjafirewall.php:794
4211
  msgid "Security Rules"
4212
  msgstr "Règles de Sécurité"
@@ -4318,7 +4322,7 @@ msgstr ""
4318
  msgid "Security rules have been updated."
4319
  msgstr "Les règles de sécurité ont été mises à jour."
4320
 
4321
- #: lib/security_rules_update.php:91 lib/security_rules_update.php:435
4322
  msgid "No security rules update available."
4323
  msgstr "Aucune mise à jour des règles de sécurité disponible."
4324
 
@@ -4423,31 +4427,31 @@ msgstr ""
4423
  "Erreur : Le fichier des règles téléchargé semblent corrompu (unserialized "
4424
  "rules seem corrupted)."
4425
 
4426
- #: lib/security_rules_update.php:378
4427
  #, php-format
4428
  msgid "Security rules updated to version %s."
4429
  msgstr "Les règles de sécurité ont été mises à jour vers la version %s."
4430
 
4431
- #: lib/security_rules_update.php:424
4432
  msgid "Error: Unable to retrieve the new rules version."
4433
  msgstr "Erreur : Impossible de récupérer la nouvelle version des règles."
4434
 
4435
- #: lib/security_rules_update.php:442
4436
  #, php-format
4437
  msgid "Error: Server returned a %s HTTP error code (#1)."
4438
  msgstr "Erreur : Le serveur a retourné un code d'erreur HTTP %s (#1)."
4439
 
4440
- #: lib/security_rules_update.php:449 lib/security_rules_update.php:515
4441
  msgid "Error: Unable to connect to the remote server"
4442
  msgstr "Erreur : Impossible de se connecter au serveur distant"
4443
 
4444
- #: lib/security_rules_update.php:479
4445
  #, php-format
4446
  msgid "Error: The new rules versions do not match (%s != %s)."
4447
  msgstr ""
4448
  "Erreur : La versions des nouvelles règles ne correspond pas (%s != %s)."
4449
 
4450
- #: lib/security_rules_update.php:493
4451
  #, php-format
4452
  msgid ""
4453
  "Error: The new rules %s digital signature is not correct. Aborting update, "
@@ -4456,24 +4460,24 @@ msgstr ""
4456
  "Erreur : La signature numérique des nouvelles règles %s n'est pas correcte. "
4457
  "Annulation de la mise à jour, les règles ont peut-être été altérées."
4458
 
4459
- #: lib/security_rules_update.php:508
4460
  #, php-format
4461
  msgid "Error: Server returned a %s HTTP error code (#2)."
4462
  msgstr "Erreur : Le serveur a retourné un code d'erreur HTTP %s (#2)."
4463
 
4464
- #: lib/security_rules_update.php:550
4465
  msgid "[NinjaFirewall] Security rules update"
4466
  msgstr "[NinjaFirewall] Mise à jour des règles de sécurité"
4467
 
4468
- #: lib/security_rules_update.php:551
4469
  msgid "NinjaFirewall security rules have been updated:"
4470
  msgstr "Les règles de sécurité de NinjaFirewall ont été mises à jour :"
4471
 
4472
- #: lib/security_rules_update.php:557
4473
  msgid "Rules version:"
4474
  msgstr "Version des règles :"
4475
 
4476
- #: lib/security_rules_update.php:559
4477
  #, php-format
4478
  msgid "This notification can be turned off from NinjaFirewall \"%s\" page."
4479
  msgstr ""
@@ -4609,37 +4613,37 @@ msgstr ""
4609
  msgid "Finish"
4610
  msgstr "Finaliser"
4611
 
4612
- #: lib/utils.php:200
4613
  msgid "Blocked user account creation"
4614
  msgstr "Création de compte d'utilisateur bloquée"
4615
 
4616
- #: lib/utils.php:212
4617
  msgid "NinjaFirewall has blocked an attempt to create a user account:"
4618
  msgstr ""
4619
  "NinjaFirewall a bloqué une tentative de création d'un compte d'utilisateur :"
4620
 
4621
- #: lib/utils.php:215 lib/utils.php:946
4622
  msgid "Username:"
4623
  msgstr "Utilisateur :"
4624
 
4625
- #: lib/utils.php:216 lib/utils.php:951 lib/utils.php:1274
4626
  msgid "User IP:"
4627
  msgstr "IP utilisateur :"
4628
 
4629
- #: lib/utils.php:228 lib/utils.php:963 lib/utils.php:1269
4630
  msgid "A PHP backtrace has been attached to this message for your convenience."
4631
  msgstr ""
4632
  "La pile d'exécution de PHP est jointe à ce message pour votre commodité."
4633
 
4634
- #: lib/utils.php:251 lib/utils.php:252 lib/utils.php:987 lib/utils.php:988
4635
  msgid "You are not allowed to perform this task."
4636
  msgstr "Vous n'êtes pas autorisé à effectuer cette tâche."
4637
 
4638
- #: lib/utils.php:525 lib/utils.php:529
4639
  msgid "NinjaFirewall error"
4640
  msgstr "NinjaFirewall Erreur"
4641
 
4642
- #: lib/utils.php:526
4643
  #, php-format
4644
  msgid ""
4645
  "%s directory cannot be created. Please review your installation and ensure "
@@ -4648,7 +4652,7 @@ msgstr ""
4648
  "Le répertoire %s ne peut pas être créé. Vérifiez votre installation et "
4649
  "assurez vous que %s n'est pas en lecture seule."
4650
 
4651
- #: lib/utils.php:530
4652
  #, php-format
4653
  msgid ""
4654
  "%s directory is read-only. Please review your installation and ensure that "
@@ -4657,35 +4661,35 @@ msgstr ""
4657
  "Le répertoire %s est en lecture seule. Vérifiez votre installation et les "
4658
  "permissions de %s."
4659
 
4660
- #: lib/utils.php:549
4661
  msgid "unknown error"
4662
  msgstr "erreur inconnue"
4663
 
4664
- #: lib/utils.php:551
4665
  msgid "NinjaFirewall fatal error:"
4666
  msgstr "NinjaFirewall erreur fatale :"
4667
 
4668
- #: lib/utils.php:552
4669
  msgid "Review your installation, your site is not protected."
4670
  msgstr "Vérifiez votre installation, votre site n'est pas protégé."
4671
 
4672
- #: lib/utils.php:569
4673
  msgid "Alert: WordPress console login"
4674
  msgstr "Alerte : Connexion à WordPress"
4675
 
4676
- #: lib/utils.php:575
4677
  msgid "Someone just logged in to your WordPress admin console:"
4678
  msgstr "Quelqu'un vient de se connecter à votre Tableau de bord de WordPress:"
4679
 
4680
- #: lib/utils.php:581
4681
  msgid "Support forum"
4682
  msgstr "Forum "
4683
 
4684
- #: lib/utils.php:642 lib/utils.php:669
4685
  msgid "Forbidden access"
4686
  msgstr "Accès interdit"
4687
 
4688
- #: lib/utils.php:688
4689
  #, php-format
4690
  msgid ""
4691
  "<strong>ERROR</strong>: Invalid username or password.<br /><a href=\"%s"
@@ -4694,11 +4698,11 @@ msgstr ""
4694
  "<strong>ERREUR</strong>: Identifiant ou mot de passe invalide.<br /><a href="
4695
  "\"%s\">Mot de passe perdu</a> ?"
4696
 
4697
- #: lib/utils.php:772
4698
  msgid "[NinjaFirewall] Alert: Database changes detected"
4699
  msgstr "[NinjaFirewall] Alerte: Modification dans la base de données"
4700
 
4701
- #: lib/utils.php:773
4702
  msgid ""
4703
  "NinjaFirewall has detected that one or more administrator accounts were "
4704
  "modified in the database:"
@@ -4706,12 +4710,12 @@ msgstr ""
4706
  "NinjaFirewall a détecté que un ou plusieurs comptes d'administrateur ont été "
4707
  "modifiés dans la base de données:"
4708
 
4709
- #: lib/utils.php:778
4710
  #, php-format
4711
  msgid "Total administrators : %s"
4712
  msgstr "Nombre d'administrateurs : %s"
4713
 
4714
- #: lib/utils.php:787
4715
  msgid ""
4716
  "If you cannot see any modifications in the above fields, it is possible that "
4717
  "the administrator password was changed."
@@ -4719,11 +4723,11 @@ msgstr ""
4719
  "Si vous ne voyez pas de modifications dans les données ci-dessus, il est "
4720
  "possible que le mot de passe administrateur ait été changé."
4721
 
4722
- #: lib/utils.php:926
4723
  msgid "Blocked privilege escalation attempt"
4724
  msgstr "Tentatives d'élévation des privilèges"
4725
 
4726
- #: lib/utils.php:939
4727
  msgid ""
4728
  "NinjaFirewall has blocked an attempt to modify a user capability by someone "
4729
  "who does not have administrative privileges:"
@@ -4731,7 +4735,7 @@ msgstr ""
4731
  "NinjaFirewall a bloqué une tentative de modification de certaines Capacités "
4732
  "par un utilisateur ne disposant pas de privilèges administratifs :"
4733
 
4734
- #: lib/utils.php:966 lib/utils.php:1279
4735
  msgid ""
4736
  "This protection (and notification) can be turned off from NinjaFirewall "
4737
  "\"Firewall Policies\" page."
@@ -4739,7 +4743,7 @@ msgstr ""
4739
  "Cette protection (et notification) peut être désactivée à partir de la page "
4740
  "\"Politiques du Pare-feu\" de NinjaFirewall."
4741
 
4742
- #: lib/utils.php:999
4743
  msgid ""
4744
  "NinjaFirewall brute-force protection is enabled and you are temporarily "
4745
  "whitelisted."
@@ -4747,7 +4751,7 @@ msgstr ""
4747
  "La protection de NinjaFirewall contre les attaques par force brute est "
4748
  "activée. Vous êtes temporairement dans la liste blanche."
4749
 
4750
- #: lib/utils.php:1014
4751
  #, php-format
4752
  msgid ""
4753
  "Hey, it seems that you've been using NinjaFirewall for some time. If you "
@@ -4760,17 +4764,17 @@ msgstr ""
4760
  "a>. Il a fallu des milliers d'heures pour le développer, mais il suffit "
4761
  "seulement de quelques minutes pour le noter. Merci !"
4762
 
4763
- #: lib/utils.php:1241
4764
  msgid ""
4765
  "The attempt was blocked and the option was reversed to its original value."
4766
  msgstr ""
4767
  "La tentative a été bloquée et l'option a été remise à sa valeur d'origine."
4768
 
4769
- #: lib/utils.php:1246
4770
  msgid "Attempt to modify WordPress settings"
4771
  msgstr "Tentative de modification des paramètres de WordPress"
4772
 
4773
- #: lib/utils.php:1247
4774
  msgid ""
4775
  "NinjaFirewall has blocked an attempt to modify some important WordPress "
4776
  "settings by a user that does not have administrative privileges:"
@@ -4779,31 +4783,31 @@ msgstr ""
4779
  "importants de WordPress par un utilisateur ne disposant pas de privilèges "
4780
  "administratifs :"
4781
 
4782
- #: lib/utils.php:1248 lib/utils.php:1257
4783
  #, php-format
4784
  msgid "Option: %s"
4785
  msgstr "Option: %s"
4786
 
4787
- #: lib/utils.php:1249
4788
  #, php-format
4789
  msgid "Original value: %s"
4790
  msgstr "Valeur originale : %s"
4791
 
4792
- #: lib/utils.php:1250
4793
  #, php-format
4794
  msgid "Modified value: %s"
4795
  msgstr "Valeur modifiée : %s"
4796
 
4797
- #: lib/utils.php:1251 lib/utils.php:1259
4798
  #, php-format
4799
  msgid "Action taken: %s"
4800
  msgstr "Action prise : %s"
4801
 
4802
- #: lib/utils.php:1255
4803
  msgid "Code injection attempt in WordPress options table"
4804
  msgstr "Tentative d'injection de code dans la table des options de WordPress"
4805
 
4806
- #: lib/utils.php:1256
4807
  msgid ""
4808
  "NinjaFirewall has blocked an attempt to inject code in the WordPress options "
4809
  "table by a user that does not have administrative privileges:"
@@ -4812,26 +4816,26 @@ msgstr ""
4812
  "options de WordPress par un utilisateur ne disposant pas de privilèges "
4813
  "administratifs :"
4814
 
4815
- #: lib/utils.php:1258
4816
  #, php-format
4817
  msgid "Code: %s"
4818
  msgstr "Code : %s"
4819
 
4820
- #: lib/utils.php:1314
4821
  #, php-format
4822
  msgid "Error, cannot create the %s folder."
4823
  msgstr "Erreur, impossible de créer le répertoire %s."
4824
 
4825
- #: lib/utils.php:1314 lib/utils.php:1322 lib/utils.php:1330
4826
  msgid "Check your server permissions and try again."
4827
  msgstr "Vérifiez les autorisations de votre serveur et réessayez."
4828
 
4829
- #: lib/utils.php:1322
4830
  #, php-format
4831
  msgid "Error, the %s folder is not writable."
4832
  msgstr "Erreur, le répertoire %s est en lecture seule."
4833
 
4834
- #: lib/utils.php:1330
4835
  #, php-format
4836
  msgid "Error, cannot write %s."
4837
  msgstr "Erreur, impossible d'écrire dans %s."
@@ -5560,6 +5564,9 @@ msgstr "Passez Premium !"
5560
  msgid "Rate it!"
5561
  msgstr "Notez-le !"
5562
 
 
 
 
5563
  #~ msgid ""
5564
  #~ "Don't leave your blog at risk and make sure to update as soon as possible."
5565
  #~ msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ninjafirewall\n"
7
+ "POT-Creation-Date: 2020-03-14 00:41+0700\n"
8
+ "PO-Revision-Date: 2020-03-14 00:42+0700\n"
9
  "Last-Translator: NinTechNet <contact@nintechnet.com>\n"
10
  "Language-Team: NinTechNet <nintechnet.com>\n"
11
  "Language: fr_FR\n"
329
  msgid "Centralized Logging"
330
  msgstr "Centralisation des Logs"
331
 
332
+ #: lib/dashboard.php:317 lib/security_rules_update.php:430
333
  #, php-format
334
  msgid "Error: %s"
335
  msgstr "Erreur : %s"
743
  msgid "Blocked brute-force attacks:"
744
  msgstr "Attaques par force brute bloquées :"
745
 
746
+ #: lib/event_notifications.php:497 lib/event_updates.php:218 lib/utils.php:791
747
  msgid ""
748
  "This notification can be turned off from NinjaFirewall \"Event Notifications"
749
  "\" page."
751
  "Cette notification peut être désactivée depuis la page \"Notifications "
752
  "d’Événement\" de NinjaFirewall."
753
 
754
+ #: lib/event_notifications.php:501 lib/event_updates.php:220 lib/events.php:225
755
  #: lib/firewall_options.php:525 lib/monitoring_file_check.php:777
756
+ #: lib/monitoring_file_check.php:798 lib/security_rules_update.php:576
757
  msgid "Support forum:"
758
  msgstr "Forum :"
759
 
760
+ #: lib/event_notifications.php:504 lib/event_updates.php:223 lib/events.php:228
761
  #: lib/firewall_options.php:528 lib/monitoring_file_check.php:780
762
+ #: lib/monitoring_file_check.php:801 lib/security_rules_update.php:579
763
+ #: lib/utils.php:238 lib/utils.php:587 lib/utils.php:796 lib/utils.php:973
764
+ #: lib/utils.php:1240
765
  #, php-format
766
  msgid ""
767
  "Need more security? Check out our supercharged NinjaFirewall (WP+ Edition): "
771
  "une version encore plus musclée de notre pare-feu applicatif : %s "
772
 
773
  #: lib/event_updates.php:157
774
+ msgid "[NinjaFirewall] Warning: Security update available"
775
  msgstr "[NinjaFirewall] Mise à jour de sécurité en attente"
776
 
777
  #: lib/event_updates.php:159
782
  "NinjaFirewall a détecté que des mises à jour de sécurité sont disponibles "
783
  "pour votre site Web :"
784
 
785
+ #: lib/event_updates.php:160 lib/utils.php:222 lib/utils.php:780
786
+ #: lib/utils.php:956 lib/utils.php:1233
787
  msgid "Date:"
788
  msgstr "Date :"
789
 
792
  msgid "Blog: %s"
793
  msgstr "Blog : %s"
794
 
795
+ #: lib/event_updates.php:171 lib/event_updates.php:187
796
+ #: lib/event_updates.php:204
797
  #, php-format
798
  msgid "Your version: %s"
799
  msgstr "Votre version : %s"
800
 
801
+ #: lib/event_updates.php:172 lib/event_updates.php:188
802
+ #: lib/event_updates.php:205
803
  #, php-format
804
  msgid "New version: %s"
805
  msgstr "Nouvelle version : %s"
806
 
807
+ #: lib/event_updates.php:174 lib/event_updates.php:191
808
+ #: lib/event_updates.php:208
809
  msgid "Severity: This is an important security update"
810
  msgstr "Sévérité : Ceci est une mise à jour de sécurité importante"
811
 
812
+ #: lib/event_updates.php:176 lib/event_updates.php:193
813
+ #: lib/event_updates.php:210
814
  msgid "Severity: **This is a critical security update**"
815
  msgstr "Sévérité : **Ceci est une mise à jour de sécurité critique**"
816
 
817
+ #: lib/event_updates.php:178
818
+ msgid "Type: Security fix"
819
+ msgstr "Type : Correctif de sécurité"
820
+
821
+ #: lib/event_updates.php:186
822
  #, php-format
823
  msgid "Plugin: %s"
824
  msgstr "Extension : %s"
825
 
826
+ #: lib/event_updates.php:203
827
  #, php-format
828
  msgid "Theme: %s"
829
  msgstr "Theme : %s"
830
 
831
+ #: lib/event_updates.php:216
832
  msgid "Don't leave your blog at risk, make sure to update as soon as possible."
833
  msgstr ""
834
  "Ne laissez pas votre blog en danger, lancez cette mise à jour dès que "
881
  msgid "[NinjaFirewall] Alert: %s"
882
  msgstr "[NinjaFirewall] Alerte : %s"
883
 
884
+ #: lib/events.php:213 lib/events.php:215 lib/utils.php:574
885
  msgid "-Blog:"
886
  msgstr "- Blog :"
887
 
889
  msgid "NinjaFirewall has detected the following activity on your account:"
890
  msgstr "NinjaFirewall a détecté l'activité suivante sur votre compte :"
891
 
892
+ #: lib/events.php:220 lib/utils.php:579
893
  msgid "-User:"
894
  msgstr "- Nom :"
895
 
896
+ #: lib/events.php:221 lib/utils.php:580
897
  msgid "-IP:"
898
  msgstr "- IP :"
899
 
900
+ #: lib/events.php:222 lib/utils.php:581
901
  msgid "-Date:"
902
  msgstr "-Date :"
903
 
3277
  "d'union <code>-</code> à la place d'un nombre, cela signifie que la règle ne "
3278
  "peut être modifiée quand dans la page \"Politiques du Pare-feu\"."
3279
 
3280
+ #: lib/install.php:72
3281
  #, php-format
3282
  msgid ""
3283
  "Error: Your .htaccess file is not writable, please change its permissions: %s"
3285
  "Erreur : Votre fichier .htaccess n'est pas accessible en écriture. Veuillez "
3286
  "modifier ses autorisations : %s"
3287
 
3288
+ #: lib/install.php:97 ninjafirewall.php:594 ninjafirewall.php:598
3289
  #, php-format
3290
  msgid "Error: wrong parameter value (%s)."
3291
  msgstr "Erreur : Mauvais paramètre (%s)."
3292
 
3293
+ #: lib/install.php:104 lib/install.php:185 lib/install.php:206
3294
  #, php-format
3295
  msgid ""
3296
  "Error: The following file is not writable, please change its permissions: %s"
3298
  "Erreur : Le fichier suivant n'est pas accessible en écriture. Veuillez "
3299
  "modifier ses autorisations : %s"
3300
 
3301
+ #: lib/install.php:127
3302
  #, php-format
3303
  msgid ""
3304
  "NinjaFirewall detected that the requested changes seemed to crash your blog. "
3307
  "NinjaFirewall a détecté que les modifications demandées semblaient planter "
3308
  "votre blog. %s"
3309
 
3310
+ #: lib/install.php:128
3311
  msgid ""
3312
  "Changes have been undone. You may need to modify your selection and try "
3313
  "again."
3315
  "Les modifications ont été annulées. Vous devriez peut-être modifier votre "
3316
  "sélection et réessayer."
3317
 
3318
+ #: lib/install.php:138
3319
  #, php-format
3320
  msgid "The website front-end returned: HTTP %s %s."
3321
  msgstr "La page d'accueil du site a retourné : HTTP %s %s."
3322
 
3323
+ #: lib/install.php:150
3324
  #, php-format
3325
  msgid "The website front-end returned a fatal error: %s."
3326
  msgstr "La page d'accueil du site a retourné une erreur fatale : %s."
3327
 
3328
+ #: lib/install.php:240 lib/install.php:265 lib/install.php:290
3329
+ #: lib/install.php:311
3330
  msgid "File is not writable"
3331
  msgstr "Le fichier n'est pas accessible en écriture"
3332
 
3360
  "connexion non-sécurisée (HTTP) en ajoutant la ligne suivante dans votre "
3361
  "fichier <strong>wp-config.php</strong> :"
3362
 
3363
+ #: lib/install_default.php:247
3364
  #, php-format
3365
  msgid ""
3366
  "NinjaFirewall cannot create its <code>nfwlog/</code>log and cache folder; "
4110
 
4111
  #: lib/monitoring_file_check.php:765 lib/monitoring_file_check.php:767
4112
  #: lib/monitoring_file_check.php:792 lib/monitoring_file_check.php:794
4113
+ #: lib/security_rules_update.php:568 lib/security_rules_update.php:570
4114
+ #: lib/utils.php:217 lib/utils.php:779 lib/utils.php:943 lib/utils.php:1229
4115
  msgid "Blog:"
4116
  msgstr "Blog :"
4117
 
4118
  #: lib/monitoring_file_check.php:769 lib/monitoring_file_check.php:796
4119
+ #: lib/security_rules_update.php:573
4120
  #, php-format
4121
  msgid "Date: %s"
4122
  msgstr "Date : %s"
4210
  msgid "Save Network options"
4211
  msgstr "Sauvegarder les options"
4212
 
4213
+ #: lib/security_rules.php:44 lib/security_rules_update.php:574
4214
  #: ninjafirewall.php:794
4215
  msgid "Security Rules"
4216
  msgstr "Règles de Sécurité"
4322
  msgid "Security rules have been updated."
4323
  msgstr "Les règles de sécurité ont été mises à jour."
4324
 
4325
+ #: lib/security_rules_update.php:91 lib/security_rules_update.php:450
4326
  msgid "No security rules update available."
4327
  msgstr "Aucune mise à jour des règles de sécurité disponible."
4328
 
4427
  "Erreur : Le fichier des règles téléchargé semblent corrompu (unserialized "
4428
  "rules seem corrupted)."
4429
 
4430
+ #: lib/security_rules_update.php:393
4431
  #, php-format
4432
  msgid "Security rules updated to version %s."
4433
  msgstr "Les règles de sécurité ont été mises à jour vers la version %s."
4434
 
4435
+ #: lib/security_rules_update.php:439
4436
  msgid "Error: Unable to retrieve the new rules version."
4437
  msgstr "Erreur : Impossible de récupérer la nouvelle version des règles."
4438
 
4439
+ #: lib/security_rules_update.php:457
4440
  #, php-format
4441
  msgid "Error: Server returned a %s HTTP error code (#1)."
4442
  msgstr "Erreur : Le serveur a retourné un code d'erreur HTTP %s (#1)."
4443
 
4444
+ #: lib/security_rules_update.php:464 lib/security_rules_update.php:530
4445
  msgid "Error: Unable to connect to the remote server"
4446
  msgstr "Erreur : Impossible de se connecter au serveur distant"
4447
 
4448
+ #: lib/security_rules_update.php:494
4449
  #, php-format
4450
  msgid "Error: The new rules versions do not match (%s != %s)."
4451
  msgstr ""
4452
  "Erreur : La versions des nouvelles règles ne correspond pas (%s != %s)."
4453
 
4454
+ #: lib/security_rules_update.php:508
4455
  #, php-format
4456
  msgid ""
4457
  "Error: The new rules %s digital signature is not correct. Aborting update, "
4460
  "Erreur : La signature numérique des nouvelles règles %s n'est pas correcte. "
4461
  "Annulation de la mise à jour, les règles ont peut-être été altérées."
4462
 
4463
+ #: lib/security_rules_update.php:523
4464
  #, php-format
4465
  msgid "Error: Server returned a %s HTTP error code (#2)."
4466
  msgstr "Erreur : Le serveur a retourné un code d'erreur HTTP %s (#2)."
4467
 
4468
+ #: lib/security_rules_update.php:565
4469
  msgid "[NinjaFirewall] Security rules update"
4470
  msgstr "[NinjaFirewall] Mise à jour des règles de sécurité"
4471
 
4472
+ #: lib/security_rules_update.php:566
4473
  msgid "NinjaFirewall security rules have been updated:"
4474
  msgstr "Les règles de sécurité de NinjaFirewall ont été mises à jour :"
4475
 
4476
+ #: lib/security_rules_update.php:572
4477
  msgid "Rules version:"
4478
  msgstr "Version des règles :"
4479
 
4480
+ #: lib/security_rules_update.php:574
4481
  #, php-format
4482
  msgid "This notification can be turned off from NinjaFirewall \"%s\" page."
4483
  msgstr ""
4613
  msgid "Finish"
4614
  msgstr "Finaliser"
4615
 
4616
+ #: lib/utils.php:203
4617
  msgid "Blocked user account creation"
4618
  msgstr "Création de compte d'utilisateur bloquée"
4619
 
4620
+ #: lib/utils.php:215
4621
  msgid "NinjaFirewall has blocked an attempt to create a user account:"
4622
  msgstr ""
4623
  "NinjaFirewall a bloqué une tentative de création d'un compte d'utilisateur :"
4624
 
4625
+ #: lib/utils.php:218 lib/utils.php:948
4626
  msgid "Username:"
4627
  msgstr "Utilisateur :"
4628
 
4629
+ #: lib/utils.php:219 lib/utils.php:953 lib/utils.php:1230
4630
  msgid "User IP:"
4631
  msgstr "IP utilisateur :"
4632
 
4633
+ #: lib/utils.php:231 lib/utils.php:965 lib/utils.php:1225
4634
  msgid "A PHP backtrace has been attached to this message for your convenience."
4635
  msgstr ""
4636
  "La pile d'exécution de PHP est jointe à ce message pour votre commodité."
4637
 
4638
+ #: lib/utils.php:254 lib/utils.php:255 lib/utils.php:989 lib/utils.php:990
4639
  msgid "You are not allowed to perform this task."
4640
  msgstr "Vous n'êtes pas autorisé à effectuer cette tâche."
4641
 
4642
+ #: lib/utils.php:528 lib/utils.php:532
4643
  msgid "NinjaFirewall error"
4644
  msgstr "NinjaFirewall Erreur"
4645
 
4646
+ #: lib/utils.php:529
4647
  #, php-format
4648
  msgid ""
4649
  "%s directory cannot be created. Please review your installation and ensure "
4652
  "Le répertoire %s ne peut pas être créé. Vérifiez votre installation et "
4653
  "assurez vous que %s n'est pas en lecture seule."
4654
 
4655
+ #: lib/utils.php:533
4656
  #, php-format
4657
  msgid ""
4658
  "%s directory is read-only. Please review your installation and ensure that "
4661
  "Le répertoire %s est en lecture seule. Vérifiez votre installation et les "
4662
  "permissions de %s."
4663
 
4664
+ #: lib/utils.php:552
4665
  msgid "unknown error"
4666
  msgstr "erreur inconnue"
4667
 
4668
+ #: lib/utils.php:554
4669
  msgid "NinjaFirewall fatal error:"
4670
  msgstr "NinjaFirewall erreur fatale :"
4671
 
4672
+ #: lib/utils.php:555
4673
  msgid "Review your installation, your site is not protected."
4674
  msgstr "Vérifiez votre installation, votre site n'est pas protégé."
4675
 
4676
+ #: lib/utils.php:572
4677
  msgid "Alert: WordPress console login"
4678
  msgstr "Alerte : Connexion à WordPress"
4679
 
4680
+ #: lib/utils.php:578
4681
  msgid "Someone just logged in to your WordPress admin console:"
4682
  msgstr "Quelqu'un vient de se connecter à votre Tableau de bord de WordPress:"
4683
 
4684
+ #: lib/utils.php:584
4685
  msgid "Support forum"
4686
  msgstr "Forum "
4687
 
4688
+ #: lib/utils.php:645 lib/utils.php:672
4689
  msgid "Forbidden access"
4690
  msgstr "Accès interdit"
4691
 
4692
+ #: lib/utils.php:691
4693
  #, php-format
4694
  msgid ""
4695
  "<strong>ERROR</strong>: Invalid username or password.<br /><a href=\"%s"
4698
  "<strong>ERREUR</strong>: Identifiant ou mot de passe invalide.<br /><a href="
4699
  "\"%s\">Mot de passe perdu</a> ?"
4700
 
4701
+ #: lib/utils.php:775
4702
  msgid "[NinjaFirewall] Alert: Database changes detected"
4703
  msgstr "[NinjaFirewall] Alerte: Modification dans la base de données"
4704
 
4705
+ #: lib/utils.php:776
4706
  msgid ""
4707
  "NinjaFirewall has detected that one or more administrator accounts were "
4708
  "modified in the database:"
4710
  "NinjaFirewall a détecté que un ou plusieurs comptes d'administrateur ont été "
4711
  "modifiés dans la base de données:"
4712
 
4713
+ #: lib/utils.php:781
4714
  #, php-format
4715
  msgid "Total administrators : %s"
4716
  msgstr "Nombre d'administrateurs : %s"
4717
 
4718
+ #: lib/utils.php:790
4719
  msgid ""
4720
  "If you cannot see any modifications in the above fields, it is possible that "
4721
  "the administrator password was changed."
4723
  "Si vous ne voyez pas de modifications dans les données ci-dessus, il est "
4724
  "possible que le mot de passe administrateur ait été changé."
4725
 
4726
+ #: lib/utils.php:928
4727
  msgid "Blocked privilege escalation attempt"
4728
  msgstr "Tentatives d'élévation des privilèges"
4729
 
4730
+ #: lib/utils.php:941
4731
  msgid ""
4732
  "NinjaFirewall has blocked an attempt to modify a user capability by someone "
4733
  "who does not have administrative privileges:"
4735
  "NinjaFirewall a bloqué une tentative de modification de certaines Capacités "
4736
  "par un utilisateur ne disposant pas de privilèges administratifs :"
4737
 
4738
+ #: lib/utils.php:968 lib/utils.php:1235
4739
  msgid ""
4740
  "This protection (and notification) can be turned off from NinjaFirewall "
4741
  "\"Firewall Policies\" page."
4743
  "Cette protection (et notification) peut être désactivée à partir de la page "
4744
  "\"Politiques du Pare-feu\" de NinjaFirewall."
4745
 
4746
+ #: lib/utils.php:1001
4747
  msgid ""
4748
  "NinjaFirewall brute-force protection is enabled and you are temporarily "
4749
  "whitelisted."
4751
  "La protection de NinjaFirewall contre les attaques par force brute est "
4752
  "activée. Vous êtes temporairement dans la liste blanche."
4753
 
4754
+ #: lib/utils.php:1016
4755
  #, php-format
4756
  msgid ""
4757
  "Hey, it seems that you've been using NinjaFirewall for some time. If you "
4764
  "a>. Il a fallu des milliers d'heures pour le développer, mais il suffit "
4765
  "seulement de quelques minutes pour le noter. Merci !"
4766
 
4767
+ #: lib/utils.php:1197
4768
  msgid ""
4769
  "The attempt was blocked and the option was reversed to its original value."
4770
  msgstr ""
4771
  "La tentative a été bloquée et l'option a été remise à sa valeur d'origine."
4772
 
4773
+ #: lib/utils.php:1202
4774
  msgid "Attempt to modify WordPress settings"
4775
  msgstr "Tentative de modification des paramètres de WordPress"
4776
 
4777
+ #: lib/utils.php:1203
4778
  msgid ""
4779
  "NinjaFirewall has blocked an attempt to modify some important WordPress "
4780
  "settings by a user that does not have administrative privileges:"
4783
  "importants de WordPress par un utilisateur ne disposant pas de privilèges "
4784
  "administratifs :"
4785
 
4786
+ #: lib/utils.php:1204 lib/utils.php:1213
4787
  #, php-format
4788
  msgid "Option: %s"
4789
  msgstr "Option: %s"
4790
 
4791
+ #: lib/utils.php:1205
4792
  #, php-format
4793
  msgid "Original value: %s"
4794
  msgstr "Valeur originale : %s"
4795
 
4796
+ #: lib/utils.php:1206
4797
  #, php-format
4798
  msgid "Modified value: %s"
4799
  msgstr "Valeur modifiée : %s"
4800
 
4801
+ #: lib/utils.php:1207 lib/utils.php:1215
4802
  #, php-format
4803
  msgid "Action taken: %s"
4804
  msgstr "Action prise : %s"
4805
 
4806
+ #: lib/utils.php:1211
4807
  msgid "Code injection attempt in WordPress options table"
4808
  msgstr "Tentative d'injection de code dans la table des options de WordPress"
4809
 
4810
+ #: lib/utils.php:1212
4811
  msgid ""
4812
  "NinjaFirewall has blocked an attempt to inject code in the WordPress options "
4813
  "table by a user that does not have administrative privileges:"
4816
  "options de WordPress par un utilisateur ne disposant pas de privilèges "
4817
  "administratifs :"
4818
 
4819
+ #: lib/utils.php:1214
4820
  #, php-format
4821
  msgid "Code: %s"
4822
  msgstr "Code : %s"
4823
 
4824
+ #: lib/utils.php:1270
4825
  #, php-format
4826
  msgid "Error, cannot create the %s folder."
4827
  msgstr "Erreur, impossible de créer le répertoire %s."
4828
 
4829
+ #: lib/utils.php:1270 lib/utils.php:1278 lib/utils.php:1286
4830
  msgid "Check your server permissions and try again."
4831
  msgstr "Vérifiez les autorisations de votre serveur et réessayez."
4832
 
4833
+ #: lib/utils.php:1278
4834
  #, php-format
4835
  msgid "Error, the %s folder is not writable."
4836
  msgstr "Erreur, le répertoire %s est en lecture seule."
4837
 
4838
+ #: lib/utils.php:1286
4839
  #, php-format
4840
  msgid "Error, cannot write %s."
4841
  msgstr "Erreur, impossible d'écrire dans %s."
5564
  msgid "Rate it!"
5565
  msgstr "Notez-le !"
5566
 
5567
+ #~ msgid "[NinjaFirewall] Security update available"
5568
+ #~ msgstr "[NinjaFirewall] Mise à jour de sécurité en attente"
5569
+
5570
  #~ msgid ""
5571
  #~ "Don't leave your blog at risk and make sure to update as soon as possible."
5572
  #~ msgstr ""
languages/ninjafirewall.pot CHANGED
@@ -2,7 +2,7 @@
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Stable (latest release)\n"
5
- "POT-Creation-Date: 2020-01-18 16:33+0700\n"
6
  "PO-Revision-Date: 2018-04-05 22:52+0700\n"
7
  "Last-Translator: NinTechNet <contact@nintechnet.com>\n"
8
  "Language-Team: \n"
@@ -286,7 +286,7 @@ msgstr ""
286
  msgid "Centralized Logging"
287
  msgstr ""
288
 
289
- #: lib/dashboard.php:317 lib/security_rules_update.php:415
290
  #, php-format
291
  msgid "Error: %s"
292
  msgstr ""
@@ -675,23 +675,23 @@ msgstr ""
675
  msgid "Blocked brute-force attacks:"
676
  msgstr ""
677
 
678
- #: lib/event_notifications.php:497 lib/event_updates.php:216 lib/utils.php:788
679
  msgid ""
680
  "This notification can be turned off from NinjaFirewall \"Event Notifications"
681
  "\" page."
682
  msgstr ""
683
 
684
- #: lib/event_notifications.php:501 lib/event_updates.php:218 lib/events.php:225
685
  #: lib/firewall_options.php:525 lib/monitoring_file_check.php:777
686
- #: lib/monitoring_file_check.php:798 lib/security_rules_update.php:561
687
  msgid "Support forum:"
688
  msgstr ""
689
 
690
- #: lib/event_notifications.php:504 lib/event_updates.php:221 lib/events.php:228
691
  #: lib/firewall_options.php:528 lib/monitoring_file_check.php:780
692
- #: lib/monitoring_file_check.php:801 lib/security_rules_update.php:564
693
- #: lib/utils.php:235 lib/utils.php:584 lib/utils.php:793 lib/utils.php:971
694
- #: lib/utils.php:1284
695
  #, php-format
696
  msgid ""
697
  "Need more security? Check out our supercharged NinjaFirewall (WP+ Edition): "
@@ -699,7 +699,7 @@ msgid ""
699
  msgstr ""
700
 
701
  #: lib/event_updates.php:157
702
- msgid "[NinjaFirewall] Security update available"
703
  msgstr ""
704
 
705
  #: lib/event_updates.php:159
@@ -708,8 +708,8 @@ msgid ""
708
  "your website:"
709
  msgstr ""
710
 
711
- #: lib/event_updates.php:160 lib/utils.php:219 lib/utils.php:777
712
- #: lib/utils.php:954 lib/utils.php:1277
713
  msgid "Date:"
714
  msgstr ""
715
 
@@ -718,39 +718,43 @@ msgstr ""
718
  msgid "Blog: %s"
719
  msgstr ""
720
 
721
- #: lib/event_updates.php:171 lib/event_updates.php:185
722
- #: lib/event_updates.php:202
723
  #, php-format
724
  msgid "Your version: %s"
725
  msgstr ""
726
 
727
- #: lib/event_updates.php:172 lib/event_updates.php:186
728
- #: lib/event_updates.php:203
729
  #, php-format
730
  msgid "New version: %s"
731
  msgstr ""
732
 
733
- #: lib/event_updates.php:174 lib/event_updates.php:189
734
- #: lib/event_updates.php:206
735
  msgid "Severity: This is an important security update"
736
  msgstr ""
737
 
738
- #: lib/event_updates.php:176 lib/event_updates.php:191
739
- #: lib/event_updates.php:208
740
  msgid "Severity: **This is a critical security update**"
741
  msgstr ""
742
 
743
- #: lib/event_updates.php:184
 
 
 
 
744
  #, php-format
745
  msgid "Plugin: %s"
746
  msgstr ""
747
 
748
- #: lib/event_updates.php:201
749
  #, php-format
750
  msgid "Theme: %s"
751
  msgstr ""
752
 
753
- #: lib/event_updates.php:214
754
  msgid "Don't leave your blog at risk, make sure to update as soon as possible."
755
  msgstr ""
756
 
@@ -801,7 +805,7 @@ msgstr ""
801
  msgid "[NinjaFirewall] Alert: %s"
802
  msgstr ""
803
 
804
- #: lib/events.php:213 lib/events.php:215 lib/utils.php:571
805
  msgid "-Blog:"
806
  msgstr ""
807
 
@@ -809,15 +813,15 @@ msgstr ""
809
  msgid "NinjaFirewall has detected the following activity on your account:"
810
  msgstr ""
811
 
812
- #: lib/events.php:220 lib/utils.php:576
813
  msgid "-User:"
814
  msgstr ""
815
 
816
- #: lib/events.php:221 lib/utils.php:577
817
  msgid "-IP:"
818
  msgstr ""
819
 
820
- #: lib/events.php:222 lib/utils.php:578
821
  msgid "-Date:"
822
  msgstr ""
823
 
@@ -2657,48 +2661,48 @@ msgid ""
2657
  "\"Firewall Policies\" page."
2658
  msgstr ""
2659
 
2660
- #: lib/install.php:70
2661
  #, php-format
2662
  msgid ""
2663
  "Error: Your .htaccess file is not writable, please change its permissions: %s"
2664
  msgstr ""
2665
 
2666
- #: lib/install.php:95 ninjafirewall.php:594 ninjafirewall.php:598
2667
  #, php-format
2668
  msgid "Error: wrong parameter value (%s)."
2669
  msgstr ""
2670
 
2671
- #: lib/install.php:102 lib/install.php:183 lib/install.php:204
2672
  #, php-format
2673
  msgid ""
2674
  "Error: The following file is not writable, please change its permissions: %s"
2675
  msgstr ""
2676
 
2677
- #: lib/install.php:125
2678
  #, php-format
2679
  msgid ""
2680
  "NinjaFirewall detected that the requested changes seemed to crash your blog. "
2681
  "%s"
2682
  msgstr ""
2683
 
2684
- #: lib/install.php:126
2685
  msgid ""
2686
  "Changes have been undone. You may need to modify your selection and try "
2687
  "again."
2688
  msgstr ""
2689
 
2690
- #: lib/install.php:136
2691
  #, php-format
2692
  msgid "The website front-end returned: HTTP %s %s."
2693
  msgstr ""
2694
 
2695
- #: lib/install.php:148
2696
  #, php-format
2697
  msgid "The website front-end returned a fatal error: %s."
2698
  msgstr ""
2699
 
2700
- #: lib/install.php:238 lib/install.php:263 lib/install.php:288
2701
- #: lib/install.php:309
2702
  msgid "File is not writable"
2703
  msgstr ""
2704
 
@@ -2722,7 +2726,7 @@ msgid ""
2722
  "config.php</strong> file:"
2723
  msgstr ""
2724
 
2725
- #: lib/install_default.php:232
2726
  #, php-format
2727
  msgid ""
2728
  "NinjaFirewall cannot create its <code>nfwlog/</code>log and cache folder; "
@@ -3416,13 +3420,13 @@ msgstr ""
3416
 
3417
  #: lib/monitoring_file_check.php:765 lib/monitoring_file_check.php:767
3418
  #: lib/monitoring_file_check.php:792 lib/monitoring_file_check.php:794
3419
- #: lib/security_rules_update.php:553 lib/security_rules_update.php:555
3420
- #: lib/utils.php:214 lib/utils.php:776 lib/utils.php:941 lib/utils.php:1273
3421
  msgid "Blog:"
3422
  msgstr ""
3423
 
3424
  #: lib/monitoring_file_check.php:769 lib/monitoring_file_check.php:796
3425
- #: lib/security_rules_update.php:558
3426
  #, php-format
3427
  msgid "Date: %s"
3428
  msgstr ""
@@ -3503,7 +3507,7 @@ msgstr ""
3503
  msgid "Save Network options"
3504
  msgstr ""
3505
 
3506
- #: lib/security_rules.php:44 lib/security_rules_update.php:559
3507
  #: ninjafirewall.php:794
3508
  msgid "Security Rules"
3509
  msgstr ""
@@ -3606,7 +3610,7 @@ msgstr ""
3606
  msgid "Security rules have been updated."
3607
  msgstr ""
3608
 
3609
- #: lib/security_rules_update.php:91 lib/security_rules_update.php:435
3610
  msgid "No security rules update available."
3611
  msgstr ""
3612
 
@@ -3696,54 +3700,54 @@ msgstr ""
3696
  msgid "Error: Unserialized rules seem corrupted."
3697
  msgstr ""
3698
 
3699
- #: lib/security_rules_update.php:378
3700
  #, php-format
3701
  msgid "Security rules updated to version %s."
3702
  msgstr ""
3703
 
3704
- #: lib/security_rules_update.php:424
3705
  msgid "Error: Unable to retrieve the new rules version."
3706
  msgstr ""
3707
 
3708
- #: lib/security_rules_update.php:442
3709
  #, php-format
3710
  msgid "Error: Server returned a %s HTTP error code (#1)."
3711
  msgstr ""
3712
 
3713
- #: lib/security_rules_update.php:449 lib/security_rules_update.php:515
3714
  msgid "Error: Unable to connect to the remote server"
3715
  msgstr ""
3716
 
3717
- #: lib/security_rules_update.php:479
3718
  #, php-format
3719
  msgid "Error: The new rules versions do not match (%s != %s)."
3720
  msgstr ""
3721
 
3722
- #: lib/security_rules_update.php:493
3723
  #, php-format
3724
  msgid ""
3725
  "Error: The new rules %s digital signature is not correct. Aborting update, "
3726
  "rules may have been tampered with."
3727
  msgstr ""
3728
 
3729
- #: lib/security_rules_update.php:508
3730
  #, php-format
3731
  msgid "Error: Server returned a %s HTTP error code (#2)."
3732
  msgstr ""
3733
 
3734
- #: lib/security_rules_update.php:550
3735
  msgid "[NinjaFirewall] Security rules update"
3736
  msgstr ""
3737
 
3738
- #: lib/security_rules_update.php:551
3739
  msgid "NinjaFirewall security rules have been updated:"
3740
  msgstr ""
3741
 
3742
- #: lib/security_rules_update.php:557
3743
  msgid "Rules version:"
3744
  msgstr ""
3745
 
3746
- #: lib/security_rules_update.php:559
3747
  #, php-format
3748
  msgid "This notification can be turned off from NinjaFirewall \"%s\" page."
3749
  msgstr ""
@@ -3846,127 +3850,127 @@ msgstr ""
3846
  msgid "Finish"
3847
  msgstr ""
3848
 
3849
- #: lib/utils.php:200
3850
  msgid "Blocked user account creation"
3851
  msgstr ""
3852
 
3853
- #: lib/utils.php:212
3854
  msgid "NinjaFirewall has blocked an attempt to create a user account:"
3855
  msgstr ""
3856
 
3857
- #: lib/utils.php:215 lib/utils.php:946
3858
  msgid "Username:"
3859
  msgstr ""
3860
 
3861
- #: lib/utils.php:216 lib/utils.php:951 lib/utils.php:1274
3862
  msgid "User IP:"
3863
  msgstr ""
3864
 
3865
- #: lib/utils.php:228 lib/utils.php:963 lib/utils.php:1269
3866
  msgid "A PHP backtrace has been attached to this message for your convenience."
3867
  msgstr ""
3868
 
3869
- #: lib/utils.php:251 lib/utils.php:252 lib/utils.php:987 lib/utils.php:988
3870
  msgid "You are not allowed to perform this task."
3871
  msgstr ""
3872
 
3873
- #: lib/utils.php:525 lib/utils.php:529
3874
  msgid "NinjaFirewall error"
3875
  msgstr ""
3876
 
3877
- #: lib/utils.php:526
3878
  #, php-format
3879
  msgid ""
3880
  "%s directory cannot be created. Please review your installation and ensure "
3881
  "that %s is writable."
3882
  msgstr ""
3883
 
3884
- #: lib/utils.php:530
3885
  #, php-format
3886
  msgid ""
3887
  "%s directory is read-only. Please review your installation and ensure that "
3888
  "%s is writable."
3889
  msgstr ""
3890
 
3891
- #: lib/utils.php:549
3892
  msgid "unknown error"
3893
  msgstr ""
3894
 
3895
- #: lib/utils.php:551
3896
  msgid "NinjaFirewall fatal error:"
3897
  msgstr ""
3898
 
3899
- #: lib/utils.php:552
3900
  msgid "Review your installation, your site is not protected."
3901
  msgstr ""
3902
 
3903
- #: lib/utils.php:569
3904
  msgid "Alert: WordPress console login"
3905
  msgstr ""
3906
 
3907
- #: lib/utils.php:575
3908
  msgid "Someone just logged in to your WordPress admin console:"
3909
  msgstr ""
3910
 
3911
- #: lib/utils.php:581
3912
  msgid "Support forum"
3913
  msgstr ""
3914
 
3915
- #: lib/utils.php:642 lib/utils.php:669
3916
  msgid "Forbidden access"
3917
  msgstr ""
3918
 
3919
- #: lib/utils.php:688
3920
  #, php-format
3921
  msgid ""
3922
  "<strong>ERROR</strong>: Invalid username or password.<br /><a href=\"%s"
3923
  "\">Lost your password</a>?"
3924
  msgstr ""
3925
 
3926
- #: lib/utils.php:772
3927
  msgid "[NinjaFirewall] Alert: Database changes detected"
3928
  msgstr ""
3929
 
3930
- #: lib/utils.php:773
3931
  msgid ""
3932
  "NinjaFirewall has detected that one or more administrator accounts were "
3933
  "modified in the database:"
3934
  msgstr ""
3935
 
3936
- #: lib/utils.php:778
3937
  #, php-format
3938
  msgid "Total administrators : %s"
3939
  msgstr ""
3940
 
3941
- #: lib/utils.php:787
3942
  msgid ""
3943
  "If you cannot see any modifications in the above fields, it is possible that "
3944
  "the administrator password was changed."
3945
  msgstr ""
3946
 
3947
- #: lib/utils.php:926
3948
  msgid "Blocked privilege escalation attempt"
3949
  msgstr ""
3950
 
3951
- #: lib/utils.php:939
3952
  msgid ""
3953
  "NinjaFirewall has blocked an attempt to modify a user capability by someone "
3954
  "who does not have administrative privileges:"
3955
  msgstr ""
3956
 
3957
- #: lib/utils.php:966 lib/utils.php:1279
3958
  msgid ""
3959
  "This protection (and notification) can be turned off from NinjaFirewall "
3960
  "\"Firewall Policies\" page."
3961
  msgstr ""
3962
 
3963
- #: lib/utils.php:999
3964
  msgid ""
3965
  "NinjaFirewall brute-force protection is enabled and you are temporarily "
3966
  "whitelisted."
3967
  msgstr ""
3968
 
3969
- #: lib/utils.php:1014
3970
  #, php-format
3971
  msgid ""
3972
  "Hey, it seems that you've been using NinjaFirewall for some time. If you "
@@ -3975,71 +3979,71 @@ msgid ""
3975
  "rate it. Thank you!"
3976
  msgstr ""
3977
 
3978
- #: lib/utils.php:1241
3979
  msgid ""
3980
  "The attempt was blocked and the option was reversed to its original value."
3981
  msgstr ""
3982
 
3983
- #: lib/utils.php:1246
3984
  msgid "Attempt to modify WordPress settings"
3985
  msgstr ""
3986
 
3987
- #: lib/utils.php:1247
3988
  msgid ""
3989
  "NinjaFirewall has blocked an attempt to modify some important WordPress "
3990
  "settings by a user that does not have administrative privileges:"
3991
  msgstr ""
3992
 
3993
- #: lib/utils.php:1248 lib/utils.php:1257
3994
  #, php-format
3995
  msgid "Option: %s"
3996
  msgstr ""
3997
 
3998
- #: lib/utils.php:1249
3999
  #, php-format
4000
  msgid "Original value: %s"
4001
  msgstr ""
4002
 
4003
- #: lib/utils.php:1250
4004
  #, php-format
4005
  msgid "Modified value: %s"
4006
  msgstr ""
4007
 
4008
- #: lib/utils.php:1251 lib/utils.php:1259
4009
  #, php-format
4010
  msgid "Action taken: %s"
4011
  msgstr ""
4012
 
4013
- #: lib/utils.php:1255
4014
  msgid "Code injection attempt in WordPress options table"
4015
  msgstr ""
4016
 
4017
- #: lib/utils.php:1256
4018
  msgid ""
4019
  "NinjaFirewall has blocked an attempt to inject code in the WordPress options "
4020
  "table by a user that does not have administrative privileges:"
4021
  msgstr ""
4022
 
4023
- #: lib/utils.php:1258
4024
  #, php-format
4025
  msgid "Code: %s"
4026
  msgstr ""
4027
 
4028
- #: lib/utils.php:1314
4029
  #, php-format
4030
  msgid "Error, cannot create the %s folder."
4031
  msgstr ""
4032
 
4033
- #: lib/utils.php:1314 lib/utils.php:1322 lib/utils.php:1330
4034
  msgid "Check your server permissions and try again."
4035
  msgstr ""
4036
 
4037
- #: lib/utils.php:1322
4038
  #, php-format
4039
  msgid "Error, the %s folder is not writable."
4040
  msgstr ""
4041
 
4042
- #: lib/utils.php:1330
4043
  #, php-format
4044
  msgid "Error, cannot write %s."
4045
  msgstr ""
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Stable (latest release)\n"
5
+ "POT-Creation-Date: 2020-03-14 00:41+0700\n"
6
  "PO-Revision-Date: 2018-04-05 22:52+0700\n"
7
  "Last-Translator: NinTechNet <contact@nintechnet.com>\n"
8
  "Language-Team: \n"
286
  msgid "Centralized Logging"
287
  msgstr ""
288
 
289
+ #: lib/dashboard.php:317 lib/security_rules_update.php:430
290
  #, php-format
291
  msgid "Error: %s"
292
  msgstr ""
675
  msgid "Blocked brute-force attacks:"
676
  msgstr ""
677
 
678
+ #: lib/event_notifications.php:497 lib/event_updates.php:218 lib/utils.php:791
679
  msgid ""
680
  "This notification can be turned off from NinjaFirewall \"Event Notifications"
681
  "\" page."
682
  msgstr ""
683
 
684
+ #: lib/event_notifications.php:501 lib/event_updates.php:220 lib/events.php:225
685
  #: lib/firewall_options.php:525 lib/monitoring_file_check.php:777
686
+ #: lib/monitoring_file_check.php:798 lib/security_rules_update.php:576
687
  msgid "Support forum:"
688
  msgstr ""
689
 
690
+ #: lib/event_notifications.php:504 lib/event_updates.php:223 lib/events.php:228
691
  #: lib/firewall_options.php:528 lib/monitoring_file_check.php:780
692
+ #: lib/monitoring_file_check.php:801 lib/security_rules_update.php:579
693
+ #: lib/utils.php:238 lib/utils.php:587 lib/utils.php:796 lib/utils.php:973
694
+ #: lib/utils.php:1240
695
  #, php-format
696
  msgid ""
697
  "Need more security? Check out our supercharged NinjaFirewall (WP+ Edition): "
699
  msgstr ""
700
 
701
  #: lib/event_updates.php:157
702
+ msgid "[NinjaFirewall] Warning: Security update available"
703
  msgstr ""
704
 
705
  #: lib/event_updates.php:159
708
  "your website:"
709
  msgstr ""
710
 
711
+ #: lib/event_updates.php:160 lib/utils.php:222 lib/utils.php:780
712
+ #: lib/utils.php:956 lib/utils.php:1233
713
  msgid "Date:"
714
  msgstr ""
715
 
718
  msgid "Blog: %s"
719
  msgstr ""
720
 
721
+ #: lib/event_updates.php:171 lib/event_updates.php:187
722
+ #: lib/event_updates.php:204
723
  #, php-format
724
  msgid "Your version: %s"
725
  msgstr ""
726
 
727
+ #: lib/event_updates.php:172 lib/event_updates.php:188
728
+ #: lib/event_updates.php:205
729
  #, php-format
730
  msgid "New version: %s"
731
  msgstr ""
732
 
733
+ #: lib/event_updates.php:174 lib/event_updates.php:191
734
+ #: lib/event_updates.php:208
735
  msgid "Severity: This is an important security update"
736
  msgstr ""
737
 
738
+ #: lib/event_updates.php:176 lib/event_updates.php:193
739
+ #: lib/event_updates.php:210
740
  msgid "Severity: **This is a critical security update**"
741
  msgstr ""
742
 
743
+ #: lib/event_updates.php:178
744
+ msgid "Type: Security fix"
745
+ msgstr ""
746
+
747
+ #: lib/event_updates.php:186
748
  #, php-format
749
  msgid "Plugin: %s"
750
  msgstr ""
751
 
752
+ #: lib/event_updates.php:203
753
  #, php-format
754
  msgid "Theme: %s"
755
  msgstr ""
756
 
757
+ #: lib/event_updates.php:216
758
  msgid "Don't leave your blog at risk, make sure to update as soon as possible."
759
  msgstr ""
760
 
805
  msgid "[NinjaFirewall] Alert: %s"
806
  msgstr ""
807
 
808
+ #: lib/events.php:213 lib/events.php:215 lib/utils.php:574
809
  msgid "-Blog:"
810
  msgstr ""
811
 
813
  msgid "NinjaFirewall has detected the following activity on your account:"
814
  msgstr ""
815
 
816
+ #: lib/events.php:220 lib/utils.php:579
817
  msgid "-User:"
818
  msgstr ""
819
 
820
+ #: lib/events.php:221 lib/utils.php:580
821
  msgid "-IP:"
822
  msgstr ""
823
 
824
+ #: lib/events.php:222 lib/utils.php:581
825
  msgid "-Date:"
826
  msgstr ""
827
 
2661
  "\"Firewall Policies\" page."
2662
  msgstr ""
2663
 
2664
+ #: lib/install.php:72
2665
  #, php-format
2666
  msgid ""
2667
  "Error: Your .htaccess file is not writable, please change its permissions: %s"
2668
  msgstr ""
2669
 
2670
+ #: lib/install.php:97 ninjafirewall.php:594 ninjafirewall.php:598
2671
  #, php-format
2672
  msgid "Error: wrong parameter value (%s)."
2673
  msgstr ""
2674
 
2675
+ #: lib/install.php:104 lib/install.php:185 lib/install.php:206
2676
  #, php-format
2677
  msgid ""
2678
  "Error: The following file is not writable, please change its permissions: %s"
2679
  msgstr ""
2680
 
2681
+ #: lib/install.php:127
2682
  #, php-format
2683
  msgid ""
2684
  "NinjaFirewall detected that the requested changes seemed to crash your blog. "
2685
  "%s"
2686
  msgstr ""
2687
 
2688
+ #: lib/install.php:128
2689
  msgid ""
2690
  "Changes have been undone. You may need to modify your selection and try "
2691
  "again."
2692
  msgstr ""
2693
 
2694
+ #: lib/install.php:138
2695
  #, php-format
2696
  msgid "The website front-end returned: HTTP %s %s."
2697
  msgstr ""
2698
 
2699
+ #: lib/install.php:150
2700
  #, php-format
2701
  msgid "The website front-end returned a fatal error: %s."
2702
  msgstr ""
2703
 
2704
+ #: lib/install.php:240 lib/install.php:265 lib/install.php:290
2705
+ #: lib/install.php:311
2706
  msgid "File is not writable"
2707
  msgstr ""
2708
 
2726
  "config.php</strong> file:"
2727
  msgstr ""
2728
 
2729
+ #: lib/install_default.php:247
2730
  #, php-format
2731
  msgid ""
2732
  "NinjaFirewall cannot create its <code>nfwlog/</code>log and cache folder; "
3420
 
3421
  #: lib/monitoring_file_check.php:765 lib/monitoring_file_check.php:767
3422
  #: lib/monitoring_file_check.php:792 lib/monitoring_file_check.php:794
3423
+ #: lib/security_rules_update.php:568 lib/security_rules_update.php:570
3424
+ #: lib/utils.php:217 lib/utils.php:779 lib/utils.php:943 lib/utils.php:1229
3425
  msgid "Blog:"
3426
  msgstr ""
3427
 
3428
  #: lib/monitoring_file_check.php:769 lib/monitoring_file_check.php:796
3429
+ #: lib/security_rules_update.php:573
3430
  #, php-format
3431
  msgid "Date: %s"
3432
  msgstr ""
3507
  msgid "Save Network options"
3508
  msgstr ""
3509
 
3510
+ #: lib/security_rules.php:44 lib/security_rules_update.php:574
3511
  #: ninjafirewall.php:794
3512
  msgid "Security Rules"
3513
  msgstr ""
3610
  msgid "Security rules have been updated."
3611
  msgstr ""
3612
 
3613
+ #: lib/security_rules_update.php:91 lib/security_rules_update.php:450
3614
  msgid "No security rules update available."
3615
  msgstr ""
3616
 
3700
  msgid "Error: Unserialized rules seem corrupted."
3701
  msgstr ""
3702
 
3703
+ #: lib/security_rules_update.php:393
3704
  #, php-format
3705
  msgid "Security rules updated to version %s."
3706
  msgstr ""
3707
 
3708
+ #: lib/security_rules_update.php:439
3709
  msgid "Error: Unable to retrieve the new rules version."
3710
  msgstr ""
3711
 
3712
+ #: lib/security_rules_update.php:457
3713
  #, php-format
3714
  msgid "Error: Server returned a %s HTTP error code (#1)."
3715
  msgstr ""
3716
 
3717
+ #: lib/security_rules_update.php:464 lib/security_rules_update.php:530
3718
  msgid "Error: Unable to connect to the remote server"
3719
  msgstr ""
3720
 
3721
+ #: lib/security_rules_update.php:494
3722
  #, php-format
3723
  msgid "Error: The new rules versions do not match (%s != %s)."
3724
  msgstr ""
3725
 
3726
+ #: lib/security_rules_update.php:508
3727
  #, php-format
3728
  msgid ""
3729
  "Error: The new rules %s digital signature is not correct. Aborting update, "
3730
  "rules may have been tampered with."
3731
  msgstr ""
3732
 
3733
+ #: lib/security_rules_update.php:523
3734
  #, php-format
3735
  msgid "Error: Server returned a %s HTTP error code (#2)."
3736
  msgstr ""
3737
 
3738
+ #: lib/security_rules_update.php:565
3739
  msgid "[NinjaFirewall] Security rules update"
3740
  msgstr ""
3741
 
3742
+ #: lib/security_rules_update.php:566
3743
  msgid "NinjaFirewall security rules have been updated:"
3744
  msgstr ""
3745
 
3746
+ #: lib/security_rules_update.php:572
3747
  msgid "Rules version:"
3748
  msgstr ""
3749
 
3750
+ #: lib/security_rules_update.php:574
3751
  #, php-format
3752
  msgid "This notification can be turned off from NinjaFirewall \"%s\" page."
3753
  msgstr ""
3850
  msgid "Finish"
3851
  msgstr ""
3852
 
3853
+ #: lib/utils.php:203
3854
  msgid "Blocked user account creation"
3855
  msgstr ""
3856
 
3857
+ #: lib/utils.php:215
3858
  msgid "NinjaFirewall has blocked an attempt to create a user account:"
3859
  msgstr ""
3860
 
3861
+ #: lib/utils.php:218 lib/utils.php:948
3862
  msgid "Username:"
3863
  msgstr ""
3864
 
3865
+ #: lib/utils.php:219 lib/utils.php:953 lib/utils.php:1230
3866
  msgid "User IP:"
3867
  msgstr ""
3868
 
3869
+ #: lib/utils.php:231 lib/utils.php:965 lib/utils.php:1225
3870
  msgid "A PHP backtrace has been attached to this message for your convenience."
3871
  msgstr ""
3872
 
3873
+ #: lib/utils.php:254 lib/utils.php:255 lib/utils.php:989 lib/utils.php:990
3874
  msgid "You are not allowed to perform this task."
3875
  msgstr ""
3876
 
3877
+ #: lib/utils.php:528 lib/utils.php:532
3878
  msgid "NinjaFirewall error"
3879
  msgstr ""
3880
 
3881
+ #: lib/utils.php:529
3882
  #, php-format
3883
  msgid ""
3884
  "%s directory cannot be created. Please review your installation and ensure "
3885
  "that %s is writable."
3886
  msgstr ""
3887
 
3888
+ #: lib/utils.php:533
3889
  #, php-format
3890
  msgid ""
3891
  "%s directory is read-only. Please review your installation and ensure that "
3892
  "%s is writable."
3893
  msgstr ""
3894
 
3895
+ #: lib/utils.php:552
3896
  msgid "unknown error"
3897
  msgstr ""
3898
 
3899
+ #: lib/utils.php:554
3900
  msgid "NinjaFirewall fatal error:"
3901
  msgstr ""
3902
 
3903
+ #: lib/utils.php:555
3904
  msgid "Review your installation, your site is not protected."
3905
  msgstr ""
3906
 
3907
+ #: lib/utils.php:572
3908
  msgid "Alert: WordPress console login"
3909
  msgstr ""
3910
 
3911
+ #: lib/utils.php:578
3912
  msgid "Someone just logged in to your WordPress admin console:"
3913
  msgstr ""
3914
 
3915
+ #: lib/utils.php:584
3916
  msgid "Support forum"
3917
  msgstr ""
3918
 
3919
+ #: lib/utils.php:645 lib/utils.php:672
3920
  msgid "Forbidden access"
3921
  msgstr ""
3922
 
3923
+ #: lib/utils.php:691
3924
  #, php-format
3925
  msgid ""
3926
  "<strong>ERROR</strong>: Invalid username or password.<br /><a href=\"%s"
3927
  "\">Lost your password</a>?"
3928
  msgstr ""
3929
 
3930
+ #: lib/utils.php:775
3931
  msgid "[NinjaFirewall] Alert: Database changes detected"
3932
  msgstr ""
3933
 
3934
+ #: lib/utils.php:776
3935
  msgid ""
3936
  "NinjaFirewall has detected that one or more administrator accounts were "
3937
  "modified in the database:"
3938
  msgstr ""
3939
 
3940
+ #: lib/utils.php:781
3941
  #, php-format
3942
  msgid "Total administrators : %s"
3943
  msgstr ""
3944
 
3945
+ #: lib/utils.php:790
3946
  msgid ""
3947
  "If you cannot see any modifications in the above fields, it is possible that "
3948
  "the administrator password was changed."
3949
  msgstr ""
3950
 
3951
+ #: lib/utils.php:928
3952
  msgid "Blocked privilege escalation attempt"
3953
  msgstr ""
3954
 
3955
+ #: lib/utils.php:941
3956
  msgid ""
3957
  "NinjaFirewall has blocked an attempt to modify a user capability by someone "
3958
  "who does not have administrative privileges:"
3959
  msgstr ""
3960
 
3961
+ #: lib/utils.php:968 lib/utils.php:1235
3962
  msgid ""
3963
  "This protection (and notification) can be turned off from NinjaFirewall "
3964
  "\"Firewall Policies\" page."
3965
  msgstr ""
3966
 
3967
+ #: lib/utils.php:1001
3968
  msgid ""
3969
  "NinjaFirewall brute-force protection is enabled and you are temporarily "
3970
  "whitelisted."
3971
  msgstr ""
3972
 
3973
+ #: lib/utils.php:1016
3974
  #, php-format
3975
  msgid ""
3976
  "Hey, it seems that you've been using NinjaFirewall for some time. If you "
3979
  "rate it. Thank you!"
3980
  msgstr ""
3981
 
3982
+ #: lib/utils.php:1197
3983
  msgid ""
3984
  "The attempt was blocked and the option was reversed to its original value."
3985
  msgstr ""
3986
 
3987
+ #: lib/utils.php:1202
3988
  msgid "Attempt to modify WordPress settings"
3989
  msgstr ""
3990
 
3991
+ #: lib/utils.php:1203
3992
  msgid ""
3993
  "NinjaFirewall has blocked an attempt to modify some important WordPress "
3994
  "settings by a user that does not have administrative privileges:"
3995
  msgstr ""
3996
 
3997
+ #: lib/utils.php:1204 lib/utils.php:1213
3998
  #, php-format
3999
  msgid "Option: %s"
4000
  msgstr ""
4001
 
4002
+ #: lib/utils.php:1205
4003
  #, php-format
4004
  msgid "Original value: %s"
4005
  msgstr ""
4006
 
4007
+ #: lib/utils.php:1206
4008
  #, php-format
4009
  msgid "Modified value: %s"
4010
  msgstr ""
4011
 
4012
+ #: lib/utils.php:1207 lib/utils.php:1215
4013
  #, php-format
4014
  msgid "Action taken: %s"
4015
  msgstr ""
4016
 
4017
+ #: lib/utils.php:1211
4018
  msgid "Code injection attempt in WordPress options table"
4019
  msgstr ""
4020
 
4021
+ #: lib/utils.php:1212
4022
  msgid ""
4023
  "NinjaFirewall has blocked an attempt to inject code in the WordPress options "
4024
  "table by a user that does not have administrative privileges:"
4025
  msgstr ""
4026
 
4027
+ #: lib/utils.php:1214
4028
  #, php-format
4029
  msgid "Code: %s"
4030
  msgstr ""
4031
 
4032
+ #: lib/utils.php:1270
4033
  #, php-format
4034
  msgid "Error, cannot create the %s folder."
4035
  msgstr ""
4036
 
4037
+ #: lib/utils.php:1270 lib/utils.php:1278 lib/utils.php:1286
4038
  msgid "Check your server permissions and try again."
4039
  msgstr ""
4040
 
4041
+ #: lib/utils.php:1278
4042
  #, php-format
4043
  msgid "Error, the %s folder is not writable."
4044
  msgstr ""
4045
 
4046
+ #: lib/utils.php:1286
4047
  #, php-format
4048
  msgid "Error, cannot write %s."
4049
  msgstr ""
lib/event_updates.php CHANGED
@@ -174,6 +174,8 @@ function nfw_alert_security_updates( $found = array() ) {
174
  $message .= __('Severity: This is an important security update', 'ninjafirewall') ."\n";
175
  } elseif ( $found['wordpress']['level'] == 3 ) {
176
  $message .= __('Severity: **This is a critical security update**', 'ninjafirewall') ."\n";
 
 
177
  }
178
  $message .= "\n";
179
  }
174
  $message .= __('Severity: This is an important security update', 'ninjafirewall') ."\n";
175
  } elseif ( $found['wordpress']['level'] == 3 ) {
176
  $message .= __('Severity: **This is a critical security update**', 'ninjafirewall') ."\n";
177
+ } else {
178
+ $message .= __('Type: Security fix', 'ninjafirewall') ."\n";
179
  }
180
  $message .= "\n";
181
  }
lib/firewall.php CHANGED
@@ -23,7 +23,7 @@ $nfw_ = array();
23
  $nfw_['fw_starttime'] = microtime(true);
24
 
25
  // Optional NinjaFirewall configuration file
26
- // ( see https://nintechnet.com/ninjafirewall/wp-edition/help/?htninja ) :
27
  if ( @file_exists($nfw_['file'] = dirname($_SERVER['DOCUMENT_ROOT']) .'/.htninja') ||
28
  @file_exists($nfw_['file'] = $_SERVER['DOCUMENT_ROOT'] .'/.htninja') ) {
29
  $nfw_['res'] = @include_once $nfw_['file'];
@@ -44,7 +44,7 @@ if ( @file_exists($nfw_['file'] = dirname($_SERVER['DOCUMENT_ROOT']) .'/.htninja
44
  $nfw_['wp_content'] = dirname(dirname(dirname( __DIR__ )));
45
  // Check if we have a user-defined log directory
46
  // (see "Path to NinjaFirewall's log and cache directory"
47
- // at https://nintechnet.com/ninjafirewall/wp-edition/help/?htninja ) :
48
  if ( defined('NFW_LOG_DIR') ) {
49
  $nfw_['log_dir'] = NFW_LOG_DIR . '/nfwlog';
50
  } else {
@@ -320,7 +320,7 @@ function nfw_connect() {
320
 
321
  // Check if we have a SQL link that was defined in the .htninja.
322
  // See "Giving NinjaFirewall a MySQLi link identifier"
323
- // at https://nintechnet.com/ninjafirewall/wp-edition/help/?htninja
324
  if (! empty( $GLOBALS['nfw_mysqli'] ) && ! empty( $GLOBALS['nfw_table_prefix'] ) ) {
325
  $nfw_['mysqli'] = $GLOBALS['nfw_mysqli'];
326
  $nfw_['table_prefix'] = $GLOBALS['nfw_table_prefix'];
@@ -382,7 +382,11 @@ function nfw_get_data( $what ) {
382
 
383
  // WP API
384
  if ( isset( $nfw_['wp_waf'] ) && $nfw_['wp_waf'] == 2 ) {
385
- $nfw_[ $what ] = get_option( $what );
 
 
 
 
386
  return true;
387
 
388
  // DB
@@ -921,19 +925,33 @@ function nfw_matching( $where, $key, $nfw_rules, $rules, $subid, $id, $RAW_POST
921
  $nfw_['b64'][$where][$key] = 1;
922
  }
923
 
 
 
924
  if ( isset( $rules['cha'][$subid]['exe'] ) ) {
925
- $val = @$rules['cha'][$subid]['exe']($val);
 
 
 
 
 
 
 
 
 
 
 
 
926
  }
927
 
928
  $t = '';
929
 
930
  if ( isset( $rules['cha'][$subid]['nor'] ) ) {
931
  $t .= 'N';
932
- if ( isset( $nfw_[$t][$where][$key] ) && ! isset( $rules['cha'][$subid]['exe'] ) ) {
933
  $val = $nfw_[$t][$where][$key];
934
  } else {
935
  $val = nfw_normalize( $val, $nfw_rules );
936
- if (! isset( $rules['cha'][$subid]['exe']) ) {
937
  $nfw_[$t][$where][$key] = $val;
938
  }
939
  }
@@ -941,22 +959,22 @@ function nfw_matching( $where, $key, $nfw_rules, $rules, $subid, $id, $RAW_POST
941
 
942
  if ( isset( $rules['cha'][$subid]['tra'] ) ) {
943
  $t .= 'T' . $rules['cha'][$subid]['tra'];
944
- if ( isset( $nfw_[$t][$where][$key] ) && ! isset( $rules['cha'][$subid]['exe'] ) ) {
945
  $val = $nfw_[$t][$where][$key];
946
  } else {
947
  $val = nfw_transform_string( $val, $rules['cha'][$subid]['tra'] );
948
- if (! isset( $rules['cha'][$subid]['exe']) ) {
949
  $nfw_[$t][$where][$key] = $val;
950
  }
951
  }
952
  }
953
  if ( empty( $rules['cha'][$subid]['noc']) ) {
954
  $t .= 'C';
955
- if ( isset( $nfw_[$t][$where][$key] ) && ! isset( $rules['cha'][$subid]['exe'] ) ) {
956
  $val = $nfw_[$t][$where][$key];
957
  } else {
958
  $val = nfw_compress_string( $val );
959
- if (! isset( $rules['cha'][$subid]['exe']) ) {
960
  $nfw_[$t][$where][$key] = $val;
961
  }
962
  }
23
  $nfw_['fw_starttime'] = microtime(true);
24
 
25
  // Optional NinjaFirewall configuration file
26
+ // ( see https://blog.nintechnet.com/ninjafirewall-wp-edition-the-htninja-configuration-file/ ) :
27
  if ( @file_exists($nfw_['file'] = dirname($_SERVER['DOCUMENT_ROOT']) .'/.htninja') ||
28
  @file_exists($nfw_['file'] = $_SERVER['DOCUMENT_ROOT'] .'/.htninja') ) {
29
  $nfw_['res'] = @include_once $nfw_['file'];
44
  $nfw_['wp_content'] = dirname(dirname(dirname( __DIR__ )));
45
  // Check if we have a user-defined log directory
46
  // (see "Path to NinjaFirewall's log and cache directory"
47
+ // at https://blog.nintechnet.com/ninjafirewall-wp-edition-the-htninja-configuration-file/ ) :
48
  if ( defined('NFW_LOG_DIR') ) {
49
  $nfw_['log_dir'] = NFW_LOG_DIR . '/nfwlog';
50
  } else {
320
 
321
  // Check if we have a SQL link that was defined in the .htninja.
322
  // See "Giving NinjaFirewall a MySQLi link identifier"
323
+ // at https://blog.nintechnet.com/ninjafirewall-wp-edition-the-htninja-configuration-file/
324
  if (! empty( $GLOBALS['nfw_mysqli'] ) && ! empty( $GLOBALS['nfw_table_prefix'] ) ) {
325
  $nfw_['mysqli'] = $GLOBALS['nfw_mysqli'];
326
  $nfw_['table_prefix'] = $GLOBALS['nfw_table_prefix'];
382
 
383
  // WP API
384
  if ( isset( $nfw_['wp_waf'] ) && $nfw_['wp_waf'] == 2 ) {
385
+ if ( is_multisite() ) {
386
+ $nfw_[ $what ] = get_site_option( $what );
387
+ } else {
388
+ $nfw_[ $what ] = get_option( $what );
389
+ }
390
  return true;
391
 
392
  // DB
925
  $nfw_['b64'][$where][$key] = 1;
926
  }
927
 
928
+ $transform = 0;
929
+ // NF < 4.1.1:
930
  if ( isset( $rules['cha'][$subid]['exe'] ) ) {
931
+ $transform = 1;
932
+ if ( function_exists( $rules['cha'][$subid]['exe'] ) ) {
933
+ $val = @$rules['cha'][$subid]['exe']( $val );
934
+ }
935
+ }
936
+ // NF >= 4.1.1:
937
+ if ( isset( $rules['cha'][$subid]['exm'] ) ) {
938
+ $transform = 1;
939
+ $exe = explode( '|', $rules['cha'][$subid]['exm'] );
940
+ foreach ( $exe as $f ) {
941
+ if (! function_exists( $f ) ) { break; }
942
+ $val = @$f( $val );
943
+ }
944
  }
945
 
946
  $t = '';
947
 
948
  if ( isset( $rules['cha'][$subid]['nor'] ) ) {
949
  $t .= 'N';
950
+ if ( isset( $nfw_[$t][$where][$key] ) && ! $transform ) {
951
  $val = $nfw_[$t][$where][$key];
952
  } else {
953
  $val = nfw_normalize( $val, $nfw_rules );
954
+ if (! $transform ) {
955
  $nfw_[$t][$where][$key] = $val;
956
  }
957
  }
959
 
960
  if ( isset( $rules['cha'][$subid]['tra'] ) ) {
961
  $t .= 'T' . $rules['cha'][$subid]['tra'];
962
+ if ( isset( $nfw_[$t][$where][$key] ) && ! $transform ) {
963
  $val = $nfw_[$t][$where][$key];
964
  } else {
965
  $val = nfw_transform_string( $val, $rules['cha'][$subid]['tra'] );
966
+ if (! $transform ) {
967
  $nfw_[$t][$where][$key] = $val;
968
  }
969
  }
970
  }
971
  if ( empty( $rules['cha'][$subid]['noc']) ) {
972
  $t .= 'C';
973
+ if ( isset( $nfw_[$t][$where][$key] ) && ! $transform ) {
974
  $val = $nfw_[$t][$where][$key];
975
  } else {
976
  $val = nfw_compress_string( $val );
977
+ if (! $transform ) {
978
  $nfw_[$t][$where][$key] = $val;
979
  }
980
  }
lib/firewall_options.php CHANGED
@@ -388,6 +388,21 @@ function nf_sub_options_import( $file ) {
388
  return sprintf($err_msg, 5);
389
  }
390
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  // Fix paths and directories :
392
  $nfw_options['logo'] = plugins_url() . '/ninjafirewall/images/ninjafirewall_75.png';
393
  $nfw_options['wp_dir'] = '/wp-admin/(?:css|images|includes|js)/|' .
388
  return sprintf($err_msg, 5);
389
  }
390
 
391
+ // Dropins code:
392
+ if ( isset( $nfw_rules['dropins'] ) ) {
393
+ if ( $nfw_rules['dropins'] == 'delete' ) {
394
+ if ( file_exists( NFW_LOG_DIR .'/nfwlog/dropins.php' ) ) {
395
+ @unlink( NFW_LOG_DIR .'/nfwlog/dropins.php' );
396
+ }
397
+ } else {
398
+ $dropins = base64_decode( $nfw_rules['dropins'], true );
399
+ if ( $dropins !== false ) {
400
+ @file_put_contents( NFW_LOG_DIR .'/nfwlog/dropins.php', $dropins, LOCK_EX );
401
+ }
402
+ }
403
+ unset( $nfw_rules['dropins'] );
404
+ }
405
+
406
  // Fix paths and directories :
407
  $nfw_options['logo'] = plugins_url() . '/ninjafirewall/images/ninjafirewall_75.png';
408
  $nfw_options['wp_dir'] = '/wp-admin/(?:css|images|includes|js)/|' .
lib/firewall_policies.php CHANGED
@@ -837,7 +837,7 @@ wp_nonce_field('policies_save', 'nfwnonce', 0);
837
  $nfw_options['csp_frontend_data'] = '';
838
  }
839
  if (! isset( $nfw_options['csp_backend_data'] ) ) {
840
- $nfw_options['csp_backend_data'] = '';
841
  }
842
  if (! isset( $nfw_options['response_headers'][6] ) ) {
843
  $nfw_options['response_headers'][6] = 0;
837
  $nfw_options['csp_frontend_data'] = '';
838
  }
839
  if (! isset( $nfw_options['csp_backend_data'] ) ) {
840
+ $nfw_options['csp_backend_data'] = "script-src 'self' 'unsafe-inline' 'unsafe-eval' *.videopress.com *.google.com *.wp.com;";
841
  }
842
  if (! isset( $nfw_options['response_headers'][6] ) ) {
843
  $nfw_options['response_headers'][6] = 0;
lib/help.php CHANGED
@@ -427,7 +427,7 @@ function help_nfsublogin() {
427
  __('Sample loglines:', 'ninjafirewall') .
428
  '<br />
429
  <textarea class="large-text code" style="height:80px;" wrap="off">Aug 31 01:40:35 www ninjafirewall[6191]: Possible brute-force attack from 172.16.0.1 on mysite.com (wp-login.php). Blocking access for 5mn.'. "\n" . 'Aug 31 01:45:28 www ninjafirewall[6192]: Possible brute-force attack from fe80::6e88:14ff:fe3e:86f0 on blog.domain.com (XML-RPC API). Blocking access for 25mn.</textarea>
430
- <p><span class="dashicons dashicons-warning nfw-warning"></span>&nbsp;' . sprintf( __('Be careful if you are behind a load balancer, reverse-proxy or CDN because the Login Protection feature will always record the <code>REMOTE_ADDR</code> IP. If you have an application parsing the AUTH log in order to ban IPs (e.g. Fail2ban), you <strong>must</strong> setup your HTTP server to forward the correct IP (or use the <code><a href="%s">.htninja</a></code> file), otherwise you will likely block legitimate users.', 'ninjafirewall'), 'https://nintechnet.com/ninjafirewall/wp-edition/help/?htninja') . '</p>
431
  </div>'
432
  ) );
433
 
427
  __('Sample loglines:', 'ninjafirewall') .
428
  '<br />
429
  <textarea class="large-text code" style="height:80px;" wrap="off">Aug 31 01:40:35 www ninjafirewall[6191]: Possible brute-force attack from 172.16.0.1 on mysite.com (wp-login.php). Blocking access for 5mn.'. "\n" . 'Aug 31 01:45:28 www ninjafirewall[6192]: Possible brute-force attack from fe80::6e88:14ff:fe3e:86f0 on blog.domain.com (XML-RPC API). Blocking access for 25mn.</textarea>
430
+ <p><span class="dashicons dashicons-warning nfw-warning"></span>&nbsp;' . sprintf( __('Be careful if you are behind a load balancer, reverse-proxy or CDN because the Login Protection feature will always record the <code>REMOTE_ADDR</code> IP. If you have an application parsing the AUTH log in order to ban IPs (e.g. Fail2ban), you <strong>must</strong> setup your HTTP server to forward the correct IP (or use the <code><a href="%s">.htninja</a></code> file), otherwise you will likely block legitimate users.', 'ninjafirewall'), 'https://blog.nintechnet.com/ninjafirewall-wp-edition-the-htninja-configuration-file/') . '</p>
431
  </div>'
432
  ) );
433
 
lib/install.php CHANGED
@@ -35,7 +35,9 @@ function nfw_get_constants() {
35
  define( 'NFW_HTACCESS_DATA', '<IfModule mod_php'. PHP_MAJOR_VERSION .'.c>' ."\n" .
36
  ' php_value auto_prepend_file '. NFW_LOG_DIR .'/nfwlog/ninjafirewall.php' ."\n" .
37
  '</IfModule>');
38
- define( 'NFW_LITESPEED_DATA', 'php_value auto_prepend_file '. NFW_LOG_DIR .'/nfwlog/ninjafirewall.php');
 
 
39
  define( 'NFW_SUPHP_DATA', '<IfModule mod_suphp.c>' ."\n" .
40
  ' suPHP_ConfigPath '. rtrim( $NFW_ABSPATH, '/') ."\n" .
41
  '</IfModule>');
35
  define( 'NFW_HTACCESS_DATA', '<IfModule mod_php'. PHP_MAJOR_VERSION .'.c>' ."\n" .
36
  ' php_value auto_prepend_file '. NFW_LOG_DIR .'/nfwlog/ninjafirewall.php' ."\n" .
37
  '</IfModule>');
38
+ define( 'NFW_LITESPEED_DATA', '<IfModule Litespeed>' ."\n" .
39
+ ' php_value auto_prepend_file '. NFW_LOG_DIR .'/nfwlog/ninjafirewall.php' ."\n" .
40
+ '</IfModule>');
41
  define( 'NFW_SUPHP_DATA', '<IfModule mod_suphp.c>' ."\n" .
42
  ' suPHP_ConfigPath '. rtrim( $NFW_ABSPATH, '/') ."\n" .
43
  '</IfModule>');
lib/utils.php CHANGED
@@ -94,8 +94,9 @@ if (! function_exists( 'nfw_is_https' ) ) {
94
  define('NFW_IS_HTTPS', false);
95
  }
96
  }
97
- nfw_is_https();
98
  }
 
 
99
  // ---------------------------------------------------------------------
100
  // Start a PHP session.
101
 
@@ -1086,11 +1087,16 @@ function nf_monitor_options( $value, $option, $old_value ) {
1086
 
1087
  // Admin check is done in nfw_load_optmon().
1088
 
 
 
 
 
 
1089
  // Similarly to https://core.trac.wordpress.org/ticket/38903, an integer will
1090
  // trigger a DB UPDATE query even if it matches the character stored in the DB
1091
  // (e.g.: 0 vs '0'). We must not block that, hence will use '===' only on arrays
1092
- // and objects (and that will prevent "Nesting level too deep" error as well):
1093
- if ( is_array( $value ) || is_object( $value ) ) {
1094
  if ( $value === $old_value ) {
1095
  return $value;
1096
  }
@@ -1132,35 +1138,19 @@ function nf_monitor_options( $value, $option, $old_value ) {
1132
  'stylesheet',
1133
  'users_can_register'
1134
  );
1135
- $monitor2 = array (
1136
- "{$wpdb->base_prefix}user_roles"
1137
- );
1138
- if ( is_multisite() ) {
1139
- // E.g.: wp_2_user_roles
1140
- global $current_blog;
1141
- $monitor2[] = "{$wpdb->prefix}{$current_blog->blog_id}_user_roles";
1142
- }
1143
 
1144
  // No changes detected or not what we are looking for:
1145
- if (! in_array( $option, $monitor ) && ! in_array( $option, $monitor2 ) ) {
1146
  return $value;
1147
  }
1148
 
1149
- // We are monitoring those settings
1150
- if ( in_array( $option, $monitor2 ) ) {
1151
- $res = nfw_check_roles( $value );
1152
- if ( $res === true ) {
1153
- return $value;
1154
- }
1155
- }
1156
-
1157
- if ( is_array( $value ) || is_object( $value ) ) {
1158
  $tmp = serialize( $value );
1159
  $value = '';
1160
  if ( strlen( $tmp ) > 200 ) { $tmp = mb_substr( $tmp, 0, 200, 'utf-8' ) . '...'; }
1161
  $value = $tmp;
1162
  }
1163
- if ( is_array( $old_value ) || is_object( $old_value ) ) {
1164
  $tmp = serialize( $old_value );
1165
  $old_value = '';
1166
  if ( strlen( $tmp ) > 200 ) { $tmp = mb_substr( $tmp, 0, 200, 'utf-8' ) . '...'; }
@@ -1189,41 +1179,6 @@ function nfw_load_optmon() {
1189
 
1190
  add_action( 'plugins_loaded', 'nfw_load_optmon' );
1191
 
1192
- // ---------------------------------------------------------------------
1193
-
1194
- function nfw_check_roles( $user_roles ) {
1195
-
1196
- $admin_only_cap = array(
1197
- 'activate_plugins', 'create_users', 'delete_plugins', 'delete_themes',
1198
- 'delete_users', 'edit_files', 'edit_plugins', 'edit_theme_options',
1199
- 'edit_themes', 'edit_users', 'export', 'import', 'install_plugins',
1200
- 'install_themes', 'list_users', 'manage_options', 'promote_users',
1201
- 'remove_users', 'switch_themes', 'update_core', 'update_plugins',
1202
- 'update_themes', 'edit_dashboard', 'customize', 'delete_site',
1203
- // WooCommerce shop_manager:
1204
- 'manage_woocommerce', 'view_woocommerce_reports',
1205
- // bbPress bbp_keymaster:
1206
- 'publish_forums', 'edit_forums', 'delete_forums', 'keep_gate'
1207
- );
1208
- // Default WP user, WooCommerce and bbPress
1209
- $check_users = array(
1210
- 'subscriber', 'contributor', 'customer', 'bbp_participant', 'bbp_spectator'
1211
- );
1212
-
1213
- foreach ( $user_roles as $user => $cap ) {
1214
- if ( in_array( $user, $check_users ) ) {
1215
- foreach( $cap['capabilities'] as $k => $v ) {
1216
- if (! empty( $v ) && in_array( $k, $admin_only_cap ) ) {
1217
- // Stop here and send an alert:
1218
- return false;
1219
- }
1220
- }
1221
- }
1222
- }
1223
- // OK
1224
- return true;
1225
- }
1226
-
1227
  // ---------------------------------------------------------------------
1228
  // $type = settings or injection.
1229
 
@@ -1349,6 +1304,9 @@ function nfw_disable_wpwaf() {
1349
  // ---------------------------------------------------------------------
1350
  function nfw_dropins() {
1351
 
 
 
 
1352
  if ( file_exists( NFW_LOG_DIR .'/nfwlog/dropins.php' ) ) {
1353
  @include_once NFW_LOG_DIR .'/nfwlog/dropins.php';
1354
  }
94
  define('NFW_IS_HTTPS', false);
95
  }
96
  }
 
97
  }
98
+ nfw_is_https();
99
+
100
  // ---------------------------------------------------------------------
101
  // Start a PHP session.
102
 
1087
 
1088
  // Admin check is done in nfw_load_optmon().
1089
 
1090
+ // We're not interested in any object
1091
+ if ( is_object( $value ) || is_object( $old_value ) ) {
1092
+ return $value;
1093
+ }
1094
+
1095
  // Similarly to https://core.trac.wordpress.org/ticket/38903, an integer will
1096
  // trigger a DB UPDATE query even if it matches the character stored in the DB
1097
  // (e.g.: 0 vs '0'). We must not block that, hence will use '===' only on arrays
1098
+ // (and that will prevent "Nesting level too deep" error as well):
1099
+ if ( is_array( $value ) ) {
1100
  if ( $value === $old_value ) {
1101
  return $value;
1102
  }
1138
  'stylesheet',
1139
  'users_can_register'
1140
  );
 
 
 
 
 
 
 
 
1141
 
1142
  // No changes detected or not what we are looking for:
1143
+ if (! in_array( $option, $monitor ) ) {
1144
  return $value;
1145
  }
1146
 
1147
+ if ( is_array( $value ) ) {
 
 
 
 
 
 
 
 
1148
  $tmp = serialize( $value );
1149
  $value = '';
1150
  if ( strlen( $tmp ) > 200 ) { $tmp = mb_substr( $tmp, 0, 200, 'utf-8' ) . '...'; }
1151
  $value = $tmp;
1152
  }
1153
+ if ( is_array( $old_value ) ) {
1154
  $tmp = serialize( $old_value );
1155
  $old_value = '';
1156
  if ( strlen( $tmp ) > 200 ) { $tmp = mb_substr( $tmp, 0, 200, 'utf-8' ) . '...'; }
1179
 
1180
  add_action( 'plugins_loaded', 'nfw_load_optmon' );
1181
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1182
  // ---------------------------------------------------------------------
1183
  // $type = settings or injection.
1184
 
1304
  // ---------------------------------------------------------------------
1305
  function nfw_dropins() {
1306
 
1307
+ $nfw_options = nfw_get_option( 'nfw_options' );
1308
+ if ( empty( $nfw_options['enabled'] ) ) { return; }
1309
+
1310
  if ( file_exists( NFW_LOG_DIR .'/nfwlog/dropins.php' ) ) {
1311
  @include_once NFW_LOG_DIR .'/nfwlog/dropins.php';
1312
  }
ninjafirewall.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: NinjaFirewall (WP Edition)
4
  Plugin URI: https://nintechnet.com/
5
  Description: A true Web Application Firewall to protect and secure WordPress.
6
- Version: 4.1
7
  Author: The Ninja Technologies Network
8
  Author URI: https://nintechnet.com/
9
  License: GPLv3 or later
@@ -19,7 +19,7 @@ Domain Path: /languages
19
  | (c) NinTechNet - https://nintechnet.com/ |
20
  +---------------------------------------------------------------------+
21
  */
22
- define( 'NFW_ENGINE_VERSION', '4.1' );
23
  /*
24
  +---------------------------------------------------------------------+
25
  | This program is free software: you can redistribute it and/or |
@@ -394,6 +394,10 @@ function nfw_admin_init() {
394
  } else {
395
  $bd_data = '';
396
  }
 
 
 
 
397
  $data = json_encode($nfw_options) . "\n:-:\n" . json_encode($nfw_rules) . "\n:-:\n" . $bd_data;
398
  header('Content-Type: text/plain');
399
  header('Content-Length: '. strlen( $data ) );
3
  Plugin Name: NinjaFirewall (WP Edition)
4
  Plugin URI: https://nintechnet.com/
5
  Description: A true Web Application Firewall to protect and secure WordPress.
6
+ Version: 4.1.1
7
  Author: The Ninja Technologies Network
8
  Author URI: https://nintechnet.com/
9
  License: GPLv3 or later
19
  | (c) NinTechNet - https://nintechnet.com/ |
20
  +---------------------------------------------------------------------+
21
  */
22
+ define( 'NFW_ENGINE_VERSION', '4.1.1' );
23
  /*
24
  +---------------------------------------------------------------------+
25
  | This program is free software: you can redistribute it and/or |
394
  } else {
395
  $bd_data = '';
396
  }
397
+ // Dropins
398
+ if ( file_exists( NFW_LOG_DIR .'/nfwlog/dropins.php' ) ) {
399
+ $nfw_rules['dropins'] = base64_encode( file_get_contents( NFW_LOG_DIR .'/nfwlog/dropins.php' ) );
400
+ }
401
  $data = json_encode($nfw_options) . "\n:-:\n" . json_encode($nfw_rules) . "\n:-:\n" . $bd_data;
402
  header('Content-Type: text/plain');
403
  header('Content-Length: '. strlen( $data ) );
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: nintechnet, bruandet
3
  Tags: security, firewall, malware, antispam, virus, scanner, hacked site, brute force, seguridad, seguranca, sicherheit, sicurezza, veiligheid, classicpress
4
  Requires at least: 3.7
5
  Tested up to: 5.4
6
- Stable tag: 4.1
7
  Requires PHP: 5.5
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -202,6 +202,14 @@ NinjaFirewall works on Unix-like servers only. There is no Microsoft Windows ver
202
 
203
  Need more security? Take the time to explore our supercharged Premium edition: [NinjaFirewall WP+ Edition](https://nintechnet.com/ninjafirewall/wp-edition/?comparison)
204
 
 
 
 
 
 
 
 
 
205
  = 4.1 =
206
 
207
  * Added a new feature that will alert you by email if there were an important security update available for your themes, plugins or WordPress. It is enabled by default and can be found in the "Event Notifications > Security updates > Send me an alert whenever an important security update is available for a plugin, theme or WordPress".
3
  Tags: security, firewall, malware, antispam, virus, scanner, hacked site, brute force, seguridad, seguranca, sicherheit, sicurezza, veiligheid, classicpress
4
  Requires at least: 3.7
5
  Tested up to: 5.4
6
+ Stable tag: 4.1.1
7
  Requires PHP: 5.5
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
202
 
203
  Need more security? Take the time to explore our supercharged Premium edition: [NinjaFirewall WP+ Edition](https://nintechnet.com/ninjafirewall/wp-edition/?comparison)
204
 
205
+ = 4.1.1 =
206
+
207
+ * Improved the Full WAF installer when the server is running Litespeed or OpenLitespeed.
208
+ * Fixed a potential "undefined constant NFW_IS_HTTPS" PHP warning when using the ".htninja" script with the WP Edition.
209
+ * Fixed a potential issue in a multisite environment when running the firewall in WordPress WAF mode: the main site and a child site configuration could be out of sync.
210
+ * Many small fixes and adjustments.
211
+ * WP+ Edition (Premium): Updated IPv4/IPv6/ASN GeoIP databases.
212
+
213
  = 4.1 =
214
 
215
  * Added a new feature that will alert you by email if there were an important security update available for your themes, plugins or WordPress. It is enabled by default and can be found in the "Event Notifications > Security updates > Send me an alert whenever an important security update is available for a plugin, theme or WordPress".