Code Monkey home page Code Monkey logo

druscan's Introduction

Dependencies

python-requests
python-simplejson
* ubuntu: apt-get install python-requests python-simplejson
* Fedora: yum install python-requests python-simplejson

DruScan

$ ./druscan.py -h
usage: druscan.py [-h] [--update-modules] [--update-themes] [--limit LIMIT]
              [--url URL] [--modules] [--themes] [--users] [--version]

Drupal scanner by @dmouse

optional arguments:
-h, --help        show this help message and exit
--version         show program's version number and exit

Core:
--update-modules  Update list modules
--update-themes   Update list themes
--limit LIMIT     Limit page on drupal.org

Testing:
--url URL         URL Drupal Site http://drupalsite.com
--modules         Search modules
--themes          Search themes
--users           Search users
--paths           Search Paths

Update Modules

$ ./druscan.py --update-modules --limit 10 # default 3

Update Themes

$ ./druscan.py --update-themes --limit 2 # default 3

Search Modules

$ ./druscan.py --url http://drupal-site.com --modules

Search Themes

$ ./druscan.py --url http://drupal-site.com --themes

Sample

$ ./druscan.py --url http://sample.com --paths --modules --themes --users --limit 50

[  Version  ] Posible version 7
[  File     ] 	http://sample.com/CHANGELOG.txt
[  File     ] http://sample.com/sites/all/modules/views/CHANGELOG.txt
[  Version  ] 	3.x-7.x-dev
[  File     ] http://sample.com/sites/all/modules/ctools/CHANGELOG.txt
[  Version  ] 	7.x-1.x-dev
[  File     ] http://sample.com/sites/all/themes/omega/CHANGELOG.txt
[  Version  ] 	7.x-3.0-rc2
[  User     ] admin
[  Path     ] http://sample.com/user
[  Path     ] http://sample.com/node/add

druscan's People

Contributors

dmouse avatar

Watchers

Julien Dubreuil avatar James Cloos avatar

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.