summaryrefslogtreecommitdiff
path: root/bruteforce/bruteWeb.py
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-10-18 10:58:07 +0200
committerjerome <jerome@xlinfo.fr>2025-10-18 10:58:07 +0200
commit0f89f09d7a4b1df6e00727ef22195958ee479d1e (patch)
tree28a1748e97953d1ba988f3ce27a02940ecfaf57a /bruteforce/bruteWeb.py
parent4ddbd104bf6f8a2fad7deb44002c87865c7fab65 (diff)
downloadpython-master.tar.gz
python-master.zip
corresctionsHEADmaster
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