File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ e376093d4f6e42ee38b050af329179df9c1c136b7667b2f1cb559f5d4b69ebd9 lib/controller
16616656e03690c1b783699c9f30cb2f8cc743d3716aba8137e6b253b21d1dd31a4314 lib/controller/handler.py
1671671966ca704961fb987ab757f0a4afddbf841d1a880631b701487c75cef63d60c3 lib/controller/__init__.py
1681682a96190ced25d8929861b13866101812fcadf5cac23dd1dd4b29b1a915918769 lib/core/agent.py
169- 5ee5af974f5f7f548780a31988d7dd5d01a04fe5b44fa8380c32ece8fa7fdc0c lib/core/bigarray.py
169+ b13462712ec5ac07541dba98631ddcda279d210b838f363d15ac97a1413b67a2 lib/core/bigarray.py
170170af24159b8ca5b8fe5e13cdfdedc2a758a2f4883361a601e0a550127cff368b3a lib/core/common.py
171171a6397b10de7ae7c56ed6b0fa3b3c58eb7a9dbede61bf93d786e73258175c981e lib/core/compat.py
172172a9997e97ebe88e0bf7efcf21e878bc5f62c72348e5aba18f64d6861390a4dcf2 lib/core/convert.py
@@ -188,7 +188,7 @@ a033f92d136c707a25927c2383125ddb004d4283db62c004dcd67c3fc242bb1c lib/core/dump.
18818848797d6c34dd9bb8a53f7f3794c85f4288d82a9a1d6be7fcf317d388cb20d4b3 lib/core/replication.py
1891890b8c38a01bb01f843d94a6c5f2075ee47520d0c4aa799cecea9c3e2c5a4a23a6 lib/core/revision.py
190190888daba83fd4a34e9503fe21f01fef4cc730e5cde871b1d40e15d4cbc847d56c lib/core/session.py
191- 48bc36af40ab1af6e930f26793da5662d582e04e53491a511ca0db7b0be2625f lib/core/settings.py
191+ 146926ec4398f42f125d0e47c89f0645bffdfcdcfe4d243402aa94872a49f06b lib/core/settings.py
192192cd5a66deee8963ba8e7e9af3dd36eb5e8127d4d68698811c29e789655f507f82 lib/core/shell.py
193193bcb5d8090d5e3e0ef2a586ba09ba80eef0c6d51feb0f611ed25299fbb254f725 lib/core/subprocessng.py
194194d35650179816193164a5f177102f18379dfbe6bb6d40fbb67b78d907b41c8038 lib/core/target.py
Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ class BigArray(list):
9393 >>> _ = __
9494 >>> _[-1]
9595 1
96+ >>> _.pop()
97+ 1
98+ >>> len(_)
99+ 100001
96100 >>> len([_ for _ in BigArray(xrange(100000))])
97101 100000
98102 """
@@ -148,8 +152,11 @@ def pop(self):
148152 if not self .chunks [- 1 ] and len (self .chunks ) > 1 :
149153 self .chunks .pop ()
150154 try :
151- with open (self .chunks [- 1 ], "rb" ) as f :
155+ filename = self .chunks [- 1 ]
156+ with open (filename , "rb" ) as f :
152157 self .chunks [- 1 ] = pickle .loads (zlib .decompress (f .read ()))
158+ self ._os_remove (filename )
159+ self .filenames .discard (filename )
153160 except IOError as ex :
154161 errMsg = "exception occurred while retrieving data "
155162 errMsg += "from a temporary file ('%s')" % ex
Original file line number Diff line number Diff line change 1919from thirdparty import six
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.10.1.64 "
22+ VERSION = "1.10.1.65 "
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 )
You can’t perform that action at this time.
0 commit comments