layout adjustments

This commit is contained in:
Bernardo Damele
2012-04-04 12:27:24 +00:00
parent 1b2cd44255
commit d106fb5184
5 changed files with 23 additions and 9 deletions

View File

@@ -90,14 +90,18 @@ if __name__ == "__main__":
try:
server = DNSServer()
server.run()
while server._running:
while True:
_ = server.pop()
if _ is None:
break
else:
print "[i] %s" % _
time.sleep(1)
except socket.error, ex:
if 'Permission' in str(ex):
print "[x] Please run with sudo/Administrator privileges"