Skip to content

Commit fe4e795

Browse files
committed
1 parent 1d5bde9 commit fe4e795

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.10.28"
21+
VERSION = "1.4.11.0"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/parse/cmdline.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -806,9 +806,6 @@ def cmdLineParser(argv=None):
806806
parser.add_argument("--smoke-test", dest="smokeTest", action="store_true",
807807
help=SUPPRESS)
808808

809-
parser.add_argument("--stdin-pipe", dest="stdinPipe",
810-
help=SUPPRESS)
811-
812809
parser.add_argument("--vuln-test", dest="vulnTest", action="store_true",
813810
help=SUPPRESS)
814811

@@ -1043,6 +1040,8 @@ def _format_action_invocation(self, action):
10431040

10441041
if hasattr(sys.stdin, "fileno") and not os.isatty(sys.stdin.fileno()) and '-' not in sys.argv:
10451042
args.stdinPipe = iter(sys.stdin.readline, None)
1043+
else:
1044+
args.stdinPipe = None
10461045

10471046
if not any((args.direct, args.url, args.logFile, args.bulkFile, args.googleDork, args.configFile, args.requestFile, args.updateAll, args.smokeTest, args.vulnTest, args.bedTest, args.fuzzTest, args.wizard, args.dependencies, args.purge, args.listTampers, args.hashFile, args.stdinPipe)):
10481047
errMsg = "missing a mandatory option (-d, -u, -l, -m, -r, -g, -c, --list-tampers, --wizard, --update, --purge or --dependencies). "

0 commit comments

Comments
 (0)