ajinabraham / CMSScan

CMS Scanner: Scan Wordpress, Drupal, Joomla, vBulletin websites for Security issues
https://opensecurity.in
GNU General Public License v3.0
954 stars 145 forks source link

Feature request #8

Closed angelperezleon closed 5 years ago

angelperezleon commented 5 years ago

Not an issue but a request to this great CMS vulnerability checker Ajin.

Is it possible to have like an admin function, so for example on the "Recent scans" section only admin logged in user can remove recent scans from the list?

ajinabraham commented 5 years ago

Added basic auth, available in latest master: https://github.com/ajinabraham/CMSScan#basic-auth

ajinabraham commented 5 years ago

If you need to protect only specific routes. Set app.config['BASIC_AUTH_FORCE'] = False and use the decorator @basic_auth.required. Ref: https://flask-basicauth.readthedocs.io/en/latest/