Git Product home page Git Product logo

yaswanth28840 / web-application-firewall-using-modsecurity Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 71 KB

i have implemented WAF using mod security.The model also addresses SQL attacks which is generally injected through text boxes which pass data to web application via web requests or sometimes using URLs. first we will be installing nginx and then we will confire it to mod security so,here nginx is open source web sever and mod security acts as security application module for nginx web server. in my project test will be done with sql injection which it will identify all the threats using mod secuirty.

License: Apache License 2.0

HTML 61.36% PHP 23.73% JavaScript 3.93% CSS 10.99%

web-application-firewall-using-modsecurity's Introduction

Web-Application-Firewall-using-ModSecurity

I have implemented WAF using mod security.The model also addresses SQL attacks which is generally injected through text boxes which pass data to web application via web requests or sometimes using URLs. first we will be installing nginx and then we will confire it to mod security so,here nginx is open source web sever and mod security acts as security application module for nginx web server. in my project test will be done with sql injection which it will identify all the threats using mod secuirty.

The ModSecurity-nginx connector takes the form of an Nginx module that provides a layer of communication between Nginx and ModSecurity.

To begin the installation process, follow the steps outlined below:

Install all the dependencies required for the build and compilation process with the following command:

1.sudo apt-get install bison build-essential ca-certificates curl dh-autoreconf doxygen
flex gawk git iputils-ping libcurl4-gnutls-dev libexpat1-dev libgeoip-dev liblmdb-dev
libpcre3-dev libpcre++-dev libssl-dev libtool libxml2 libxml2-dev libyajl-dev locales
lua5.3-dev pkg-config wget zlib1g-dev zlibc libxslt libgd-dev 2.Ensure that git is installed:

3.sudo apt install git Clone the ModSecurity Github repository from the /opt directory:

4.cd /opt && sudo git clone https://github.com/SpiderLabs/ModSecurity

5.Change your directory to the ModSecurity directory: cd ModSecurity

6.Run the following git commands to initialize and update the submodule: sudo git submodule init sudo git submodule update

7.Run the build.sh script: sudo ./build.sh

8.Run the configure file, which is responsible for getting all the dependencies for the build process: sudo ./configure

9.Run the make command to build ModSecurity: sudo make

10.After the build process is complete, install ModSecurity by running the following command: sudo make install

Downloading ModSecurity-Nginx Connector Before compiling the ModSecurity module, clone the Nginx-connector from the /opt directory: cd /opt && sudo git clone --depth 1 https://github.com/SpiderLabs/ModSecurity-nginx.git

web-application-firewall-using-modsecurity's People

Contributors

yaswanth28840 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.