diff options
| author | jerome <jerome@xlinfo.fr> | 2025-07-07 09:33:33 +0200 |
|---|---|---|
| committer | jerome <jerome@xlinfo.fr> | 2025-07-07 09:33:33 +0200 |
| commit | fb02675631cea33ba3660f96febe4a34fa0502b8 (patch) | |
| tree | 48328cc30866be22f81eab60dc2cde07048e0a27 /scapy/arp_poisoning.py | |
| parent | 4a877ace04d47b48edea16d695b23205a99c5f36 (diff) | |
| download | python-fb02675631cea33ba3660f96febe4a34fa0502b8.tar.gz python-fb02675631cea33ba3660f96febe4a34fa0502b8.zip | |
scapy try except
Diffstat (limited to 'scapy/arp_poisoning.py')
| -rw-r--r-- | scapy/arp_poisoning.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scapy/arp_poisoning.py b/scapy/arp_poisoning.py index 4819704..069ecaa 100644 --- a/scapy/arp_poisoning.py +++ b/scapy/arp_poisoning.py @@ -17,6 +17,6 @@ def arp_poison(ip,ip_gateway): try: arp_poison(ip,ip_gateway) except PermissionError: - print(f"{sys.argv[0]} nécessite les droits root") + print("Ce script nécessite les droits root") |
