Coder Social home page Coder Social logo

mikef-nl / w4af Goto Github PK

View Code? Open in Web Editor NEW

This project forked from w4af/w4af

0.0 1.0 0.0 182.91 MB

w4af: web advanced application attack and audit framework, the open source web vulnerability scanner.

Home Page: https://w4af.readthedocs.io/en/latest/

License: GNU General Public License v2.0

Shell 0.14% JavaScript 0.47% C++ 0.01% Python 73.74% Perl 0.02% C 0.11% PHP 0.01% Java 0.01% Assembly 0.03% Hack 0.01% HTML 25.37% Smarty 0.05% PLpgSQL 0.01% Dockerfile 0.01% TSQL 0.01% ASP.NET 0.01% Classic ASP 0.01%

w4af's Introduction

Unit tests Code Coverage License Release

w4af - Web Advanced Application Attack and Audit Framework for Python3

w4af is an open source web application security scanner which helps developers and penetration testers identify and exploit vulnerabilities in their web applications. It is originally based on w3af and is currently in an early alpha development phase. We welcome early user experience and bug reports, but we don't make any warranties about the software - it's still a work in progress.

The scanner is able to identify 200+ vulnerabilities, including Cross-Site Scripting, SQL injection and OS commanding.

Documentation

We recommend you to read the user guide before starting to use w4af, there are many FAQs, tips and tricks and other important pieces of information in the manual.

Installation

Python

The project expects to use Python 3.11. The project's Python dependencies can be installed by running pipenv in the project's root folder:

python -m pip install --upgrade pipenv wheel
pipenv install

Running pipenv shell with then launch a shell from which it is possible to run w4af.

Node

The project uses NodeJS libraries for some features. To install those dependencies, run:

npm install

Development

Use pytest to run the unit tests:

$ pytest --help

By default, pytest will run all tests, including tests that depend on internet connection, a clean git checkout, and a running integration environment.

Unit tests

The unit tests should run without any integration environment (though some do rely on a live internet connection):

pytest -m "not moth and not wavsep and not w4af_moth and not sqlmap and not mcir and not wivet and not phpmoth and not fails and not git and not gui and not integration and not ci_ignore and not slow and not wordpress and not modsecurity"

Integration tests

You can launch the integration environment with docker-compose:

./w4af/tests/add-test-routes.sh
docker-compose -f ./w4af/tests/docker-compose.yml up

With that running, the integration tests should also pass. Integration tests are tagged according to which environment they rely on - the tag of the test matches the label for the docker service in docker-compose.yml. This will be one of moth, w4af_moth, sqlmap, mcir, wivet, or phpmoth, for example:

docker-compose -f ./w4af/tests/docker-compose.yml up w4af_moth
pytest -m "w4af_moth and not fails"

Building documentation

First install sphinx within a virtual environment and then build documentation

python -m pip install sphinx
sphinx-build -b html doc/sphinx/ doc/sphinx/_build/

Vision

The purpose of this software is to help security researches to scan their sites to find vulnerabilities.

Disclaimer

You are only allowed to scan websites that you own and/or have permissions to scan. The developers can not be made responsible for any damage that occurs by using this software. Use at your own risk.

Contributing

Pull requests are always welcome! If you're not sure where to start, please take a look at the TODO First steps as a contributor document in our wiki. All contributions, no matter how small, are welcome.

Links and documentation

w4af's People

Contributors

andresriancho avatar stamparm avatar bdamele avatar codders avatar security-companion avatar pvdl avatar artem-smotrakov avatar meatballs1 avatar q-back avatar mdeous avatar attwad avatar mleblebici avatar mpoindexter avatar paralax avatar nixwizard avatar leks-ha avatar linerd0196 avatar codychamberlain avatar aronmolnar avatar vulnerscom avatar jarrodcoulter avatar owentuz avatar inkz avatar gxsghsn avatar maniqui avatar foobarmonk avatar vinnytroia avatar swans0n avatar jekil avatar glira avatar

Watchers

 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.