Ropper
Ropper copied to clipboard
Enhancement: Windows color support
This can be achieved by moving to colorama, which does cross-platform text coloring.
Thx, I know. I tried to have just a view dependencies. At the moment you just have to install capstone and filebytes to get ropper work. However, I have an idea, how I can accomplish that.
If minimizing dependencies is an objective, we can set the output color directly with GetStdHandle and SetConsoleTextAttribute using ctypes:
https://www.burgaud.com/bring-colors-to-the-windows-console-with-python
Another option is to check for colorama and if it doesn't exist, print without color.