mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor code refactoring
This commit is contained in:
@@ -323,7 +323,7 @@ def __setMetasploit():
|
||||
if conf.osSmb:
|
||||
isAdmin = False
|
||||
|
||||
if "linux" in PLATFORM or "darwin" in PLATFORM:
|
||||
if PLATFORM in ( "posix", "mac" ):
|
||||
isAdmin = os.geteuid()
|
||||
|
||||
if isinstance(isAdmin, (int, float, long)) and isAdmin == 0:
|
||||
|
||||
Reference in New Issue
Block a user