Compare commits

...

2 Commits

Author SHA1 Message Date
lgandx
c97a13c1bd Fixed [Enter] key issue 2014-04-01 16:03:39 -04:00
lgandx
f377326d96 minor fix 2014-03-31 08:36:20 -04:00

View File

@@ -48,7 +48,7 @@ parser.add_option('-v',action="store_true", help="More verbose",dest="Verbose")
options, args = parser.parse_args()
if options.OURIP is None and options.Analyse is None:
if options.OURIP is None:
print "-i mandatory option is missing\n"
parser.print_help()
exit(-1)
@@ -2241,6 +2241,7 @@ def serve_thread_SSL(host, port, handler):
def main():
try:
num_thrd = 1
Is_FTP_On(FTP_On_Off)
Is_HTTP_On(On_Off)
Is_HTTPS_On(SSL_On_Off)
@@ -2258,17 +2259,16 @@ def main():
thread.start_new(serve_thread_udp_MDNS,('', 5353,MDNS)) #MDNS
thread.start_new(serve_thread_udp,('', 137,NB)) #NBNS
thread.start_new(serve_thread_udp_LLMNR,('', 5355, LLMNR)) #LLMNR
while num_thrd > 0:
pass
except KeyboardInterrupt:
exit()
exit()
if __name__ == '__main__':
try:
main()
except:
raise
raw_input()