How to use the h8mail.utils.colors.colors.fg.green function in h8mail

To help you get started, we’ve selected a few h8mail examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github khast3x / h8mail / h8mail / utils / helpers.py View on Github external
!___| |_______!  Heartfelt Email OSINT
	.___|_|_| |___.    Use responsibly
	| ._____| |_. | ;____________________;
	| !_! | | !_! | ; github.com/khast3x ;
	!_____! !_____! ;--------------------;
	"""
        # print(c.bold, c.fg.pink, banner, c.reset)
        banner_tab = banner.splitlines()
        code = 17
        for b in banner_tab:
            clr = "\u001b[38;5;" + str(code) + "m "
            print(c.bold + clr + b + c.reset)
            code += 3
    elif "warn" in b_type:
        print(
            c.fg.green,
            "\th8mail is free & open-source. Please report scammers.\n\n",
            c.reset,
        )
    elif "version" in b_type:
        print(
            "\t",
            c.fg.lightgrey,
            "Version " + __version__ + ' - "ECHO MIKE - HOTFIX 1" ',
            c.reset,
        )
github khast3x / h8mail / h8mail / utils / colors.py View on Github external
def test_news(news):
        """
        Print a Success
        """
        print(colors.bold + colors.fg.green + "[>] " + colors.reset + news.strip())
github khast3x / h8mail / h8mail / utils / summary.py View on Github external
print("{:_^90}".format(""))
    print(
        "\n\n\n{:^32}".format(""),
        c.bold,
        c.underline,
        "Session Recap:",
        c.reset,
        "\n\n",
    )
    print("{:^40} | ".format("Target"), "{:^40}".format("Status"), c.reset)
    print("{:_^90}\n".format(""))
    for t in breached_targets:
        if t.pwned is not 0:
            print(
                f"{t.target:^40} | ",
                c.fg.green,
                "{:^40}".format("Breach Found (" + str(t.pwned) + " elements)"),
                c.reset,
            )
        else:
            print(
                f"{t.target:^40} | ",
                c.fg.lightgrey,
                "{:^40}".format("Not Compromised"),
                c.reset,
            )
        print("{:_^90}\n".format(""))
    total_time = time.time() - start_time
    print("Execution time (seconds): ", c.fg.lightcyan, f"{total_time}", c.reset, "\n")
github khast3x / h8mail / h8mail / utils / colors.py View on Github external
colors.reset,
                )
            )
        elif "LOCALSEARCH" in source:
            if len(data) > 140:
                print(
                    "{}{}{:15}{}|{}{:>25.25}{} > {}{}{}{}".format(
                        colors.fg.lightblue,
                        colors.bold,
                        source,
                        colors.fg.lightgrey,
                        colors.fg.pink,
                        target,
                        colors.fg.lightgrey,
                        colors.bold,
                        colors.fg.green,
                        "[...]" + data[-135:],
                        colors.reset,
                    )
                )
            else:
                print(
                    "{}{}{:15}{}|{}{:>25.25}{} > {}{}{}{}".format(
                        colors.fg.lightblue,
                        colors.bold,
                        source,
                        colors.fg.lightgrey,
                        colors.fg.pink,
                        target,
                        colors.fg.lightgrey,
                        colors.bold,
                        colors.fg.green,