Title: Square Bracket Hack Prevention
Author: Miina Sikk
Published: <strong>21 août 2015</strong>
Last modified: 5 février 2016

---

Recherche d’extensions

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/square-bracket-hack-prevention.svg)

# Square Bracket Hack Prevention

 Par [Miina Sikk](https://profiles.wordpress.org/miinasikk/)

[Télécharger](https://downloads.wordpress.org/plugin/square-bracket-hack-prevention.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/square-bracket-hack-prevention/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/square-bracket-hack-prevention/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/square-bracket-hack-prevention/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/square-bracket-hack-prevention/#developers)

 [Support](https://wordpress.org/support/plugin/square-bracket-hack-prevention/)

## Description

The Square Bracket Hack Prevention plugin prevents a simple but very common exploit
of WordPress, by adding in a .htaccess rule upon activation preventing hackers from
adding a « [ » to the URL.

A common attempt at a WPSOS exploit is to add a « [ » to a URL, which can often 
break a site and expose an ability to inject code. This plugin stops it by banning
all attempts at adding a « [ » to the URL. It does so via adding code to the .htaccess
file.

Additionally, upon the uninstallation of the plugin, the line is removed. And if
the .htaccess file is not editable, then the admin user is warned.

If you have any suggestions let us know via http://www.wpsos.io/wordpress-plugin-
square-bracket-hack-prevention/

For more information and support, check out: http://www.wpsos.io/wordpress-plugin-
square-bracket-hack-prevention/

## Installation

The installation and use is very straightforward. You should:

 1. Upload the folder `square-bracket-hack-prevention` to the `/wp-content/plugins/`
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

NB! If the .htaccess file wasn’t writeable during the activation, please make .htaccess
writeable, and deactivate and activate the plugin again.

## FAQ

  Which options do you modify?

As of version 1.0 there are no options to modify.

  Where can I get some support?

Check out our site, at: http://www.wpsos.io/wordpress-plugin-square-bracket-hack-
prevention/

  I have some suggestions for other options I want edited

Let us know, via: http://www.wpsos.io/wordpress-plugin-square-bracket-hack-prevention/

## Avis

Il n’y a aucun avis sur cette extension.

## Contributeurs & développeurs

« Square Bracket Hack Prevention » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

 *   [ Miina Sikk ](https://profiles.wordpress.org/miinasikk/)
 *   [ citywanderer ](https://profiles.wordpress.org/citywanderer/)
 *   [ Miina Sikk ](https://profiles.wordpress.org/stubgo/)

[Traduisez « Square Bracket Hack Prevention » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/square-bracket-hack-prevention)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/square-bracket-hack-prevention/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/square-bracket-hack-prevention/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/square-bracket-hack-prevention/)
par [RSS](https://plugins.trac.wordpress.org/log/square-bracket-hack-prevention/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 1.0

 * Initial version.

## Méta

 *  Version **1.0**
 *  Last updated **il y a 10 années**
 *  Active installations **10+**
 *  WordPress version ** 3.0.1 ou plus **
 *  Tested up to **4.4.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/square-bracket-hack-prevention/)
 * Tags
 * [hack](https://fr-ca.wordpress.org/plugins/tags/hack/)[htaccess](https://fr-ca.wordpress.org/plugins/tags/htaccess/)
   [redirect](https://fr-ca.wordpress.org/plugins/tags/redirect/)[security](https://fr-ca.wordpress.org/plugins/tags/security/)
   [WPSOS](https://fr-ca.wordpress.org/plugins/tags/wpsos/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/square-bracket-hack-prevention/advanced/)

## Notes

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/square-bracket-hack-prevention/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/square-bracket-hack-prevention/reviews/)

## Contributeurs

 *   [ Miina Sikk ](https://profiles.wordpress.org/miinasikk/)
 *   [ citywanderer ](https://profiles.wordpress.org/citywanderer/)
 *   [ Miina Sikk ](https://profiles.wordpress.org/stubgo/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/square-bracket-hack-prevention/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://www.wpsos.io/wordpress-plugin-square-bracket-hack-prevention/)