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 .revision import getRevisionNumber
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.9.23 "
22+ VERSION = "1.0.9.24 "
2323REVISION = getRevisionNumber ()
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
Original file line number Diff line number Diff line change @@ -85,3 +85,9 @@ def __getitem__(self, index):
8585
8686 def _index (self , i ):
8787 return self .start + self .step * i
88+
89+ def index (self , i ):
90+ if self .start <= i < self .stop :
91+ return i - self .start
92+ else :
93+ raise ValueError ("%d is not in list" % i )
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
45455ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
464699a2b496b9d5b546b335653ca801153f lib/core/revision.py
47477c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48- f707e42739fd5451a37dabd559b26170 lib/core/settings.py
48+ 2a4d5548843ed418943635ceb826cce0 lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
51510bc2fae1dec18cdd11954b22358293f2 lib/core/target.py
@@ -115,7 +115,7 @@ cc9b0f68dd58a2576a5a454b7f5f6b9c lib/utils/search.py
1151154a0374ac0bc9d726446f04c77fbb5697 lib/utils/sqlalchemy.py
1161168013e4a4c62ad916452434ea3c352a7a lib/utils/timeout.py
117117e6fa0e76367a77015da113811dfd9712 lib/utils/versioncheck.py
118- 4759e0bb8931d461dfcad410ca05fc5d lib/utils/xrange.py
118+ adafdb28095ba2d03322fee2aae4548f lib/utils/xrange.py
119119988100b4a1cd3b07acfd8b6ec692aed5 plugins/dbms/access/connector.py
12012027a5ae5611836b073dd53b21435f0979 plugins/dbms/access/enumeration.py
121121438090ab8ca63d9c23831a5ffbef74d9 plugins/dbms/access/filesystem.py
You can’t perform that action at this time.
0 commit comments