PHP Classes
elePHPant
Icontem

WRASA Security Alarm: Detect and prevent robots that crawl sites

Recommend this page to a friend!
  Info   View files Example   View files View files (49)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-06-19 (3 hours ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
wrasa-security-alarm 1.0.1Custom (specified...5PHP 5, Security
Description Author

This package can detect and prevent robots that crawl sites.

It can check the IP address and user agent of sites accessing the current page determine if it is a real user navigating, as search engine bot crawling or some other kind of type of bot crawling the site.

It can keep track of the count of accesses of users from the same IP address that may be bots accessing site pages to crawl its content.

Suspicious bots that make excessive accesses are redirected to a block page.

  Performance   Level  
Name: Ki Shing Yeung <contact>
Classes: 1 package by
Country: Hong Kong Hong Kong

Details

What is WRASA?

WRASA is a project of Cloud Design Limited, it is composed of Web Robot Analytics and Security Alarm. And its purpose is to analyse the activities of web robots (Googlebot, Bingbot...etc.) on your websites, and protect the source code of your web-based applications.

If you want to view more details, please go to http://wrasa.codage.tech

WRASA - Security Alarm

WRASA ? Security Alarm is a kind of web plug-in and 100% free of charge. It works like CCTV and Alarm System, that assists in identifying and deterring people who attempt to copy or analyse the source code of your web-based applications.

Requirements

  • Linux platform
  • PHP version 5.6 or newer is recommended.

It should work on 5.3.7 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.

* Quick Install *

  • Step 1 : Extract the wrasa-SecurityAlarm-x.x.zip file.
  • Step 2 : Move the wrasa-SecurityAlarm-x.x folder to its intended location. (e.g. http://example.com/assets/)
  • Step 3 : Select the page you want to protect, then open and edit like this:

    <!DOCTYPE html> <?php require_once "var/www/example.com/assets/wrasa-SecurityAlarm-x.x/api/ProtectPG.php"; ?> <html lang="en"> <head> ... <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> $(document).ready(function(){ $.ajax({ url:'http://example.com/assets/wrasa-SecurityAlarm-x.x/protect.js', dataType:'script' }); }); </script> </head>

  • Step 4 : Press F12. If you see the Warning page, that means installed successfully.

* Configuration *

If you want to change the default setting, please open the core/Config.php and modify yourself.

* Attention *

  • If you want to change the default setting, please open the Config.php and modify yourself.
  • If you want to check the collected data, please go to core/data folder.
  • DON'T REMOVE core/data/default folder.
  • ENSURE the BlockList.json and SuspectList.json can be written.

* Changelog *

* Version 1.0.1 *

Fixed : Cannot block the IP address that has appeared in BlockList.json

  Files folder image Files  
File Role Description
Files folder imageapi (3 files)
Files folder imagecore (2 files, 3 directories)
Files folder imagenotice (2 files, 1 directory)
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  api  
File Role Description
  Accessible without login Plain text file ProtectJS.php Example Example script
  Accessible without login Plain text file ProtectPG.php Example Example script
  Accessible without login Plain text file WarningTools.php Example Example script

  Files folder image Files  /  core  
File Role Description
Files folder imagedata (2 files, 1 directory)
Files folder imagelanguage (3 files)
Files folder imagelibraries (4 files)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Plain text file Config.php Aux. Auxiliary script

  Files folder image Files  /  core  /  data  
File Role Description
Files folder imagedefault (2 files)
  Accessible without login Plain text file BlockList.json Data Auxiliary data
  Accessible without login Plain text file SuspectList.json Data Auxiliary data

  Files folder image Files  /  core  /  data  /  default  
File Role Description
  Accessible without login Plain text file BlockList.json Data Auxiliary data
  Accessible without login Plain text file SuspectList.json Data Auxiliary data

  Files folder image Files  /  core  /  language  
File Role Description
  Accessible without login Plain text file en_lang.php Aux. Auxiliary script
  Accessible without login Plain text file zh-cn_lang.php Aux. Auxiliary script
  Accessible without login Plain text file zh-hk_lang.php Aux. Auxiliary script

  Files folder image Files  /  core  /  libraries  
File Role Description
  Plain text file BrowserDetection.php Class Class source
  Plain text file JavaScriptPacker.php Class Class source
  Plain text file WrasaCore.php Class Class source
  Plain text file WrasaFunc.php Class Class source

  Files folder image Files  /  notice  
File Role Description
Files folder imageassets (3 directories)
  Accessible without login Plain text file Blocking.php Aux. Auxiliary script
  Accessible without login Plain text file Warning.php Aux. Auxiliary script

  Files folder image Files  /  notice  /  assets  
File Role Description
Files folder imagefonts (1 directory)
Files folder imageimages (1 file)
Files folder imageplugins (2 directories)

  Files folder image Files  /  notice  /  assets  /  fonts  
File Role Description
Files folder imageOpen_Sans_Hebrew (9 files)

  Files folder image Files  /  notice  /  assets  /  fonts  /  Open_Sans_Hebrew  
File Role Description
  Accessible without login Plain text file fonts.css Data Auxiliary data
  Accessible without login Plain text file opensanshebrew-bold-webfont.svg Data Auxiliary data
  Accessible without login Plain text file opensanshebrew-bolditalic-webfont.svg Data Auxiliary data
  Accessible without login Plain text file opensanshebrew-extrabold-webfont.svg Data Auxiliary data
  Accessible without login Plain text file opensanshebrew-ext...ditalic-webfont.svg Data Auxiliary data
  Accessible without login Plain text file opensanshebrew-italic-webfont.svg Data Auxiliary data
  Accessible without login Plain text file opensanshebrew-light-webfont.svg Data Auxiliary data
  Accessible without login Plain text file opensanshebrew-lightitalic-webfont.svg Data Auxiliary data
  Accessible without login Plain text file opensanshebrew-regular-webfont.svg Data Auxiliary data

  Files folder image Files  /  notice  /  assets  /  images  
File Role Description
  Accessible without login Image file wrasa_logo_w_text_50.png Icon Icon image

  Files folder image Files  /  notice  /  assets  /  plugins  
File Role Description
Files folder imagebootstrap-3.3.6-dist (3 directories)
Files folder imagefont-awesome-4.5.0 (2 directories)

  Files folder image Files  /  notice  /  assets  /  plugins  /  bootstrap-3.3.6-dist  
File Role Description
Files folder imagecss (11 files)
Files folder imagefonts (1 file)
Files folder imagejs (3 files)

  Files folder image Files  /  notice  /  assets  /  plugins  /  bootstrap-3.3.6-dist  /  css  
File Role Description
  Accessible without login Plain text file bootstrap-theme.css Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.min.css Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.min.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap_custom.css Data Auxiliary data
  Accessible without login Plain text file bootstrap_custom.css.php Aux. Auxiliary script
  Accessible without login Plain text file bootstrap_custom_1.css Data Auxiliary data

  Files folder image Files  /  notice  /  assets  /  plugins  /  bootstrap-3.3.6-dist  /  fonts  
File Role Description
  Accessible without login Plain text file glyphicons-halflings-regular.svg Data Auxiliary data

  Files folder image Files  /  notice  /  assets  /  plugins  /  bootstrap-3.3.6-dist  /  js  
File Role Description
  Accessible without login Plain text file bootstrap.js Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data
  Accessible without login Plain text file npm.js Data Auxiliary data

  Files folder image Files  /  notice  /  assets  /  plugins  /  font-awesome-4.5.0  
File Role Description
Files folder imagecss (2 files)
Files folder imagefonts (1 file)

  Files folder image Files  /  notice  /  assets  /  plugins  /  font-awesome-4.5.0  /  css  
File Role Description
  Accessible without login Plain text file font-awesome.css Data Auxiliary data
  Accessible without login Plain text file font-awesome.min.css Data Auxiliary data

  Files folder image Files  /  notice  /  assets  /  plugins  /  font-awesome-4.5.0  /  fonts  
File Role Description
  Accessible without login Plain text file fontawesome-webfont.svg Data Auxiliary data

 Version Control Unique User Downloads  
 100%
Total:0
This week:0