Commit d5443ec6 authored by fimap.dev@gmail.com's avatar fimap.dev@gmail.com

Fixed bug #35. Thank you wishnusakti!

parent 223a6a97
......@@ -346,6 +346,11 @@ class targetScanner (baseClass.baseClass):
pre = ntpath.normpath(pre)
if (pre[1] == ":"):
rootdir = pre[0:3]
elif (pre[0:1] == "\\"):
self._log("The inclusion points to a network path! Skipping vulnerability.", self.LOG_WARN)
return(None)
pre = self.relpath_win(rootdir, pre)
else:
pre = self.relpath_unix("/", pre)
......
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