gplugs.banner

show banner of <host> <port>

gplugs.banner.handle_banner(bot, ievent)

banner <host> <port> .. check if host:port is open

CODE

# gozerplugs/banner.py
#
# Description: check is host:port is open, and supply the first line or 'banner'
# Author: Wijnand 'tehmaze' Modderman
# Licsense: BSD

""" show banner of <host> <port> """

__author__ = "Wijnand 'tehmaze' Modderman"
__license__ = "BSD"
__status__ = "seen"

gozerbot imports

from gozerbot.commands import cmnds
from gozerbot.plughelp import plughelp
from gozerbot.examples import examples
from gozerbot.tests import tests

basic imports

import socket

plughelp

plughelp.add('banner', 'show if host:port is open')

Table Of Contents

Previous topic

gplugs.away

Next topic

gplugs.bash

This Page