Skip to content

Commit f144f10

Browse files
committed
Minor improvement to Set-Cookie detection
1 parent 900c949 commit f144f10

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

data/txt/sha256sums.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ c6be099a5dee34f3a7570715428add2e7419f4e73a7ce9913d3fb76eea78d88e data/udf/postg
7171
9f4ca1ff145cfbe3c3a903a21bf35f6b06ab8b484dad6b7c09e95262bf6bfa05 data/xml/banner/postgresql.xml
7272
86da6e90d9ccf261568eda26a6455da226c19a42cc7cd211e379cab528ec621e data/xml/banner/server.xml
7373
146887f28e3e19861516bca551e050ce81a1b8d6bb69fd342cc1f19a25849328 data/xml/banner/servlet-engine.xml
74-
7973d2024e7803951445a569b591e151edcc322c00213f478dcd9aff23afd226 data/xml/banner/set-cookie.xml
74+
e87c062bdf05b27db6c1d7e0d41c25f269cbe66b1f9b8e2d9b3db0d567016c76 data/xml/banner/set-cookie.xml
7575
a7eb4d1bcbdfd155383dcd35396e2d9dd40c2e89ce9d5a02e63a95a94f0ab4ea data/xml/banner/sharepoint.xml
7676
e2febc92f9686eacf17a0054f175917b783cc6638ca570435a5203b03245fc18 data/xml/banner/x-aspnet-version.xml
7777
75672f8faa8053af0df566a48700f2178075f67c593d916313fcff3474da6f82 data/xml/banner/x-powered-by.xml
@@ -188,7 +188,7 @@ c6a182f6b7d3b0ad6f0888ea2a4de4148f0770549038d7de8bc3267b4c6635f7 lib/core/readl
188188
63ae69713c6ea9abfa10e71dfab8f2dcf42432177a38d2c1e98785bf1468674c lib/core/replication.py
189189
5bad5bc7115051cef7b84efa73fbafbf5e1db46eef32a445056b56cda750b66f lib/core/revision.py
190190
0dcb52c9c76a4b0acf2e9038f7d8f08c14543cef3cf7032831c6c0a99376ad24 lib/core/session.py
191-
b2c346c7ff01377b1aac5b45feb6b05303738b230a40d0e4da0db667d695c755 lib/core/settings.py
191+
8d1b38f544ad6b6ad63ece7ea91ef980361705ab8a27abcf980e63972bcff8da lib/core/settings.py
192192
a1e4f2860bffc73bbf2e5db293fa49dcb600ea35f950cda43dc953b3160ab3db lib/core/shell.py
193193
841716e87b90a3b598515910841f7cf8d33bb87c24a27fba1a80e36a831cbcd7 lib/core/subprocessng.py
194194
9731092f195e346716929323ea3c93247b23b9b92b0f32d3fd0acc3adf9876cc lib/core/target.py

data/xml/banner/set-cookie.xml

+28
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,32 @@
6262
<regexp value="\bwp_">
6363
<info technology="WordPress"/>
6464
</regexp>
65+
66+
<regexp value="_session_id">
67+
<info technology="Ruby on Rails"/>
68+
</regexp>
69+
70+
<regexp value="sessionid">
71+
<info technology="Django"/>
72+
</regexp>
73+
74+
<regexp value="connect\.sid">
75+
<info technology="Node.js (Express)"/>
76+
</regexp>
77+
78+
<regexp value="laravel_session">
79+
<info technology="Laravel (PHP)"/>
80+
</regexp>
81+
82+
<regexp value="SESS[a-f0-9]{32}">
83+
<info technology="Drupal"/>
84+
</regexp>
85+
86+
<regexp value="joomla_[a-z0-9]+">
87+
<info technology="Joomla"/>
88+
</regexp>
89+
90+
<regexp value="sails\.sid">
91+
<info technology="Sails.js"/>
92+
</regexp>
6593
</root>

lib/core/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

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

0 commit comments

Comments
 (0)