Skip to content

haijerome/magescan

 
 

Repository files navigation

Mage Scan

Join the chat at https://gitter.im/steverobbins/magescan

Master Build Status Master Code Quality Master Code Coverage Latest Stable Version Master Dependancies

The idea behind this is to evaluate the quality and security of a Magento site you don't have access to. The scenario when you're interviewing a potential developer or vetting a new client and want to have an idea of what you're getting into.

Screenshot

Installation

.phar

  • Download the magescan.phar file
  • Run in command line with the php command
curl -o magescan.phar http://magescan.steverobbins.com/download/magescan.phar
php magescan.phar scan www.example.com

Source

  • Clone this repository
  • Install with composer
git clone https://github.com/steverobbins/magescan magescan
cd magescan
curl -sS https://getcomposer.org/installer | php
php composer.phar install
bin/magescan scan www.example.com

n98-magerun

Clone into your ~/.n98-magerun/modules directory

mkdir -p ~/.n98-magerun/modules
git clone https://github.com/steverobbins/magescan ~/.n98-magerun/modules/magescan
magerun magescan:scan store.example.com

Composer

composer require steverobbins/magescan --dev

Include in your project

Add the following to your composer.json

"require": {
    "steverobbins/magescan": "dev-master"
}

Usage

$ magescan.phar scan store.example.com

Commands

scan

$ magescan.phar scan [--insecure|-k] [--show-modules] <url>

Scans the given <url>.

Options

--insecure, -k

If set, SSL certificates won't be validated

--show-modules

Show all modules that we tried to detect, not just those that were found

selfupdate

$ magescan.phar selfupdate

Updates the phar file to the latest version.

Disclaimer

Since we can't see the code base, this tool makes assumptions and takes guesses. Information reported isn't guaranteed to be correct.

For in depth analyses, consider:

Support

Please create an issue for all bugs and feature requests

Contributing

Fork this repository and send a pull request to the dev branch

License

Creative Commons Attribution 4.0 International

About

Scan a Magento site for information

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 93.1%
  • JavaScript 5.4%
  • Other 1.5%