Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, target_data, debug=False):
self.headers = {
"User-Agent": "h8mail-v.{h8ver}-OSINT-and-Education-Tool (PythonVersion={pyver}; Platform={platfrm})".format(
h8ver=__version__,
pyver=sys.version.split(" ")[0],
platfrm=platform.platform().split("-")[0],
)
}
self.target = target_data
self.pwned = 0
self.data = [()]
self.debug = debug
if debug:
print(
c.fg.red,
"DEBUG: Created target object for {}".format(self.target),
c.reset,
)
colors.fg.lightgrey,
colors.reset,
data,
colors.reset,
)
)
else:
print(
"{}{:15}{}|{}{:>25.25}{} > {}{}{}".format(
colors.fg.lightblue,
source,
colors.fg.lightgrey,
colors.fg.pink,
target,
colors.fg.lightgrey,
colors.fg.red,
data,
colors.reset,
)
def bad_news(news):
"""
Print a Failure, error
"""
print(colors.bold + colors.fg.red + "[!] " + colors.reset + news.strip())