mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Minor style update
This commit is contained in:
parent
e7ddc2fcab
commit
e18796dbe1
|
@ -480,7 +480,7 @@ def cmdLineParser():
|
||||||
|
|
||||||
takeover.add_option("--os-pwn", dest="osPwn",
|
takeover.add_option("--os-pwn", dest="osPwn",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Prompt for an out-of-band shell, "
|
help="Prompt for an OOB shell, "
|
||||||
"meterpreter or VNC")
|
"meterpreter or VNC")
|
||||||
|
|
||||||
takeover.add_option("--os-smbrelay", dest="osSmb",
|
takeover.add_option("--os-smbrelay", dest="osSmb",
|
||||||
|
@ -495,7 +495,7 @@ def cmdLineParser():
|
||||||
|
|
||||||
takeover.add_option("--priv-esc", dest="privEsc",
|
takeover.add_option("--priv-esc", dest="privEsc",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Database process' user privilege escalation")
|
help="Database process user privilege escalation")
|
||||||
|
|
||||||
takeover.add_option("--msf-path", dest="msfPath",
|
takeover.add_option("--msf-path", dest="msfPath",
|
||||||
help="Local path where Metasploit Framework "
|
help="Local path where Metasploit Framework "
|
||||||
|
|
|
@ -124,7 +124,7 @@ class Web:
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
logger.error("sqlmap has not got a web backdoor nor a web file stager for %s" % self.webApi)
|
logger.error("sqlmap hasn't got a web backdoor nor a web file stager for %s" % self.webApi)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def _webFileInject(self, fileContent, fileName, directory):
|
def _webFileInject(self, fileContent, fileName, directory):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user