mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-10 18:53:44 +03:00
minor cleanup
This commit is contained in:
parent
0e23521adc
commit
844fc8addb
|
@ -39,7 +39,6 @@ from lib.core.common import singleTimeWarnMessage
|
||||||
from lib.core.common import trimAlphaNum
|
from lib.core.common import trimAlphaNum
|
||||||
from lib.core.common import wasLastRequestDBMSError
|
from lib.core.common import wasLastRequestDBMSError
|
||||||
from lib.core.common import wasLastRequestHTTPError
|
from lib.core.common import wasLastRequestHTTPError
|
||||||
from lib.core.common import DynamicContentItem
|
|
||||||
from lib.core.data import conf
|
from lib.core.data import conf
|
||||||
from lib.core.data import kb
|
from lib.core.data import kb
|
||||||
from lib.core.data import logger
|
from lib.core.data import logger
|
||||||
|
|
|
@ -155,18 +155,6 @@ class UnicodeRawConfigParser(RawConfigParser):
|
||||||
|
|
||||||
fp.write("\n")
|
fp.write("\n")
|
||||||
|
|
||||||
class DynamicContentItem:
|
|
||||||
"""
|
|
||||||
Represents line in content page with dynamic properties (candidate
|
|
||||||
for removal prior detection phase)
|
|
||||||
"""
|
|
||||||
|
|
||||||
def __init__(self, lineNumber, pageTotal, lineContentBefore, lineContentAfter):
|
|
||||||
self.lineNumber = lineNumber
|
|
||||||
self.pageTotal = pageTotal
|
|
||||||
self.lineContentBefore = lineContentBefore
|
|
||||||
self.lineContentAfter = lineContentAfter
|
|
||||||
|
|
||||||
class Format:
|
class Format:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def humanize(values, chain=" or "):
|
def humanize(values, chain=" or "):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user