()
| 651 | raise SqlmapFilePathException(errMsg) |
| 652 | |
| 653 | def _setWriteFile(): |
| 654 | if not conf.fileWrite: |
| 655 | return |
| 656 | |
| 657 | debugMsg = "setting the write file functionality" |
| 658 | logger.debug(debugMsg) |
| 659 | |
| 660 | if not os.path.exists(conf.fileWrite): |
| 661 | errMsg = "the provided local file '%s' does not exist" % conf.fileWrite |
| 662 | raise SqlmapFilePathException(errMsg) |
| 663 | |
| 664 | if not conf.fileDest: |
| 665 | errMsg = "you did not provide the back-end DBMS absolute path " |
| 666 | errMsg += "where you want to write the local file '%s'" % conf.fileWrite |
| 667 | raise SqlmapMissingMandatoryOptionException(errMsg) |
| 668 | |
| 669 | conf.fileWriteType = getFileType(conf.fileWrite) |
| 670 | |
| 671 | def _setOS(): |
| 672 | """ |
no test coverage detected
searching dependent graphs…