summaryrefslogtreecommitdiff
path: root/bruteforce/bruteWeb.py
diff options
context:
space:
mode:
Diffstat (limited to 'bruteforce/bruteWeb.py')
-rw-r--r--bruteforce/bruteWeb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bruteforce/bruteWeb.py b/bruteforce/bruteWeb.py
index e75cde1..e72b82c 100644
--- a/bruteforce/bruteWeb.py
+++ b/bruteforce/bruteWeb.py
@@ -31,7 +31,7 @@ if __name__ == "__main__":
# le fichier nmap.lst à des commentaires en début de fichier
if ligne[0] != "#":
password=ligne.strip()
- if bruteforce(method,url,username,password,error_msg)==True:
- sys.exit()
+ if bruteforce(method,url,username,password,error_msg) is True:
+ break