Title: Square Bracket Hack Prevention
Author: Miina Sikk
Published: <strong>ഓഗസ്റ്റ്‌ 21, 2015</strong>
Last modified: ഫെബ്രുവരി 5, 2016

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Square Bracket Hack Prevention

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

[Download](https://downloads.wordpress.org/plugin/square-bracket-hack-prevention.zip)

 * [Details](https://ml.wordpress.org/plugins/square-bracket-hack-prevention/#description)
 * [Reviews](https://ml.wordpress.org/plugins/square-bracket-hack-prevention/#reviews)
 *  [Installation](https://ml.wordpress.org/plugins/square-bracket-hack-prevention/#installation)
 * [Development](https://ml.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/

## Reviews

ഈ പ്ലഗിന് റിവ്യൂകൾ ഒന്നുമില്ല.

## Contributors & Developers

“Square Bracket Hack Prevention” is open source software. The following people have
contributed to this plugin.

Contributors

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

[Translate “Square Bracket Hack Prevention” into your language.](https://translate.wordpress.org/projects/wp-plugins/square-bracket-hack-prevention)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/square-bracket-hack-prevention/),
check out the [SVN repository](https://plugins.svn.wordpress.org/square-bracket-hack-prevention/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/square-bracket-hack-prevention/)
by [RSS](https://plugins.trac.wordpress.org/log/square-bracket-hack-prevention/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial version.

## Meta

 *  Version **1.0**
 *  Last updated **10 വര്‍ഷങ്ങള്‍ ago**
 *  Active installations **10+**
 *  വേർഡ്പ്രസ്സ് പതിപ്പ് ** 3.0.1 അല്ലെങ്കില്‍ അതിലും ഉയര്‍ന്നത് **
 *  Tested up to **4.4.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/square-bracket-hack-prevention/)
 * Tags
 * [hack](https://ml.wordpress.org/plugins/tags/hack/)[htaccess](https://ml.wordpress.org/plugins/tags/htaccess/)
   [redirect](https://ml.wordpress.org/plugins/tags/redirect/)[security](https://ml.wordpress.org/plugins/tags/security/)
   [WPSOS](https://ml.wordpress.org/plugins/tags/wpsos/)
 *  [Advanced View](https://ml.wordpress.org/plugins/square-bracket-hack-prevention/advanced/)

## Ratings

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/)

## Contributors

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

## Support

Got something to say? Need help?

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

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.wpsos.io/wordpress-plugin-square-bracket-hack-prevention/)