Coloured output
Update output to colourize output and improve feedback to the user. Will also require a --no-color to avoid coloured output.
I can try it :) Have you a colour scheme?
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?
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?
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.
I will take a look. I was thinking about using https://pypi.python.org/pypi/colored that should provide cross-platform support.
Sounds good!
Hey @FrancescoSaverioZuppichini! Just touching base to see how you're going with this one and if I can help in any way?
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?
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.
@FrancescoSaverioZuppichini how'd you ever get on with this?
Are you still implementing this feature?
Yes, would you like to take it? @timkent and I have been quite time poor for a while!
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()
This has been outstanding for some time so moving to my own plate. I'll open a new branch for this soon.