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.1 "
22+ VERSION = "1.0.9.2 "
2323REVISION = getRevisionNumber ()
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
583583MAX_CONNECTION_CHUNK_SIZE = 10 * 1024 * 1024
584584
585585# Maximum response total page size (trimmed if larger)
586- MAX_CONNECTION_TOTAL_SIZE = 100 * 1024 * 1024
586+ MAX_CONNECTION_TOTAL_SIZE = 50 * 1024 * 1024
587587
588588# For preventing MemoryError exceptions (caused when using large sequences in difflib.SequenceMatcher)
589589MAX_DIFFLIB_SEQUENCE_LENGTH = 10 * 1024 * 1024
Original file line number Diff line number Diff line change @@ -203,6 +203,11 @@ def main():
203203 dataToStdout (excMsg )
204204 raise SystemExit
205205
206+ elif "MemoryError" in excMsg :
207+ errMsg = "memory exhaustion detected"
208+ logger .error (errMsg )
209+ raise SystemExit
210+
206211 elif any (_ in excMsg for _ in ("No space left" , "Disk quota exceeded" )):
207212 errMsg = "no space left on output device"
208213 logger .error (errMsg )
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- 1a8eccb8108e213d7b7257302e82cef8 lib/core/settings.py
48+ 80746b60fa630e1ecdecd34b97bf40c3 lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
51510bc2fae1dec18cdd11954b22358293f2 lib/core/target.py
@@ -218,7 +218,7 @@ c3cc8b7727161e64ab59f312c33b541a shell/stager.aspx_
2182181f7f125f30e0e800beb21e2ebbab18e1 shell/stager.jsp_
21921901e3505e796edf19aad6a996101c81c9 shell/stager.php_
22022056702e95555adee718b6a11ee7098fd4 sqlmapapi.py
221- bb63aa4415b779ddabe93b10300ce813 sqlmap.py
221+ 832010d5d68ce3357e7066ac1eaa169e sqlmap.py
2222221316deb997418507e76221c84ec99946 tamper/apostrophemask.py
223223a6efe8f914c769c52afec703bd73609f tamper/apostrophenullencode.py
224224b1c56983919b69f4f6f0e7929c881e7a tamper/appendnullbyte.py
You can’t perform that action at this time.
0 commit comments