mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-15 10:42:27 +03:00
Minor adjustments
This commit is contained in:
parent
26cb082fc3
commit
73e713c5ba
|
@ -32,7 +32,7 @@ from optparse import OptionError
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
|
|
||||||
|
|
||||||
def convert(inputFile, outputFile):
|
def convert(inputFile):
|
||||||
fileStat = os.stat(inputFile)
|
fileStat = os.stat(inputFile)
|
||||||
fileSize = fileStat.st_size
|
fileSize = fileStat.st_size
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ def main(inputFile, outputFile):
|
||||||
print 'ERROR: the provided input file \'%s\' is not a regular file' % inputFile
|
print 'ERROR: the provided input file \'%s\' is not a regular file' % inputFile
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
script = convert(inputFile, outputFile)
|
script = convert(inputFile)
|
||||||
|
|
||||||
if outputFile:
|
if outputFile:
|
||||||
fpOut = open(outputFile, 'w')
|
fpOut = open(outputFile, 'w')
|
||||||
|
|
|
@ -76,3 +76,7 @@ SQLMAP: [*] shutting down at: 16:23:21
|
||||||
SQLMAP:
|
SQLMAP:
|
||||||
[*] Auxiliary module execution completed
|
[*] Auxiliary module execution completed
|
||||||
msf auxiliary(wmap_sqlmap) >
|
msf auxiliary(wmap_sqlmap) >
|
||||||
|
|
||||||
|
|
||||||
|
Happy hacking!
|
||||||
|
Bernardo Damele A. G. <bernardo.damele@gmail.com>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user