File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.1.2.20 "
22+ VERSION = "1.1.2.21 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
109109TEXT_TAG_REGEX = r"(?si)<(abbr|acronym|b|blockquote|br|center|cite|code|dt|em|font|h\d|i|li|p|pre|q|strong|sub|sup|td|th|title|tt|u)(?!\w).*?>(?P<result>[^<]+)"
110110
111111# Regular expression used for recognition of IP addresses
112- IP_ADDRESS_REGEX = r"^ (([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$ "
112+ IP_ADDRESS_REGEX = r"\b (([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\b "
113113
114114# Regular expression used for recognition of generic "your ip has been blocked" messages
115115BLOCKED_IP_REGEX = r"(?i)(\A|\b)ip\b.*\b(banned|blocked|block list|firewall)"
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
4545d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4646785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
474740c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
48- 9a2f86dad727c06f86ce0fb26cc65385 lib/core/settings.py
48+ b31d1e512f49ff729ea81a7052236514 lib/core/settings.py
4949d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
50502ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5151afd0636d2e93c23f4f0a5c9b6023ea17 lib/core/target.py
You can’t perform that action at this time.
0 commit comments