Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Make it possible to use wildcards for path(s) #7

Open
nilsenpaul opened this issue Jun 10, 2020 · 6 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nilsenpaul
Copy link

I'd like to (only) scan all public and web folder in a given folder tree, like this:

php scanner /var/www/*/web

It should scan all folders called "web" in any folder below /var/www/, but it only scans the first folder it encounters. Am I doing something wrong, or is this not possible?

@kingsalman99
Copy link

I'd like to (only) scan all public and web folder in a given folder tree, like this:

php scanner /var/www/*/web

It should scan all folders called "web" in any folder below /var/www/, but it only scans the first folder it encounters. Am I doing something wrong, or is this not possible?

BRO, does this tool work in Termux??

@Cvar1984
Copy link

I'd like to (only) scan all public and web folder in a given folder tree, like this:
php scanner /var/www/*/web
It should scan all folders called "web" in any folder below /var/www/, but it only scans the first folder it encounters. Am I doing something wrong, or is this not possible?

BRO, does this tool work in Termux??

Yes

@kingsalman99
Copy link

I'd like to (only) scan all public and web folder in a given folder tree, like this:
php scanner /var/www/*/web
It should scan all folders called "web" in any folder below /var/www/, but it only scans the first folder it encounters. Am I doing something wrong, or is this not possible?

BRO, does this tool work in Termux??

Yes

Bro ,i need Tutorial ,how To install and Use That Tools bro ,because after the update, a little confusing
i am using Termux in android

@Cvar1984
Copy link

I'd like to (only) scan all public and web folder in a given folder tree, like this:
php scanner /var/www/*/web
It should scan all folders called "web" in any folder below /var/www/, but it only scans the first folder it encounters. Am I doing something wrong, or is this not possible?

BRO, does this tool work in Termux??

Yes

Bro ,i need Tutorial ,how To install and Use That Tools bro ,because after the update, a little confusing
i am using Termux in android

Download this using curl

@Jujist
Copy link

Jujist commented Jul 10, 2020

an easier way using wget
wget https://github.com/marcocesarato/PHP-Antimalware-Scanner/releases/download/0.5.0.71/scanner

@marcocesarato marcocesarato reopened this Oct 4, 2020
@marcocesarato marcocesarato added the enhancement New feature or request label Oct 4, 2020
@marcocesarato
Copy link
Owner

The wildcard are not supported at the moment on php Iterrator so at the moment is possibile use the filters/ignore paths.
On last release you can filter or ignore paths.

--ignore-path/s=""           - Ignore path/s, for multiple value separate with comma
                               Wildcards are enabled ex. /path/*/cache or /path/*.log
--filter-path/s=""           - Filter path/s, for multiple value separate with comma
                               Wildcards are enabled ex. /path/*/htdocs or /path/*.php

@marcocesarato marcocesarato added the help wanted Extra attention is needed label Dec 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants