Skip to content

gianluca-caruso/PandP.fuzzer

Repository files navigation

PandP | fuzzer

PandP: fuzzer along with OWASP ZAP to be more powerful.


PandP: fuzzer uses the OWASP ZAP REST API to allow us to create fuzzers with the ability to save, modify, and repeat them whenever we want. With its appealing and facilitating UI, operations will become much easier to do.

Working

Once we have configured the settings to connect to the API endpoint, we can create our fuzzer and send it to ZAP. To do so we can use zest script loading so that, once we have a match on the reflected of the request, the script will be generated and sent automatically and we would only have to worry about starting it in OWASP ZAP.

The application is working but still in work in progress....


Getting Started

dev

npm install
npx prisma migrate dev --name init
npm run dev -- -H 127.0.0.1

production

npm install
npx prisma migrate dev --name init
npm run build
npm run start -- -H 127.0.0.1

change .env variables, especially SECRET ,NEXTAUTH_URL,NEXTAUTH_SECRET for production.
don't use http://localhost:{PORT} for NEXTAUTH_URL instead use http://127.0.0.0.1:{PORT}

Next.js

install package.json

$ npm install 

if You use providers such as Google, Apple, etc... You can setup strategy in api/auth/[...nextauth.ts] on database rather than jwt

run in dev mode

$ npm run dev

to build

$ npm run build

run after build

$ npm start

Prisma

migrate db

$ npx prisma migrate dev --name {name}

run prisma studio

$ npx prisma studio

to create fuzzers in https, remember to disable TLS ALPN extension that you'll find at this section in OWASP ZAP:

tls-alpn

# FAQ

Why use this tool?

Because OWASP ZAP has limited use of the fuzzer. This tool could cover this gap until ZAP extends the operation of the fuzzer itself, so that it'll become as complete as Burp's ("intruder").

Why Zest ?

Using zest scripts you have the ability within OWASP ZAP itself to edit and add : conditions, assertion and much more in an easy way. By using it you have more flexibility.


Have fun

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages