mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Fixing some Python3.12 naggings
This commit is contained in:
@@ -880,7 +880,7 @@ def getManualDirectories():
|
||||
def getAutoDirectories():
|
||||
"""
|
||||
>>> pushValue(kb.absFilePaths)
|
||||
>>> kb.absFilePaths = ["C:\\inetpub\\wwwroot\\index.asp", "/var/www/html"]
|
||||
>>> kb.absFilePaths = [r"C:\\inetpub\\wwwroot\\index.asp", "/var/www/html"]
|
||||
>>> getAutoDirectories()
|
||||
['C:/inetpub/wwwroot', '/var/www/html']
|
||||
>>> kb.absFilePaths = popValue()
|
||||
@@ -2308,7 +2308,7 @@ def ntToPosixSlashes(filepath):
|
||||
Replaces all occurrences of NT backslashes in provided
|
||||
filepath with Posix slashes
|
||||
|
||||
>>> ntToPosixSlashes('C:\\Windows')
|
||||
>>> ntToPosixSlashes(r'C:\\Windows')
|
||||
'C:/Windows'
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user