Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 148fb26

Browse files
committed
quick fix
1 parent e181d54 commit 148fb26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/dbms/mysql/fingerprint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ def checkDbmsOs(self, detailed=False):
281281
result = inject.checkBooleanExpression("'W'=UPPER(MID(@@version_compile_os,1,1))")
282282

283283
if result:
284-
kb.os = "Linux"
285-
elif not result:
286284
kb.os = "Windows"
285+
elif not result:
286+
kb.os = "Linux"
287287

288288
if kb.os:
289289
infoMsg = "the back-end DBMS operating system is %s" % kb.os

0 commit comments

Comments
 (0)