Code Monkey home page Code Monkey logo

Comments (6)

xmendez avatar xmendez commented on July 30, 2024

Hi,

-o options prints the results in a file using the specified format it does not change the main output as before.

The order is incorrect in the documentation but the option works for me. For example:

import wfuzz
for r in wfuzz.get_payload(range(10)).fuzz(url='http://testphp.vulnweb.com/FUZZ', printer=("/tmp/1", "raw")): print r
Then /tmp/1 contains the results.

cheers

from wfuzz.

javixeneize avatar javixeneize commented on July 30, 2024

Hi

I dont wnat to print it in a file i just want to format the output

The equivalent command using CLI is this

python wfuzz.py -o json -w wordlist/general/test.txt http://localhost:5000/FUZZ

How should it be done using the library?
Thanks

from wfuzz.

xmendez avatar xmendez commented on July 30, 2024

You can't format the main output. The last command using the CLI does not change the main output. It will create a file named json containing the results formatted using the raw printer.

The library does not format the output, it gives you results. It is up to you what to do with the results.

from wfuzz.

javixeneize avatar javixeneize commented on July 30, 2024

Hi

No, the command line doesnt work like that

If i execute python wfuzz.py -o csv -w wordlist/general/test.txt http://localhost:5000/FUZZ it doesnt store the data in a file called csv. It prints the result in a csv format

with wfuzz -e printers you can see all the options you have

In fact, having the response served as a json is something that i really like :)

Thanks

from wfuzz.

xmendez avatar xmendez commented on July 30, 2024

You are using an old version. wfuzz.py does not even exist in the newer versions.
Do --version to check the version.

This was changed to avoid having to do redirects when storing results. Now you can see the output and store at the same time.

Cheers

from wfuzz.

javixeneize avatar javixeneize commented on July 30, 2024

You are right... if i use wfuzz directly (2.2.2) that option is not available. I was using version 2.1.5 with python wfuzz.py

I think returning the response in a json format is fantastic! Is there any way this can be included in this version?

If not, can i modify wfuzz to include this?

Thanks!

from wfuzz.

Related Issues (20)

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.