mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Dirty patch for #4001
This commit is contained in:
@@ -1231,7 +1231,7 @@ def checkPipedInput():
|
||||
# Reference: https://stackoverflow.com/a/33873570
|
||||
"""
|
||||
|
||||
return not os.isatty(sys.stdin.fileno())
|
||||
return not os.isatty(sys.stdin.fileno()) if hasattr(sys.stdin, "fileno") else False
|
||||
|
||||
def isZipFile(filename):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user