File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1082,7 +1082,6 @@ def setPaths():
10821082 paths .WORDLIST = os .path .join (paths .SQLMAP_TXT_PATH , "wordlist.zip" )
10831083 paths .ERRORS_XML = os .path .join (paths .SQLMAP_XML_PATH , "errors.xml" )
10841084 paths .PAYLOADS_XML = os .path .join (paths .SQLMAP_XML_PATH , "payloads.xml" )
1085- paths .INJECTIONS_XML = os .path .join (paths .SQLMAP_XML_PATH , "injections.xml" )
10861085 paths .LIVE_TESTS_XML = os .path .join (paths .SQLMAP_XML_PATH , "livetests.xml" )
10871086 paths .QUERIES_XML = os .path .join (paths .SQLMAP_XML_PATH , "queries.xml" )
10881087 paths .GENERIC_XML = os .path .join (paths .SQLMAP_XML_BANNER_PATH , "generic.xml" )
@@ -1091,6 +1090,10 @@ def setPaths():
10911090 paths .ORACLE_XML = os .path .join (paths .SQLMAP_XML_BANNER_PATH , "oracle.xml" )
10921091 paths .PGSQL_XML = os .path .join (paths .SQLMAP_XML_BANNER_PATH , "postgresql.xml" )
10931092
1093+ for path in paths .values ():
1094+ if any (path .endswith (_ ) for _ in (".txt" , ".xml" , ".zip" )):
1095+ checkFile (path )
1096+
10941097def weAreFrozen ():
10951098 """
10961099 Returns whether we are frozen via py2exe.
You can’t perform that action at this time.
0 commit comments