CHips L MINI SHELL

CHips L pro

Current Path : /usr/share/zsh/4.3.11/functions/
Upload File :
Current File : //usr/share/zsh/4.3.11/functions/tcp_shoot

emulate -L zsh
setopt extendedglob

local REPLY tfd

if [[ $# -ne 2 ]]; then
    print "Usage: tcp_dump host port
Connect to the given host and port; send standard input.">&2
    return 1
fi

if ! ztcp $1 $2; then
    print "Failed to open connection to host $1 port $2" >&2
    return 1
fi

tfd=$REPLY

cat >&$tfd

ztcp -c $tfd

Copyright 2K16 - 2K18 Indonesian Hacker Rulez