threat9 / routersploit

Exploitation Framework for Embedded Devices
Other
12.12k stars 2.31k forks source link

How did you use colors in Python? #273

Closed keeganjk closed 7 years ago

fwkz commented 7 years ago

Please take a look at following code snippet. https://github.com/reverse-shell/routersploit/blob/master/routersploit/utils/__init__.py#L248

keeganjk commented 7 years ago

This only works in Unix, right?

lucyoa commented 7 years ago

There are different ANSI escape sequences for Windows

keeganjk commented 7 years ago

@lucyoa And what are those?