Skip to content

Commit 9cbb522

Browse files
author
Fernando Fernández
committed
Hide scapy's warning message about IPv6
Signed-off-by: Fernando Fernández <ffernandezmancera@gmail.com>
1 parent 17fd6e3 commit 9cbb522

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pentesting-multitool.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#! /usr/bin/env python3
22

3-
import argparse, sys
3+
import argparse, sys, logging
4+
5+
# With this we can hide the scapy's warning message about IPv6
6+
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
7+
48
from utility_scripts import dns_utility, whois_utility, shodan_utility, bannergrab_utility, flooder_utility, fuzzing_utility, mitm_utility
59

610
def main():

0 commit comments

Comments
 (0)