Security advisorywp2shell: WordPress core vulnerability. Confirm every site is on 6.8.6, 6.9.5, 7.0.2, or newer.

Read the advisory

Developers

Customize User Agent Filtering

Easily customize the user agent list in WP Security Ninja. Follow this guide to add new user agents to block and enhance your website's security settings.

This filter allows you to modify the list of user agents the plugin looks for and blocks.

You can easily add new user agents to block with a simple piece of code.

To add a new user agent you want to block you need to use the code below. It is a simple piece of code that takes the incoming list of user agents, adds any new user agents we want to block, and then returns it to the plugin.

The filter looks for any occurrence of the phrase, so you can be as specific or not specific as you wish.

add_filter( ‘user_agent_items’, ‘filter_user_agent_items’ );

function filter_user_agent_items( $useragents ) { // You can add more than one, just copy the line below and change the text. $useragents[] = ‘seekportbot’; return $useragents; }

Not sure how to add this code to your website? Check out this helpful article. How to include custom code on your website.

Still stuck? Get help or contact us.