Skip to content

Commit 83fecfc

Browse files
committed
Minor patch
1 parent 86c6e3d commit 83fecfc

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

data/xml/errors.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,11 @@
149149
<error regexp="com\.ingres\.gcf\.jdbc"/>
150150
</dbms>
151151

152-
<dbms value="Frontbase">
152+
<dbms value="FrontBase">
153153
<error regexp="Exception (condition )?\d+\. Transaction rollback"/>
154154
<error regexp="com\.frontbase\.jdbc"/>
155-
<error regexp="Syntax error 108\. Expected"/>
155+
<error regexp="Syntax error 1. Missing"/>
156+
<error regexp="(Semantic|Syntax) error [1-4]\d{2}\."/>
156157
</dbms>
157158

158159
<dbms value="HSQLDB">

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.2.41"
21+
VERSION = "1.4.2.42"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/parse/html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def startElement(self, name, attrs):
5252
keywords = sorted(keywords, key=len)
5353
kb.cache.regex[regexp] = keywords[-1].lower()
5454

55-
if kb.cache.regex[regexp] in (self._lower_page or kb.cache.regex[regexp]) and re.search(regexp, self._urldecoded_page, re.I):
55+
if ('|' in regexp or kb.cache.regex[regexp] in (self._lower_page or kb.cache.regex[regexp])) and re.search(regexp, self._urldecoded_page, re.I):
5656
self.dbms = self._dbms
5757
self._markAsErrorPage()
5858
kb.forkNote = kb.forkNote or attrs.get("fork")

0 commit comments

Comments
 (0)