From 5d307cf886bd92f24223a712bad77cc347472543 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 25 Feb 2012 10:54:39 +0000 Subject: [PATCH] minor update --- lib/core/session.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/core/session.py b/lib/core/session.py index da4bbf323..f6d10ee58 100644 --- a/lib/core/session.py +++ b/lib/core/session.py @@ -150,15 +150,6 @@ def setOs(): if condition: dataToSessionFile("[%s][%s][%s][OS][%s]\n" % (conf.url, kb.injection.place, safeFormatString(conf.parameters[kb.injection.place]), Backend.getOs())) -def setXpCmdshellAvailability(available): - condition = ( - not kb.resumedQueries or ( kb.resumedQueries.has_key(conf.url) and - not kb.resumedQueries[conf.url].has_key("xp_cmdshell availability") ) - ) - - if condition: - dataToSessionFile("[%s][%s][%s][xp_cmdshell availability][%s]\n" % (conf.url, kb.injection.place, safeFormatString(conf.parameters[kb.injection.place]), str(available).lower())) - def resumeConfKb(expression, url, value): if expression == "Injection data" and url == conf.url: try: