Skip to content

Commit

Permalink
Color codes
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Mar 19, 2019
1 parent d5decab commit 1cd3008
Showing 1 changed file with 12 additions and 23 deletions.
35 changes: 12 additions & 23 deletions lib/colors.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,20 @@
#!/usr/bin/env python
# -*- coding:utf-8 -*-
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
#
# @name : Infoga - Email OSINT
# @url : http://github.com/m4ll0k
# @author : Momo Outaadi (m4ll0k)
# @name : PhoneInfoga - Phone numbers OSINT tool
# @url : https://github.com/sundowndev
# @author : Raphael Cerveaux (sundowndev)

import sys
import colorama
import atexit

if sys.platform == 'win32':
colorama.init()

# TODO: if args.no_ansi or args.output:
if True:
R = "\033[%s;31m"
B = "\033[%s;34m"
G = "\033[%s;32m"
W = "\033[%s;38m"
Y = "\033[%s;33m"
E = "\033[0m"
BOLD = ""
else:
R = ""
B = ""
G = ""
W = ""
Y = ""
E = ""
BOLD = ""
R = "\033[%s;31m"
B = "\033[%s;34m"
G = "\033[%s;32m"
W = "\033[%s;38m"
Y = "\033[%s;33m"
E = "\033[0m"
BOLD = "\033[1m"

0 comments on commit 1cd3008

Please sign in to comment.