Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6e16e8

Browse files
committed
Minor update
1 parent 359e734 commit d6e16e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/takeover/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def webInit(self):
280280
infoMsg += "on '%s' - %s" % (localPath, self.webStagerUrl)
281281
logger.info(infoMsg)
282282

283-
if self.webApi == "asp":
283+
if self.webApi == WEB_API.ASP:
284284
runcmdName = "tmpe%s.exe" % randomStr(lowercase=True)
285285
runcmdStream = decloakToNamedTemporaryFile(os.path.join(paths.SQLMAP_SHELL_PATH, 'runcmd.exe_'), runcmdName)
286286
match = re.search(r'input type=hidden name=scriptsdir value="([^"]+)"', uplPage)

0 commit comments

Comments
 (0)