Title: Square Bracket Hack Prevention
Author: Miina Sikk
Published: <strong>Awst 21, 2015</strong>
Last modified: Chwefror 5, 2016

---

Search plugins

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

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

# Square Bracket Hack Prevention

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

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

 * [Details](https://cy.wordpress.org/plugins/square-bracket-hack-prevention/#description)
 * [Reviews](https://cy.wordpress.org/plugins/square-bracket-hack-prevention/#reviews)
 *  [Installation](https://cy.wordpress.org/plugins/square-bracket-hack-prevention/#installation)
 * [Development](https://cy.wordpress.org/plugins/square-bracket-hack-prevention/#developers)

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

## Disgrifiad

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/

## Gosod

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.

## Cwestiynau Cyffredin

  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/

## Adolygiadau

There are no reviews for this plugin.

## Contributors & Developers

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

Cyfranwyr

 *   [ 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).

## Cofnod Newid

#### 1.0

 * Initial version.

## Meta

 *  Version **1.0**
 *  Last updated **10 blynedd yn ôl**
 *  Active installations **10+**
 *  WordPress version ** 3.0.1 neu uwch **
 *  Tested up to **4.4.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/square-bracket-hack-prevention/)
 * Tags
 * [hack](https://cy.wordpress.org/plugins/tags/hack/)[htaccess](https://cy.wordpress.org/plugins/tags/htaccess/)
   [redirect](https://cy.wordpress.org/plugins/tags/redirect/)[security](https://cy.wordpress.org/plugins/tags/security/)
   [WPSOS](https://cy.wordpress.org/plugins/tags/wpsos/)
 *  [Advanced View](https://cy.wordpress.org/plugins/square-bracket-hack-prevention/advanced/)

## Graddau

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

## Cyfranwyr

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

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](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/)