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

Skip to content

Commit 17efeaa

Browse files
committed
causing too much confusion among dummy users
1 parent 458a73c commit 17efeaa

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

lib/core/option.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -721,18 +721,6 @@ def __setTechnique():
721721

722722
conf.tech = _
723723

724-
if len(conf.tech) > 0:
725-
# TODO: consider MySQL/PHP/ASP/web backdoor case where stacked
726-
# queries is technically not necessary
727-
if any(map(lambda x: conf.__getitem__(x), ['rFile', 'wFile', \
728-
'osCmd', 'osShell', 'osPwn', 'osSmb', 'osBof', 'regRead', \
729-
'regAdd', 'regDel'])) and PAYLOAD.TECHNIQUE.STACKED not in conf.tech:
730-
errMsg = "value for --technique must include stacked queries "
731-
errMsg += "technique (S) when you want to access the file "
732-
errMsg += "system, takeover the operating system or access "
733-
errMsg += "Windows registry hives"
734-
raise sqlmapSyntaxException, errMsg
735-
736724
def __setDBMS():
737725
"""
738726
Force the back-end DBMS option.

0 commit comments

Comments
 (0)