Coder Social home page Coder Social logo

Comments (3)

akenion avatar akenion commented on July 19, 2024

Additionally, the help messaging should be updated to indicate that only files matching certain patterns are scanned by default.

from wordfence-cli.

akenion avatar akenion commented on July 19, 2024

The above PR also implements a shorthand -a flag as an alias for --include-all-files.

from wordfence-cli.

ewodrich avatar ewodrich commented on July 19, 2024

Verified the changes are working as expected including the following:

  1. new command –-include-all-files and -a displays in β€”help as expected, and that the help mentions "By default, only files matching certain extensions are scanned"
  2. Scanning with --include-all-files works as expected, without error. Also compared the number of files scanned using this option vs the total number of files skipped + total number of files scanned with default settings equal the same totals.
  3. Scanning with -a works as expected, without error. Also compared the number of files scanned using this option vs the total number of files skipped + total number of files scanned with default settings equal the same totals.
  4. Additional testing completed with new options that includes
  • with Free key
  • with Premium key
  • scanning recursive symlinks work as before (see note below)
  • -a and --include-all-files produce the same number of files
  • --include-files-pattern=.* produces same result as -a
  • --include-files continues to work as intended
  • --exclude-files continues to work as intended
  • using -a in combination with --exclude-files-pattern or --exclude-files works as anticipated by scanning all files except those defined to be excluded
  • results route to --output-path

While testing this case, opened Case #74 for a new finding when scanning a directory with a symlink pointing above the target directory either producing an error or placing the scan into a loop.

from wordfence-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.