From b5e556519b6d50a444d70c321d40d6d09bb716d8 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Mon, 14 Jul 2014 14:53:27 -0500 Subject: [PATCH] Change = to == This is an if condition, not an assignment --- modules/post/multi/gather/dbvis_enum.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/post/multi/gather/dbvis_enum.rb b/modules/post/multi/gather/dbvis_enum.rb index feb11810a3..9b38acdb2b 100644 --- a/modules/post/multi/gather/dbvis_enum.rb +++ b/modules/post/multi/gather/dbvis_enum.rb @@ -84,7 +84,7 @@ class Metasploit3 < Msf::Post db = {} end - if dbfound = true + if dbfound == true # get the alias if (line =~ /([\S+\s+]+)<\/Alias>/i) db[:Alias] = $1