mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-09 06:01:29 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c97a13c1bd | ||
|
|
f377326d96 |
10
Responder.py
10
Responder.py
@@ -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()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user