def shutdownRPC(port=4242):
 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
 s.connect(('localhost', 4242))
 client = symmetricjsonrpc.RPCClient(s)
 client.notify('shutdown')
 client.shutdown()
 print '[!] Veil-Evasion RPC server shutdown'

def shutdownRPC ( port = 4242 ) : s = socket . socket ( socket . AF_INET , socket . SOCK_STREAM ) s . connect ( ( 'localhost' , 4242 ) ) client = symmetricjsonrpc . RPCClient ( s ) client . notify ( 'shutdown' ) client . shutdown ( ) print '[!] Veil-Evasion RPC server shutdown'
shutdown a running veil-evasion rpc server on a specified port .