Python print banner

60 Python code examples are found related to " print banner". You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example.
Example 1
Source File: helpers.py    From WSC2 with GNU General Public License v3.0 17 votes vote down vote up
def printBanner():
	print color("""
	
██╗    ██╗███████╗ ██████╗██████╗ 
██║    ██║██╔════╝██╔════╝╚════██╗
██║ █╗ ██║███████╗██║      █████╔╝
██║███╗██║╚════██║██║     ██╔═══╝ 
╚███╔███╔╝███████║╚██████╗███████╗
 ╚══╝╚══╝ ╚══════╝ ╚═════╝╚══════╝
                                  
	""", "blue") 
Example 2
Source File: paper_machete.py    From PaperMachete with MIT License 9 votes vote down vote up
def print_banner(title=""):
    subprocess.call("clear")
    print("""
 ____                        __  __            _          _
|  _ \ __ _ _ __  ___ _ __  |  \/  | __ _  ___| |__   ___| |_ ___    ________
| |_) / _` | '_ \/ _ \ '__| | |\/| |/ _` |/ __| '_ \ / _ \ __/ _ \  /_______/
|  __/ (_| | |_)|  __/ |    | |  | | (_| | (__| | | |  __/ ||  __/  \_______\\
|_|   \__,_| .__/\___|_|    |_|  |_|\__,_|\___|_| |_|\___|\__\___|  /_______/
           |_|                                                     @==|;;;;;;>
""")
    total_len = 80
    if title:
        padding = total_len - len(title) - 4
        print("== {} {}\n".format(title, "=" * padding))
    else:
        print("{}\n".format("=" * total_len)) 
Example 3
Source File: main.py    From xos with Apache License 2.0 8 votes vote down vote up
def print_banner(root):
    log.info(r"---------------------------------------------------------------")
    log.info(r"                                    _                  __      ")
    log.info(r"   _  ______  _____      ____ ___  (_)___ __________ _/ /____  ")
    log.info(r"  | |/_/ __ \/ ___/_____/ __ `__ \/ / __ `/ ___/ __ `/ __/ _ \ ")
    log.info(r" _>  </ /_/ (__  )_____/ / / / / / / /_/ / /  / /_/ / /_/  __/ ")
    log.info(r"/_/|_|\____/____/     /_/ /_/ /_/_/\__, /_/   \__,_/\__/\___/  ")
    log.info(r"                                  /____/                       ")
    log.info(r"---------------------------------------------------------------")
    log.debug("CORD repo root", root=root)
    log.debug("Storing logs in: %s" % os.environ["LOG_FILE"])
    log.debug(r"---------------------------------------------------------------") 
Example 4
Source File: igor.py    From coveragepy with Apache License 2.0 7 votes vote down vote up
def print_banner(label):
    """Print the version of Python."""
    try:
        impl = platform.python_implementation()
    except AttributeError:
        impl = "Python"

    version = platform.python_version()

    if '__pypy__' in sys.builtin_module_names:
        version += " (pypy %s)" % ".".join(str(v) for v in sys.pypy_version_info)

    try:
        which_python = os.path.relpath(sys.executable)
    except ValueError:
        # On Windows having a python executable on a different drive
        # than the sources cannot be relative.
        which_python = sys.executable
    print('=== %s %s %s (%s) ===' % (impl, version, label, which_python))
    sys.stdout.flush() 
Example 5
Source File: globals.py    From OpenRAM with BSD 3-Clause "New" or "Revised" License 7 votes vote down vote up
def print_banner():
    """ Conditionally print the banner to stdout """
    global OPTS
    if OPTS.is_unit_test:
        return

    debug.print_raw("|==============================================================================|")
    debug.print_raw("|=========" + NAME.center(60) + "=========|")
    debug.print_raw("|=========" + " ".center(60) + "=========|")
    debug.print_raw("|=========" + "VLSI Design and Automation Lab".center(60) + "=========|")
    debug.print_raw("|=========" + "Computer Science and Engineering Department".center(60) + "=========|")
    debug.print_raw("|=========" + "University of California Santa Cruz".center(60) + "=========|")
    debug.print_raw("|=========" + " ".center(60) + "=========|")
    user_info = "Usage help: openram-user-group@ucsc.edu"
    debug.print_raw("|=========" + user_info.center(60) + "=========|")
    dev_info = "Development help: openram-dev-group@ucsc.edu"
    debug.print_raw("|=========" + dev_info.center(60) + "=========|")
    temp_info = "Temp dir: {}".format(OPTS.openram_temp)
    debug.print_raw("|=========" + temp_info.center(60) + "=========|")
    debug.print_raw("|=========" + "See LICENSE for license info".center(60) + "=========|")
    debug.print_raw("|==============================================================================|") 
Example 6
Source File: armory.py    From armory with GNU General Public License v3.0 7 votes vote down vote up
def print_banner():
    banner = """
       _
      dM.
     ,MMb
     d'YM.   ___  __ ___  __    __     _____  ___  __ ____    ___
    ,P `Mb   `MM 6MM `MM 6MMb  6MMb   6MMMMMb `MM 6MM `MM(    )M'
    d'  YM.   MM69 "  MM69 `MM69 `Mb 6M'   `Mb MM69 "  `Mb    d'
___,P____Mb___MM______MM____MM____MM_MM_____MM_MM_______YM.__,P___
   d'    YM.  MM      MM    MM    MM MM     MM MM        MM  M    \\
__,MMMMMMMMb__MM______MM____MM____MM_MM_____MM_MM________`Mbd'_____\\
  d'      YM. MM      MM    MM    MM YM.   ,M9 MM         YMP
_dM_     _dMM_MM_    _MM_  _MM_  _MM_ YMMMMM9 _MM_         M
                                                          d'
                                                      (8),P
                                                       YMM
"""
    print(banner) 
Example 7
Source File: core.py    From brutemap with GNU General Public License v3.0 6 votes vote down vote up
def printBanner():
    """
    Mencetak banner brutemap ke terminal
    """

    coloramainit()
    stdoutWrite(BANNER) 
Example 8
Source File: core.py    From passthief with MIT License 6 votes vote down vote up
def PrintBanner():
		print('''
		{red}██████╗  █████╗ ███████╗███████╗████████╗██╗  ██╗██╗███████╗███████╗{reset}
		{yellow}██╔══██╗██╔══██╗██╔════╝██╔════╝╚══██╔══╝██║  ██║██║██╔════╝██╔════╝{reset}
		{bright}{yellow}██████╔╝███████║███████╗███████╗   ██║   ███████║██║█████╗  █████╗{reset}
		{green}██╔═══╝ ██╔══██║╚════██║╚════██║   ██║   ██╔══██║██║██╔══╝  ██╔══╝{reset}
		{blue}██║     ██║  ██║███████║███████║   ██║   ██║  ██║██║███████╗██║{reset}
		{pink}╚═╝     ╚═╝  ╚═╝╚══════╝╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝╚══════╝╚═╝{reset}
		{bright}Version {green}{ver}{white}
		'''.format(ver=VersionInfo.GetInfo(),red=Fore.RED,yellow=Fore.YELLOW,green=Fore.GREEN,
		blue=Fore.BLUE,pink=Fore.MAGENTA,white=Fore.WHITE,reset=Style.RESET_ALL,bright=Style.BRIGHT))
	# Call modules to do their work 
Example 9
Source File: core.py    From lighthouse with MIT License 6 votes vote down vote up
def print_banner(self):
        """
        Print the plugin banner.
        """

        # build the main banner title
        banner_params = (self.PLUGIN_VERSION, self.AUTHORS, self.DATE)
        banner_title  = "Lighthouse v%s - (c) %s - %s" % banner_params

        # print plugin banner
        lmsg("")
        lmsg("-"*75)
        lmsg("---[ %s" % banner_title)
        lmsg("-"*75)
        lmsg("")

    #--------------------------------------------------------------------------
    # Disassembler / Database Context Selector
    #-------------------------------------------------------------------------- 
Example 10
Source File: launch_common.py    From tezos-reward-distributor with GNU General Public License v3.0 6 votes vote down vote up
def print_banner(args, script_name):
    with open("./banner.txt", "rt") as file:
        print(file.read())
    print(LINER, flush=True)
    print("Copyright Huseyin ABANOZ 2019")
    print("huseyinabanox@gmail.com")
    print("Please leave copyright information")
    print(LINER,flush=True)

    sleep(0.1)

    logger.info("Tezos Reward Distributor" + script_name + " is Starting")

    if args.dry_run:
        logger.info(LINER)
        logger.info("DRY RUN MODE")
        logger.info(LINER) 
Example 11
Source File: console.py    From ImundboQuant with MIT License 6 votes vote down vote up
def print_banner(self, moduleText=None):
        print("""
  ___                           _ _            ___                    _    
 |_ _|_ __ ___  _   _ _ __   __| | |__   ___  / _ \ _   _  __ _ _ __ | |_  
  | || '_ ` _ \| | | | '_ \ / _` | '_ \ / _ \| | | | | | |/ _` | '_ \| __| 
  | || | | | | | |_| | | | | (_| | |_) | (_) | |_| | |_| | (_| | | | | |_  
 |___|_| |_| |_|\__,_|_| |_|\__,_|_.__/ \___/ \__\_\\__,_|\__,_|_| |_|\__| 
 OPEN-SOURCE PROJECT | https://github.com/MikaelFuresjo/ImundboQuant
 by Mikael Furesjö and friends

 Machine learning in Python and MQL4 for stock market and 
 forex market predictions and fully automated trading. 
    """);

        if (moduleText):
            print("MODULE\n" + str(moduleText))

        print('\n\n\n') 
Example 12
Source File: cheetah.py    From cheetah with GNU General Public License v3.0 6 votes vote down vote up
def print_banner():
    banner = r"""
_________________________________________________
       ______              _____         ______
__________  /_ _____ _____ __  /_______ ____  /_
_  ___/__  __ \_  _ \_  _ \_  __/_  __ \ __  __ \
/ /__  _  / / //  __//  __// /_  / /_/ / _  / / /
\___/  / / /_/ \___/ \___/ \__/  \____/  / / /_/
      /_/                               /_/

a very fast brute force webshell password tool.
    """
    print(white+banner+reset) 
Example 13
Source File: cli.py    From knob with MIT License 6 votes vote down vote up
def print_banner():
    banner = """\
   ____     __                    _____  __
  /  _/__  / /____ _______  ___ _/ / _ )/ /_ _____
 _/ // _ \/ __/ -_) __/ _ \/ _ `/ / _  / / // / -_)
/___/_//_/\__/\__/_/ /_//_/\_,_/_/____/_/\_,_/\__/

by Dennis Mantz.

type <help> for usage information!\n\n"""
    for line in banner:
        term.output(text.blue(line)) 
Example 14
Source File: dumpsterFireFactory.py    From DumpsterFire with MIT License 6 votes vote down vote up
def PrintBannerFlames():

	print ""
	print "     (                                             (                 " 
	print "    )\ )                            )            )\ )                " 
	print "   (()/(                         ( /(   (   (   (()/(  (   (         " 
	print "    /(_)) (      )               )\()) ))\  )(   /(_)) )\  )(   (    "
	print "   (_))_ ))\    (     `  )   (  (_))/ /((_)(()\ (_))_|((_)(()\ ))\   "

	return



# ================================================================================================
#
# Function:  BuildDumpsterFire()
#
# Description:  High level method to that walks the user through the process of building
# DumpsterFires. Prints in-context help describing the process, then moves into the steps.
# See the printed context help below for a description of the workflow.
#
# ================================================================================================ 
Example 15
Source File: helpers.py    From WebDavC2 with GNU General Public License v3.0 6 votes vote down vote up
def printBanner():
	print color("""
	
██╗    ██╗███████╗██████╗ ██████╗  █████╗ ██╗   ██╗ ██████╗██████╗ 
██║    ██║██╔════╝██╔══██╗██╔══██╗██╔══██╗██║   ██║██╔════╝╚════██╗
██║ █╗ ██║█████╗  ██████╔╝██║  ██║███████║██║   ██║██║      █████╔╝
██║███╗██║██╔══╝  ██╔══██╗██║  ██║██╔══██║╚██╗ ██╔╝██║     ██╔═══╝ 
╚███╔███╔╝███████╗██████╔╝██████╔╝██║  ██║ ╚████╔╝ ╚██████╗███████╗
 ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝  ╚═╝  ╚═══╝   ╚═════╝╚══════╝
	
	""", "blue") 
Example 16
Source File: console.py    From mec with GNU General Public License v3.0 6 votes vote down vote up
def print_banner(ver, exp_cnt):
    """
    print banner along with some info
    """
    banner = colors.CYAN + colors.BOLD + r'''
 ███▄ ▄███▓▓█████  ▄████▄
▓██▒▀█▀ ██▒▓█   ▀ ▒██▀ ▀█
▓██    ▓██░▒███   ▒▓█    ▄
▒██    ▒██ ▒▓█  ▄ ▒▓▓▄ ▄██▒
▒██▒   ░██▒░▒████▒▒ ▓███▀ ░
░ ▒░   ░  ░░░ ▒░ ░░ ░▒ ▒  ░
░  ░      ░ ░ ░  ░  ░  ▒
░      ░      ░   ░
       ░      ░  ░░ ░
                  ░
'''+f'''

    version: {ver}

    {exp_cnt} exploits
''' + colors.END + colors.GREEN + '''

    by jm33_m0
    https://github.com/jm33-m0/mec
    type h or help for help\n''' + colors.END

    print(banner)


# util functions 
Example 17
Source File: packetWhisper.py    From PacketWhisper with MIT License 5 votes vote down vote up
def PrintBanner():

	print "  _____           _        ___          ___     _                      "
	print " |  __ \         | |      | \ \        / / |   (_)                     "
	print " | |__) |_ _  ___| | _____| |\ \  /\  / /| |__  _ ___ _ __   ___ _ __  "
	print " |  ___/ _` |/ __| |/ / _ \ __\ \/  \/ / | '_ \| / __| '_ \ / _ \ '__| "
	print " | |  | (_| | (__|   <  __/ |_ \  /\  /  | | | | \__ \ |_) |  __/ |    "
	print " |_|   \__,_|\___|_|\_\___|\__| \/  \/   |_| |_|_|___/ .__/ \___|_|    "
	print "                                                     | |               "
	print "                                                     |_|               "
	print ""
	print "           Exfiltrate / Transfer Any Filetype in Plain Sight"
	print "                                  via                 "
	print "                 Text-Based Steganograhy & DNS Queries"
	print "\"SHHHHHHHHHH!\""
	print "        \                Written by TryCatchHCF"
	print "         \           https://github.com/TryCatchHCF"
	print "  (\~---."
	print "  /   (\-`-/)"
	print " (      ' '  )        data.xls accounts.txt \\     Series of "
	print "  \ (  \_Y_/\\        device.cfg  backup.zip  -->  harmless-looking "
	print "   \"\"\ \___//         LoadMe.war file.doc   /     DNS queries "
	print "      `w   \""   

	return


#========================================================================
#
# MainMenu()
#
#======================================================================== 
Example 18
Source File: log.py    From dials with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def print_banner(force=False, use_logging=False):
    global _banner_printed
    if _banner_printed and not force:
        return
    if os.getenv("DIALS_NOBANNER"):
        return
    _banner_printed = True

    if use_logging:
        logging.getLogger("dials").info(_banner)
    else:
        print(_banner) 
Example 19
Source File: theHarvester.py    From luscan-devel with GNU General Public License v2.0 5 votes vote down vote up
def print_banner():
	print """\n
*******************************************************************
*                                                                 *
* | |_| |__   ___    /\  /\__ _ _ ____   _____  ___| |_ ___ _ __  *
* | __| '_ \ / _ \  / /_/ / _` | '__\ \ / / _ \/ __| __/ _ \ '__| *
* | |_| | | |  __/ / __  / (_| | |   \ V /  __/\__ \ ||  __/ |    *
*  \__|_| |_|\___| \/ /_/ \__,_|_|    \_/ \___||___/\__\___|_|    *
*                                                                 *
* TheHarvester Ver. 2.3                                           *
* Coded by Christian Martorella                                   *
* Edge-Security Research                                          *
* cmartorella@edge-security.com                                   *
* Some updates by Marcus Watson (@branmacmuffin)                  *
*******************************************************************\n\n""" 
Example 20
Source File: AWSBucketDump.py    From AWSBucketDump with MIT License 5 votes vote down vote up
def print_banner():
        print('''\nDescription:
        AWSBucketDump is a tool to quickly enumerate AWS S3 buckets to look for loot.
        It's similar to a subdomain bruteforcer but is made specifically to S3
        buckets and also has some extra features that allow you to grep for
        delicous files as well as download interesting files if you're not
        afraid to quickly fill up your hard drive.

        by Jordan Potti
        @ok_bye_now'''
        ) 
Example 21
Source File: VolDiff.py    From VolDiff with BSD 2-Clause "Simplified" License 5 votes vote down vote up
def print_voldiff_banner():
    print ("             _    ___ _  __  __ ")
    print (" /\   /\___ | |  /   (_)/ _|/ _|")
    print (" \ \ / / _ \| | / /\ / | |_| |_ ")
    print ("  \ V / (_) | |/ /_//| |  _|  _|")
    print ("   \_/ \___/|_/___,' |_|_| |_|  ")
    print ("\nVolDiff: Malware Memory Footprint Analysis (v%s)\n" % version)


# PRINT HELP SECTION ================================================================ 
Example 22
Source File: dingoes.py    From dingoes with MIT License 5 votes vote down vote up
def print_banner():
    """Print welcome banner

    """
    figlet = Figlet(font='slant')
    banner = figlet.renderText('DiNgoeS')
    print(banner)
    print("[+] 2017 CryptoAUSTRALIA - https://cryptoaustralia.org.au\n") 
Example 23
Source File: wpforce.py    From WPForce with BSD 2-Clause "Simplified" License 5 votes vote down vote up
def PrintBanner(input,wordlist,url,userlist,passlist):
    banner = """\
       ,-~~-.___.       __        __ ____   _____
      / |  x     \      \ \      / /|  _ \ |  ___|___   _ __  ___  ___
     (  )        0       \ \ /\ / / | |_) || |_  / _ \ | '__|/ __|/ _ \.
      \_/-, ,----'  ____  \ V  V /  |  __/ |  _|| (_) || |  | (__|  __/
         ====      ||   \_ \_/\_/   |_|    |_|   \___/ |_|   \___|\___|
        /  \-'~;   ||     |                v.1.0.0
       /  __/~| ...||__/|-"   Brute Force Attack Tool for Wordpress
     =(  _____||________|                 ~n00py~
    """
    print banner
    print ("Username List: %s" % input) + " (" + str(len(userlist)) + ")"
    print ("Password List: %s" % wordlist) + " (" + str(len(passlist)) + ")"
    print ("URL: %s" % url) 
Example 24
Source File: main.py    From voltha with Apache License 2.0 5 votes vote down vote up
def print_banner(log):
    log.info(' _    ______  __  ________  _____ ')
    log.info('| |  / / __ \/ / /_  __/ / / /   |')
    log.info('| | / / / / / /   / / / /_/ / /| |')
    log.info('| |/ / /_/ / /___/ / / __  / ___ |')
    log.info('|___/\____/_____/_/ /_/ /_/_/  |_|')
    log.info('(to stop: press Ctrl-C)') 
Example 25
Source File: build.py    From influxdb-relay with MIT License 5 votes vote down vote up
def print_banner():
    logging.info(r"""
  ___       __ _          ___  ___     ___     _           
 |_ _|_ _  / _| |_  ___ _|   \| _ )___| _ \___| |__ _ _  _ 
  | || ' \|  _| | || \ \ / |) | _ \___|   / -_) / _` | || |
 |___|_||_|_| |_|\_,_/_\_\___/|___/   |_|_\___|_\__,_|\_, |
                                                      |__/ 
  Build Script
""") 
Example 26
Source File: Recon.py    From DomainRecon with MIT License 5 votes vote down vote up
def print_banner():
	banner=	(" ____                        _         ____                       \n"+
	"|  _ \\  ___  _ __ ___   __ _(_)_ __   |  _ \\ ___  ___ ___  _ __  \n"+
	"| | | |/ _ \\| '_ ` _ \\ / _` | | '_ \\  | |_) / _ \\/ __/ _ \\| '_ \\ \n"+
	"| |_| | (_) | | | | | | (_| | | | | | |  _ <  __/ (_| (_) | | | |\n"+
	"|____/ \\___/|_| |_| |_|\\__,_|_|_| |_| |_| \\_\\___|\\___\\___/|_| |_|\n")
	print banner 
Example 27
Source File: __main__.py    From wifite2 with GNU General Public License v2.0 5 votes vote down vote up
def print_banner(self):
        '''Displays ASCII art of the highest caliber.'''
        Color.pl(r' {G}  .     {GR}{D}     {W}{G}     .    {W}')
        Color.pl(r' {G}.´  ·  .{GR}{D}     {W}{G}.  ·  `.  {G}wifite {D}%s{W}' % Configuration.version)
        Color.pl(r' {G}:  :  : {GR}{D} (¯) {W}{G} :  :  :  {W}{D}automated wireless auditor{W}')
        Color.pl(r' {G}`.  ·  `{GR}{D} /¯\ {W}{G}´  ·  .´  {C}{D}https://github.com/derv82/wifite2{W}')
        Color.pl(r' {G}  `     {GR}{D}/¯¯¯\{W}{G}     ´    {W}')
        Color.pl('') 
Example 28
Source File: init_apigee_install.py    From jazz-installer with Apache License 2.0 5 votes vote down vote up
def print_banner(message):
    print ("**************************************************")
    print (message)
    print ("**************************************************")


# TODO do we really want to rely only on basic auth for admin access to external Apigee? 
Example 29
Source File: DeathStar.py    From DeathStar with GNU General Public License v3.0 5 votes vote down vote up
def print_win_banner():
    print('\n')
    print(colored('=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=', 'yellow'))
    print(colored('=-=-=-=-=-=-=-=-=-=-=-=-=-=-WIN-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=', 'yellow'))
    print(colored('=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=', 'yellow')) 
Example 30
Source File: color.py    From Dr0p1t-Framework with MIT License 5 votes vote down vote up
def print_banner(banner,info,c1,c2):
	global G, Y, B, R, W , M , C , end
	end = '\33[97m'
	def cprint(text,info,c1,c2):
		print(c1+text+end)
		print(c2+info+end)
	cprint( banner,info,c1,c2 ) 
Example 31
Source File: redcloud.py    From Redcloud with MIT License 5 votes vote down vote up
def print_banner(arg = ""):


    banner_top = '''
                                ----__ ''""    ___``'/````\   
                              ,'     ,'    `--/   __,      \-,,,`.
                        ,""""'     .' ;-.    ,  ,'  \             `"""".
                      ,'           `-(   `._(_,'     )_                `.
                     ,'         ,---. \ @ ;   \ @ _,'                   `.
                ,-""'         ,'      ,--'-    `;'                       `.
               ,'            ,'      (      `. ,'                          `.
               ;            ,'        \    _,','   Offensive                `.
              ,'            ;          `--'  ,'  Infrastructure               `.
             ,'             ;          __    (     Deployment                `.
             ;              `____...  `78b   `.                  ,'           ,'
             ;    ...----''" )  _.-  .d8P    `.                ,'    ,'    ,'
    
    '''
    banner = '''_....----'" '.        _..--"_.-:.-' .'        `.             ,''.   ,' `--'
              `" mGk "" _.-'' .-'`-.:..___...--' `-._      ,-"'   `-'
        _.--'       _.-'    .'   .' .'               `"""""
  __.-''        _.-'     .-'   .'  /     ~~~
 '          _.-' .-'  .-'        .'    
        _.-'  .-'  .-' .'  .'   /  R e d C l o u d
    _.-'      .-'   .-'  .'   .'   
_.-'       .-'    .'   .'    /           ~~~
       _.-'    .-'   .'    .'     github.com/khast3x
    .-'            .'
	'''

    print("\n\n")
    if len(arg) != 0:
        print(c.fg.red + c.bold + banner_top + banner + c.reset + "\n\n\n")
        print("\n\n\t\tThank you for using" + c.fg.red+ " redcloud!" + c.bold + " <3" +c.reset)
        input(c.bg.purple + "\n\n\t\t- Press Enter to get back to saving the planet -" + c.reset)
    else:
        print(c.fg.red + c.bold + banner + c.reset) 
Example 32
Source File: console.py    From win-unicode-console with MIT License 5 votes vote down vote up
def print_banner(file=sys.stderr):
	print("Python {} on {}".format(sys.version, sys.platform), file=file)
	print('Type "help", "copyright", "credits" or "license" for more information.', file=file)

# PY3 # class InteractiveConsole(code.InteractiveConsole): 
Example 33
Source File: CVE-2017-10271.py    From CVE-2017-10271 with Apache License 2.0 5 votes vote down vote up
def print_banner(self):
        print("=" * 80)
        print("CVE-2017-10271 RCE Exploit")
        print("written by: Kevin Kirsche (d3c3pt10n)")
        print("Remote Target: {rhost}".format(rhost=self.url))
        print("Shell Listener: {lhost}:{lport}".format(
            lhost=self.lhost, lport=self.lport))
        print("=" * 80) 
Example 34
Source File: init.py    From ps4_module_loader with GNU General Public License v3.0 5 votes vote down vote up
def print_banner():
    banner = [
      "Python %s " % sys.version,
      "IDAPython" + (" 64-bit" if __EA64__ else "") + " v%d.%d.%d %s (serial %d) (c) The IDAPython Team <idapython@googlegroups.com>" % IDAPYTHON_VERSION
    ]
    sepline = '-' * (max([len(s) for s in banner])+1)

    print(sepline)
    print("\n".join(banner))
    print(sepline)

# -----------------------------------------------------------------------

# Redirect stderr and stdout to the IDA message window 
Example 35
Source File: spraykatz.py    From spraykatz with MIT License 5 votes vote down vote up
def printBanner():
	''' Print the tool banner '''
	#os.system("clear")
	print ("")
	print ("███████╗██████╗ ██████╗  █████╗ ██╗   ██╗██╗  ██╗ █████╗ ████████╗███████╗")
	print ("██╔════╝██╔══██╗██╔══██╗██╔══██╗╚██╗ ██╔╝██║ ██╔╝██╔══██╗╚══██╔══╝╚══███╔╝")
	print ("███████╗██████╔╝██████╔╝███████║ ╚████╔╝ █████╔╝ ███████║   ██║     ███╔╝ ")
	print ("╚════██║██╔═══╝ ██╔══██╗██╔══██║  ╚██╔╝  ██╔═██╗ ██╔══██║   ██║    ███╔╝  ")
	print ("███████║██║     ██║  ██║██║  ██║   ██║   ██║  ██╗██║  ██║   ██║   ███████╗")
	print ("╚══════╝╚═╝     ╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝   ╚══════╝%sv0.9.9%s" % (green, white))
	print ("                                                                          ")
	print ("                    Written by %s@aas_s3curity%s                       " % (red, white))
	print ("                                                                          ") 
Example 36
Source File: HardenFlash-deploy.py    From HardenFlash with GNU General Public License v2.0 5 votes vote down vote up
def print_banner():
    print "********************************************************************************************************"
    print "HardernFlash, patching Flash binary to stop Flash exploits and zero-days."
    print "by @HaifeiLi (haifei.van@hotmail.com), have you read the README from following address?"
    print "https://github.com/HaifeiLi/HardenFlash/blob/master/README.md"
    print "********************************************************************************************************\n" 
Example 37
Source File: banner.py    From PyObfx with GNU General Public License v3.0 5 votes vote down vote up
def print_banner():
    """
    Chooses random banner from provided banners above
    """
    banners = [banner1, banner2, banner3, banner4, banner5]
    print(choice(banners)) 
Example 38
Source File: MltPconsole.py    From MultiProxies with GNU General Public License v3.0 5 votes vote down vote up
def printBanner(Client):
    color.echo(__doc__, BLUE)
    color.echo("=# ", CYAN, True)
    color.echo("author:DM_ / blog:http://x0day.me", GREEN)
    color.echo("=# ", CYAN, True)
    color.echo("version::%s" % __version__.ljust(10), GREY)
    color.echo("=# ", CYAN, False)
    color.echo("=# ", CYAN, True)
    color.echo("Modules::%d " % (len(AllModulesLst)), BLUE, True)
    color.echo("Exploit::%d " % len(AllModules['Exploit']), RED, True)
    color.echo("Auxiliary::%d" % len(AllModules['Auxiliary']), YELLOW, False) 
Example 39
Source File: px.py    From px with MIT License 5 votes vote down vote up
def print_banner():
    pprint("Serving at %s:%d proc %s" % (
        State.config.get("proxy", "listen").strip(),
        State.config.getint("proxy", "port"),
        multiprocessing.current_process().name)
    )

    if getattr(sys, "frozen", False) != False or "pythonw.exe" in sys.executable:
        if State.config.getint("settings", "foreground") == 0:
            detach_console()

    for section in State.config.sections():
        for option in State.config.options(section):
            dprint(section + ":" + option + " = " + State.config.get(
                section, option)) 
Example 40
Source File: pandoras_box.py    From PandorasBox with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def print_banner():
        print('''\nDescription:
        BoxFinder is a tool to find box accounts and enumerate for shared files.

        '''
        ) 
Example 41
Source File: update_sources.py    From Minesweeper with GNU General Public License v3.0 5 votes vote down vote up
def print_banner():
    print("______ _                                       ")
    print("|     |_|___ ___ ___ _ _ _ ___ ___ ___ ___ ___ ")
    print("| | | | |   | -_|_ -| | | | -_| -_| . | -_|  _|")
    print("|_|_|_|_|_|_|___|___|_____|___|___|  _|___|_|  ")
    print(" Crypto Mining Detecter BApp      |_|")
    print(" Authored by @codingo_") 
Example 42
Source File: output.py    From Interlace with GNU General Public License v3.0 5 votes vote down vote up
def print_banner(self):
        if self.silent:
            return

        print(self.seperator)
        print("Interlace v%s\tby Michael Skelton (@codingo_)" % __version__)
        print("                  \t& Sajeeb Lohani (@sml555_)")
        print(self.seperator) 
Example 43
Source File: IDAgrapForm.py    From grap with MIT License 5 votes vote down vote up
def print_banner(self):
        """Print the banner."""
        banner = "{:#^72}\n".format('')
        banner += " ________  ______   ________   _______    ______    ________   ______    \n"
        banner += "/_______/\\/_____/\\ /_______/\\ /______/\\  /_____/\\  /_______/\\ /_____/\\   \n"
        banner += "\\__.::._\\/\\:::_ \\ \\\\::: _  \\ \\\\::::__\\/__\\:::_ \\ \\ \\::: _  \\ \\\\:::_ \\ \\  \n"
        banner += "   \\::\\ \\  \\:\\ \\ \\ \\\\::(_)  \\ \\\\:\\ /____/\\\\:(_) ) )_\\::(_)  \\ \\\\:(_) \\ \\ \n"
        banner += "   _\\::\\ \\__\\:\\ \\ \\ \\\\:: __  \\ \\\\:\\\\_  _\\/ \\: __ `\\ \\\\:: __  \\ \\\\: ___\\/ \n"
        banner += "  /__\\::\\__/\\\\:\\/.:| |\\:.\\ \\  \\ \\\\:\\_\\ \\ \\  \\ \\ `\\ \\ \\\\:.\\ \\  \\ \\\\ \\ \\   \n"
        banner += "  \\________\\/ \\____/_/ \\__\\/\\__\\/ \\_____\\/   \\_\\/ \\_\\/ \\__\\/\\__\\/ \\_\\/   \n\n"
        banner += "{:#^72}\n".format('')

        print(banner) 
Example 44
Source File: main.py    From cave_miner with GNU General Public License v3.0 5 votes vote down vote up
def print_banner():
  banner = """
    /========\\
   /    ||    \\
        ||
        ||
        ||
   CAVE || MINER
  """
  banner = banner.replace('/', '{grey}/{endc}')
  banner = banner.replace('\\', '{grey}\\{endc}')
  banner = banner.replace('=', '{grey}={endc}')
  banner = banner.replace('||', '{green}||{endc}')

  print(color(banner)) 
Example 45
Source File: base.py    From raw-packet with MIT License 5 votes vote down vote up
def print_banner(self, script_name: Union[None, str] = None) -> None:
        """
        Print colored banner in console
        :return: None
        """
        print(self.get_banner(script_name)) 
Example 46
Source File: wepwnise.py    From wep with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def printBanner(self):
        with open('banner.txt', 'r') as f:
            data = f.read()

            print colored(data, "red")
            print colored("Version %s" % version, "yellow")
            print colored("Author: Vincent Yiu (@vysec, @vysecurity)", "yellow") 
Example 47
Source File: GP_payout.py    From grin-pool with Apache License 2.0 5 votes vote down vote up
def print_banner(self):
        print(" ")
        print("#############  {} Payout Request Script  #############".format(self.poolname))
        print("## Started: {} ".format(datetime.datetime.now().strftime("%Y-%m-%d %H:%M")))
        print("## ")

    # Print tool footer 
Example 48
Source File: CloudScraper.py    From CloudScraper with MIT License 5 votes vote down vote up
def print_banner():
        print('''\nCloudScraper is a tool to search through the source code of websites in order to find cloud resources belonging to a target.
        by Jordan Potti
        @ok_bye_now\n'''
        ) 
Example 49
Source File: shell.py    From koadic with Apache License 2.0 5 votes vote down vote up
def print_banner(self):
        os.system("clear")

        implant_len = len([a for a in self.plugins
                           if a.startswith("implant")])
        stager_len = len([a for a in self.plugins
                          if a.startswith("stager")])
        print(self.banner % (self.version, stager_len, implant_len)) 
Example 50
Source File: smbetray.py    From SMBetray with GNU General Public License v3.0 5 votes vote down vote up
def printBanner():
	z =  "\n"
	z += bcolors.OKBLUE + """##### ####### ####  """+bcolors.FAIL+"""##### ##### ##### ##### #   #  \n"""+bcolors.ENDC
	z += bcolors.OKBLUE + """#     #  #  # #   # """+bcolors.FAIL+"""#       #   #   # #   #  # #   \n"""+bcolors.ENDC
	z += bcolors.OKBLUE + """##### #  #  # ####  """+bcolors.FAIL+"""#####   #   ####  #####   #    \n"""+bcolors.ENDC
	z += bcolors.OKBLUE + """    # #  #  # #   # """+bcolors.FAIL+"""#       #   #  #  #   #   #    \n"""+bcolors.ENDC
	z += bcolors.OKBLUE + """##### #  #  # ####  """+bcolors.FAIL+"""#####   #   #   # #   #   #    \n"""+bcolors.ENDC
	z += "\n"
	z += bcolors.TEAL + """SMBetray v"""+str(VERSION)+""" ebcLib v"""+str(ebcLib.VERSION)+bcolors.ENDC+"\n"
	z += bcolors.WHITE + """@Quickbreach"""+bcolors.ENDC+"\n"

	print(z) 
Example 51
Source File: LARRYCHATTER_CommandPost.py    From LARRYCHATTER with MIT License 5 votes vote down vote up
def print_banner():
    ascii_banner = pyfiglet.figlet_format("LARRYCHATTER")
    print(colored(ascii_banner, 'blue'))
    print("\n")
    print(colored("------------------------ Covert Implant Framework ------------------------", "blue"))
    print("\n")
    print(colored("Created by @UpayanSaha", "blue")) 
Example 52
Source File: spaces_finder.py    From spaces-finder with MIT License 5 votes vote down vote up
def print_banner():
        print('''\nDescription:
        "Spaces finder" is a tool to quickly enumerate DigitalOcean Spaces to look for loot.
        It's similar to a subdomain bruteforcer but is made specifically to DigitalOcean Spaces
        and also has some extra features that allow you to grep for
        delicous files as well as download interesting files if you're not
        afraid to quickly fill up your hard drive.

        by 0xbharath
        '''
        ) 
Example 53
Source File: PythonConsole.py    From pcloudpy with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
def printBanner(self):
        self.write(sys.version)
        self.write(' on ' + sys.platform + '\n')
        #self.write('PyQt4 ' + PYQT_VERSION_STR + '\n')
        msg = 'Type !hist for a history view and !hist(n) history index recall'
        self.write(msg + '\n') 
Example 54
Source File: printings.py    From netattack2 with MIT License 5 votes vote down vote up
def print_banner():
    print("{Y}    _   _________________  _______________   ________ __{R}___ \n" \
          "{Y}   / | / / ____/_  __/   |/_  __/_  __/   | / ____/ //_/{R}__ \\\n" \
          "{Y}  /  |/ / __/   / / / /| | / /   / / / /| |/ /   / ,<  _{R}_/ /\n" \
          "{Y} / /|  / /___  / / / ___ |/ /   / / / ___ / /___/ /| |{R}/ __/ \n" \
          "{Y}/_/ |_/_____/ /_/ /_/  |_/_/   /_/ /_/  |_\____/_/ |_{R}/____/{N}\n" \
          "                   {R}b y   c h r i z a t o r{N}\n\n".format(Y=YELLOW, N=NORMAL, R=RED)) 
Example 55
Source File: banners.py    From Goreport with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
def print_banner():
    """Just a function to print sweet ASCII art banners."""
    banner_1 = ("""
 ██████╗  ██████╗ ██████╗ ███████╗██████╗  ██████╗ ██████╗ ████████╗
██╔════╝ ██╔═══██╗██╔══██╗██╔════╝██╔══██╗██╔═══██╗██╔══██╗╚══██╔══╝
██║  ███╗██║   ██║██████╔╝█████╗  ██████╔╝██║   ██║██████╔╝   ██║
██║   ██║██║   ██║██╔══██╗██╔══╝  ██╔═══╝ ██║   ██║██╔══██╗   ██║
╚██████╔╝╚██████╔╝██║  ██║███████╗██║     ╚██████╔╝██║  ██║   ██║
 ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═╝      ╚═════╝ ╚═╝  ╚═╝   ╚═╝
 for GoPhish -- getgophish.com
 """)

    banner_2 = ("""
  #####         ######
 #     #  ####  #     # ###### #####   ####  #####  #####
 #       #    # #     # #      #    # #    # #    #   #
 #  #### #    # ######  #####  #    # #    # #    #   #
 #     # #    # #   #   #      #####  #    # #####    #
 #     # #    # #    #  #      #      #    # #   #    #
  #####   ####  #     # ###### #       ####  #    #   #
for GoPhish -- getgophish.com
""")

    banner_3 = ("""
   _|_|_|            _|_|_|                                              _|
 _|          _|_|    _|    _|    _|_|    _|_|_|      _|_|    _|  _|_|  _|_|_|_|
 _|  _|_|  _|    _|  _|_|_|    _|_|_|_|  _|    _|  _|    _|  _|_|        _|
 _|    _|  _|    _|  _|    _|  _|        _|    _|  _|    _|  _|          _|
   _|_|_|    _|_|    _|    _|    _|_|_|  _|_|_|      _|_|    _|            _|_|
                                         _|
 for GoPhish -- getgophish.com           _|
""")

    logo = ("""
                     ```
                ```````````
             `````       `````
         `````              ``````
      `````                     `````
    ```                ` `         ````
    ```                 `           ```
    ```                 `           ```
    ```                 `           ```
    ```                 `           ```
    ```         `       `           ```
    ```         `       `           ```
    ```         `       `           ```
    ```          `     `            ```
    ```             `               ```
      `````                     `````
         `````               `````
             `````       `````
                ````` `````
                    ```""")

    art = [banner_1, banner_2, banner_3]
    print(logo)
    print(random.choice(art))