GithubHelp home page GithubHelp logo

Comments (3)

marcocesarato avatar marcocesarato commented on June 17, 2024

Hi, on last release now you can auto prompt with some flags:

--auto-prompt=""             - Set auto prompt command ex. --auto-prompt="1" (alias of auto-delete) 

--auto-clean                 - Auto clean code (without confirmation, CARE could be DANGEROUS)
--auto-clean-line            - Auto clean line code (without confirmation, CARE could be DANGEROUS)
--auto-delete                - Auto delete infected (without confirmation, CARE could be DANGEROUS)
--auto-quarantine            - Auto quarantine
--auto-skip                  - Auto skip

This operations could be dangerous so remember that you will be solely responsible for any damage to your computer system or loss of data that results from such activities and you are solely responsible for adequate protection and backup of the data before execute the scanner.

from php-antimalware-scanner.

simplenotezy avatar simplenotezy commented on June 17, 2024

@marcocesarato That's cool. Thanks for adding this. What's the difference between the different options? Would be cool to have them a bit more described.

Like what's the difference between --auto-delete, --auto-clean and --auto-clean-line

from php-antimalware-scanner.

marcocesarato avatar marcocesarato commented on June 17, 2024

They are like the options on showed on console so auto-delete delete the file, clean remove evil code and clean line remove evil code line. The better choice for you is probably auto-clean or auto-quarantine.

  • Delete file [--auto-delete]
  • Move to quarantine (move to ./quarantine) [--auto-quarantine]
  • Dry run evil code fixer (fix code and confirm after a visual check) [--auto-clean]
  • Dry run evil line code fixer (fix code and confirm after a visual check) [--auto-clean-line]
  • Open with vim (need php -d disable_functions='')
  • Open with nano (need php -d disable_functions='')
  • Add to whitelist (add to ./scanner_whitelist.csv)
  • Show source
  • Ignore [--auto-skip]

from php-antimalware-scanner.

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.