Commit 4012c22f authored by Chris Moberly's avatar Chris Moberly
Browse files

Update ffssdp.py

parent 2272c637
......@@ -6,8 +6,6 @@ versions 68.11.0 and lower.
evil-ssdp does a lot more, which is why some of this code may seem extra or
overkill. Sorry about that. :)
@init_string on Twitter
"""
from multiprocessing import Process
......@@ -189,7 +187,7 @@ def process_args():
args = parser.parse_args()
# The following two lines help to avoid command injection in bash.
# Pretty damn unlikely scenario for this tool, but who knows.
# Pretty unlikely scenario for this tool, but who knows.
char_whitelist = re.compile('[^a-zA-Z0-9 ._-]')
args.interface = char_whitelist.sub('', args.interface)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment