Update app.py
Browse files
app.py
CHANGED
|
@@ -20,9 +20,9 @@ async def test_credentials(ip, username, password):
|
|
| 20 |
print(f"Valid credentials found for IP: {ip}, Username: {username}, Password: {password}")
|
| 21 |
client.close()
|
| 22 |
except paramiko.AuthenticationException:
|
| 23 |
-
|
| 24 |
except socket.error:
|
| 25 |
-
|
| 26 |
|
| 27 |
async def scan_ips(ip_list):
|
| 28 |
tasks = []
|
|
|
|
| 20 |
print(f"Valid credentials found for IP: {ip}, Username: {username}, Password: {password}")
|
| 21 |
client.close()
|
| 22 |
except paramiko.AuthenticationException:
|
| 23 |
+
print("نشد")
|
| 24 |
except socket.error:
|
| 25 |
+
print("نشد")
|
| 26 |
|
| 27 |
async def scan_ips(ip_list):
|
| 28 |
tasks = []
|