Giter VIP home page Giter VIP logo

Comments (14)

codingo avatar codingo commented on May 25, 2024 2

This has been outstanding for some time so moving to my own plate. I'll open a new branch for this soon.

from vhostscan.

aancw avatar aancw commented on May 25, 2024 1

I've implemented basic color scheme output and logger for my project https://github.com/aancw/Belati
And not using print directly, but using log.console_log()

from vhostscan.

FrancescoSaverioZuppichini avatar FrancescoSaverioZuppichini commented on May 25, 2024

I can try it :) Have you a colour scheme?

from vhostscan.

codingo avatar codingo commented on May 25, 2024

Nothing in mind yet - do you want to base it off a *.json, *.txt or *.xml configuration file and it can be tweaked easily by the end user?

from vhostscan.

FrancescoSaverioZuppichini avatar FrancescoSaverioZuppichini commented on May 25, 2024

it can be a good idea! For now I will try to directly add colours in the code. As far as I understand, the main print is in virtual_host_scanner.py, am I correct?

from vhostscan.

codingo avatar codingo commented on May 25, 2024

I think the main concern I have with static colours is the number of people in the infosec security using non-standard terminals. Maybe look at the sqlmap project for some implementation ideas? I'd say yellow at first.

The only two areas where output is only to the screen is the main print function in the virtual_host_scanner.py file and print_banner() in main. The other print statements are in the output helper class, but some work would need to be done to separate what's being written to file / written to screen to avoid the coloured output being written out to file.

from vhostscan.

FrancescoSaverioZuppichini avatar FrancescoSaverioZuppichini commented on May 25, 2024

I will take a look. I was thinking about using https://pypi.python.org/pypi/colored that should provide cross-platform support.

from vhostscan.

codingo avatar codingo commented on May 25, 2024

Sounds good!

from vhostscan.

codingo avatar codingo commented on May 25, 2024

Hey @FrancescoSaverioZuppichini! Just touching base to see how you're going with this one and if I can help in any way?

from vhostscan.

FrancescoSaverioZuppichini avatar FrancescoSaverioZuppichini commented on May 25, 2024

Hey, how are you?

This weekend I had some problem health problems, I will have time on the weekend :)

So you were suggesting to put the colours as NoSQLMap, so everything yellow, correct?

from vhostscan.

codingo avatar codingo commented on May 25, 2024

Sorry @FrancescoSaverioZuppichini, I missed this comment - thinking red for errors, yellow for feedback, green for likely matches I'm thinking? If you want to wire something up we can tweak around with it in the pull request prior to a merge.

from vhostscan.

codingo avatar codingo commented on May 25, 2024

@FrancescoSaverioZuppichini how'd you ever get on with this?

from vhostscan.

aancw avatar aancw commented on May 25, 2024

Are you still implementing this feature?

from vhostscan.

codingo avatar codingo commented on May 25, 2024

Yes, would you like to take it? @timkent and I have been quite time poor for a while!

from vhostscan.

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.