GithubHelp home page GithubHelp logo

Comments (11)

epi052 avatar epi052 commented on June 10, 2024 2

another option: -q|--quiet and --silent to denote the difference between the two

And how about to have a --silent that do not prompts the error messages?

I'd be ok with that. I've been thinking about how best to break out the error messages (specifically the ones that can spam the terminal) from the ones that are meaningful. Know that it's on my mind and something I plan to address.

from feroxbuster.

epi052 avatar epi052 commented on June 10, 2024 1

My bad, I could have been more clear.

I meant that a new flag could be added (--no-status-bars) that would essentiallly remove the status bars. You're correct that it doesn't currently exist.

Did my summary above seem like it would satisfy the request?

from feroxbuster.

epi052 avatar epi052 commented on June 10, 2024 1

ok, this will be in v2.0.0.

    -q, --quiet            Hide progress bars and banner (good for tmux windows w/ notifications)
        --silent           Only print URLs + turn off logging (good for piping a list of urls to other commands)

--quiet output:

302        0l        0w        0c https://localhost.com/Login
200      126l      281w     4091c https://localhost.com/maintenance
200      126l      281w     4092c https://localhost.com/terms
... more individual entries, followed by the directories being scanned ...
Scanning: https://localhost.com
Scanning: https://localhost.com/homepage
Scanning: https://localhost.com/api

--silent output (also disables ALL logging)

https://localhost.com/contact
https://localhost.com/about
https://localhost.com/terms

from feroxbuster.

epi052 avatar epi052 commented on June 10, 2024

So, we meet again... Thanks for the new request!

If I understand this correctly, you're wanting something similar to --no-status-bars? The functionality could be something like

200       253 http://internal-01.bart.htb/LOG/LOG.php
...
Scanning: http://internal-01.bart.htb
Scanning: http://internal-01.bart.htb/LOG

The portion you've highlighted isn't the only thing that updates frequently (basically everything in the bars except for the directory falls into this category).

from feroxbuster.

islanddog avatar islanddog commented on June 10, 2024

Thanks for the quick response! Yes, something similar which provides updates only when an entry is found. I might be asking the silliest question to date but I tried --no-status-bars at the begging, middle, and end of my string and I keep getting errors. Is this meant to be used with only a specific syntax:

image

from feroxbuster.

islanddog avatar islanddog commented on June 10, 2024

Haha no problem at all. I saw it on another request before you mentioned it and thought it was already implemented. Yes, that would be awesome down the pipe if you could and thanks for your time.

from feroxbuster.

epi052 avatar epi052 commented on June 10, 2024

Thinking about this, we could do a -q that increases in the amount of quiet, similar to how -v works.

  • -q => no status bars, similar to what's proposed above.
  • -qq => current -q behavior where only the results are printed (for use in piped output etc)

Add new command line option checklist

  • config.rs
    • add new value to Configuration struct
    • update Configuration::default with new value
    • update Configuration docstring with the new value/default (if appropriate)
    • update Configuration::new so that the new value is stored in config
    • update Configuration::merge_config with new value
    • update Configuration::tests::setup_config_test with new value
    • add unit test to check config parsing
  • ferox-config.toml.example
    • add new value to example config
  • banner.rs
    • add new check for the value in banner::initialize
    • create new entry to be written in the banner for the new value
      • add new emoji to the entry (should be somewhat related to the value name)
    • add new integration test (tests/test_banner) or update existing so that it's displayed under test
  • Cargo.toml
    • bump version: add 1 to minor release and set patch release to 0
  • README.md
    • update default config section (if needed)
    • update example config file section
    • update help output section
    • add an example with a heading that conforms to others (new in v1.4.0...)
      • add an entry for the example in the table of contents
  • parser.rs
    • add the option to the parser
  • wherever.rs
    • implement the new feature

from feroxbuster.

epi052 avatar epi052 commented on June 10, 2024

another option: -q|--quiet and --silent to denote the difference between the two

from feroxbuster.

islanddog avatar islanddog commented on June 10, 2024

Yes, that makes perfect sense above. As in my situation I tend to use TMUX with notification panes running. Having a flag that allows me to get an update when it hits an active link with a running time interval or the current state (25066/40230 from the example above). This would give me the information I need without the constant update of the pane itself.

from feroxbuster.

LaiKash avatar LaiKash commented on June 10, 2024

another option: -q|--quiet and --silent to denote the difference between the two

And how about to have a --silent that do not prompts the error messages?

from feroxbuster.

stale avatar stale commented on June 10, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from feroxbuster.

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.