Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb51c0e

Browse files
committed
Minor update
1 parent 5d62195 commit bb51c0e

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

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.1.3"
21+
VERSION = "1.4.1.4"
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/core/shell.py

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,19 +118,24 @@ def autoCompletion(completion=None, os=None, commands=None):
118118
if os == OS.WINDOWS:
119119
# Reference: http://en.wikipedia.org/wiki/List_of_DOS_commands
120120
completer = CompleterNG({
121-
"copy": None, "del": None, "dir": None,
122-
"echo": None, "md": None, "mem": None,
121+
"attrib": None, "copy": None, "del": None,
122+
"dir": None, "echo": None, "fc": None,
123+
"label": None, "md": None, "mem": None,
123124
"move": None, "net": None, "netstat -na": None,
124-
"ver": None, "xcopy": None, "whoami": None,
125+
"tree": None, "truename": None, "type": None,
126+
"ver": None, "vol": None, "xcopy": None,
125127
})
126128

127129
else:
128130
# Reference: http://en.wikipedia.org/wiki/List_of_Unix_commands
129131
completer = CompleterNG({
130-
"cp": None, "rm": None, "ls": None,
131-
"echo": None, "mkdir": None, "free": None,
132-
"mv": None, "ifconfig": None, "netstat -natu": None,
133-
"pwd": None, "uname": None, "id": None,
132+
"cat": None, "chmod": None, "chown": None,
133+
"cp": None, "cut": None, "date": None, "df": None,
134+
"diff": None, "du": None, "echo": None, "env": None,
135+
"file": None, "find": None, "free": None, "grep": None,
136+
"id": None, "ifconfig": None, "ls": None, "mkdir": None,
137+
"mv": None, "netstat": None, "pwd": None, "rm": None,
138+
"uname": None, "whoami": None,
134139
})
135140

136141
readline.set_completer(completer.complete)

0 commit comments

Comments
 (0)