File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -895,14 +895,14 @@ def arpcachepoison(
895
895
896
896
@conf .commands .register
897
897
def arp_mitm (
898
- ip1 , # type : str
899
- ip2 , # type : str
898
+ ip1 : str ,
899
+ ip2 : str ,
900
900
mac1 = None , # type: Optional[Union[str, List[str]]]
901
901
mac2 = None , # type: Optional[Union[str, List[str]]]
902
- broadcast = False , # type : bool
903
- target_mac = None , # type : Optional[str]
904
- iface = None , # type: Optional[_GlobInterfaceType]
905
- inter = 3 , # type : int
902
+ broadcast : bool = False ,
903
+ target_mac : Optional [str ] = None ,
904
+ iface : str = None ,
905
+ inter : int = 3 ,
906
906
):
907
907
# type: (...) -> None
908
908
r"""ARP MitM: poison 2 target's ARP cache
Original file line number Diff line number Diff line change @@ -1126,7 +1126,7 @@ def __init__(
1126
1126
guest : bool = False ,
1127
1127
kerberos : bool = True ,
1128
1128
kerberos_required : bool = False ,
1129
- HashNt : str = None ,
1129
+ HashNt : bytes = None ,
1130
1130
port : int = 445 ,
1131
1131
timeout : int = 2 ,
1132
1132
debug : int = 0 ,
You can’t perform that action at this time.
0 commit comments