File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1488,8 +1488,8 @@ def _setHTTPUserAgent():
14881488
14891489 userAgent = random .sample (kb .userAgents or [_defaultHTTPUserAgent ()], 1 )[0 ]
14901490
1491- infoMsg = "fetched random HTTP User-Agent header from "
1492- infoMsg += "file '%s': '%s' " % ( paths .USER_AGENTS , userAgent )
1491+ infoMsg = "fetched random HTTP User-Agent header value '%s' from " % userAgent
1492+ infoMsg += "file '%s'" % paths .USER_AGENTS
14931493 logger .info (infoMsg )
14941494
14951495 conf .httpHeaders .append ((HTTP_HEADER .USER_AGENT , userAgent ))
@@ -1661,6 +1661,9 @@ def _cleanupOptions():
16611661 if conf .delay :
16621662 conf .delay = float (conf .delay )
16631663
1664+ if conf .url :
1665+ conf .url = conf .url .strip ()
1666+
16641667 if conf .rFile :
16651668 conf .rFile = ntToPosixSlashes (normalizePath (conf .rFile ))
16661669
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.12.2 "
22+ VERSION = "1.1.12.3 "
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 )
Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ d3ed5f9baa074df33390d33164d9d8b5 lib/core/defaults.py
40405fb9aaf874daa47ea2b672a22740e56b lib/core/__init__.py
4141f872699e948d0692ce11b54781da814c lib/core/log.py
42425adb07b2771f26822e94c75c2cb9db0b lib/core/optiondict.py
43- e1c000db9be27f973569b1a430629037 lib/core/option.py
43+ 3775628ac4ee0e4e2d0247cd93de05aa lib/core/option.py
44448764d2d8610fff5f4aef897b2b1f1006 lib/core/profiling.py
45452de91262fcc6bd51c987fd2f8a59ff31 lib/core/readlineng.py
4646760d9df2a27ded29109b390ab202e72d lib/core/replication.py
4747a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
484802d4762140a72fd44668d3dab5eabda9 lib/core/session.py
49- faf4f1fadbe9ab2c911e8e8b9e382c11 lib/core/settings.py
49+ 224b57f959c54810598ac661872aa3cf lib/core/settings.py
505035bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
5151a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
5252d93501771b41315f9fb949305b6ed257 lib/core/target.py
You can’t perform that action at this time.
0 commit comments