mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-30 11:48:27 -07:00
- Fixed a bug when ARP spoofing via arp replies
- Amended license
This commit is contained in:
parent
b5304701a4
commit
873112c8e7
14 changed files with 107 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2004-2009 Moxie Marlinspike
|
||||
# Copyright (c) 2014-2016 Moxie Marlinspike, Marcello Salvati
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
|
@ -78,7 +78,7 @@ class URLMonitor:
|
|||
method = url[0:methodIndex]
|
||||
|
||||
pathIndex = url.find("/", methodIndex)
|
||||
if (pathIndex == -1):
|
||||
if pathIndex is -1:
|
||||
pathIndex = len(url)
|
||||
url += "/"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue