#!/usr/bin/env python

import xmlrpclib as x
import sys

def get_n4d_key():

	try:

		f=open(&quot;/etc/n4d/key&quot;)
		key=f.readline().strip(&quot;\n&quot;)
		f.close()

	except:
		key=None

	return key

n4d_key=get_n4d_key()

if n4d_key==None:
	print(&quot;[!] You need to run this program with administration privileges. Exiting...&quot;)
	sys.exit(1)

c=x.ServerProxy(&quot;https://localhost:9779&qu