sergejmueller/wpscan

View on GitHub

Showing 2 of 2 total issues

Function fire has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.fire = ( data ) => {

    const { wpURL, siteURL, userAgent, silentMode } = data

    const filterName = fs.fileName( __filename, '.js' )
Severity: Major
Found in lib/rules/sensitive-files.js - About 2 hrs to fix

    Function wpcheck has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports.wpcheck = ( data ) => {
    
        // App version
        if ( data.v ) {
            return require( './version' )
    Severity: Minor
    Found in lib/app.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language