*ë
3ŒAc       s·    d  Z    d Z  d Z  y  e Wn   d d f \ Z Z n X y…  d k Z d k Z d k Z d k Z d k	 Z	  e i
 i e i i e	 i e i ƒ  ƒ d d d g ƒ ƒ   d	 k l Z l Z WnC ! " y # e i i d
 e ƒ Wn $ % e GHn X& ‚  n X) e i d i e i ƒ d Z * e i d ƒ d Z , e i ƒ  d Z 1 d „  Z 5 d k T7 d „  Z M e d j o P e e i d ƒ n S d S(   sr   send a udp or tcp packet to specified host and port

   not nearly as useful as netcat but hopefully easier to uses2  
    fakebind -- return chosen IP for every name lookup
    Copyright (C) 2004  John Comeau <jc@jcomeau.com>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    s5   Not all needed libraries found, upgrade or check pathi   i    Ni   s   libs   python(   s   gpls	   jclicenses   %s
s   .c     s   1 2 t  Sd  S(   N(   s   False(   s   whatever(    (    s	   ./send.pys
   DebugPrint1 s   (   s   *c     s2  7 ; < t  d |  d t |  d ƒ ƒ = yN > x/ > t |  d ƒ t i j o ? |  d }  q2 W@ |  \ } } } } Wn1 A B t	 i
 i d t ƒ C t	 i d ƒ n XD t | ƒ } E t } F | d j o G t } n H t t | ƒ } I | i d d f ƒ J | i | | f ƒ K | i | ƒ d S(	   sF   send a packet

    give usage message if host and port not specified
 s   args:s   type(args[0])i    s'   Usage: %s PROTOCOL HOST PORT "MESSAGE"
i   s   udps   0.0.0.0N(   s
   DebugPrints   argss   types   typess
   StringTypes   protocols   hosts
   portstrings   messages   syss   stderrs   writes   commands   exits   ints   ports   SOCK_STREAMs   socket_types
   SOCK_DGRAMs   sockets   AF_INETs   senders   binds   connects   send(   s   argss   ports   messages   hosts   socket_types
   portstrings   senders   protocol(    (    s	   ./send.pys   send7 s$     	s   __main__(   s   __doc__s	   Copyrights   errormessages   Trues   Falses   syss   oss   typess   res   pwds   paths   appends   seps   joins   getpwuids   geteuids   com.jcomeaus   gpls	   jclicenses   stderrs   writes   argvs   splits   selfs   commands   originalselfs
   DebugPrints   sockets   sends   __name__(   s   typess   Trues   oss   commands	   jclicenses   pwds   res   syss
   DebugPrints   sends   errormessages   selfs   originalselfs	   Copyrights   Falses   gpl(    (    s	   ./send.pys   ? s2   		0;
!
