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

Skip to content

Commit a8e42a4

Browse files
committed
bug fix
1 parent f1e2c18 commit a8e42a4

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

doc/THANKS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ Enrico Milanese <[email protected]>
215215
for reporting a bugs when using (-a) a single line User-Agent file
216216
for providing me with some ideas for the PHP backdoor
217217

218+
Anton Mogilin <[email protected]>
219+
for reporting a minor bug
220+
218221
Alejo Murillo Moya <[email protected]>
219222
for suggesting a feature
220223

plugins/generic/enumeration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def getCurrentUser(self):
9797
infoMsg = "fetching current user"
9898
logger.info(infoMsg)
9999

100-
query = queries[kb.dbms].currentUser.query
100+
query = queries[kb.dbms].current_user.query
101101

102102
if not kb.data.currentUser:
103103
kb.data.currentUser = inject.getValue(query)
@@ -108,7 +108,7 @@ def getCurrentDb(self):
108108
infoMsg = "fetching current database"
109109
logger.info(infoMsg)
110110

111-
query = queries[kb.dbms].currentDb.query
111+
query = queries[kb.dbms].current_db.query
112112

113113
if not kb.data.currentDb:
114114
kb.data.currentDb = inject.getValue(query)

0 commit comments

Comments
 (0)