Skip to content

Commit b0766fc

Browse files
committed
Fix comments
1 parent 455ecf9 commit b0766fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Nmap_Metasploit_Scanner_Vuln.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def smb_info_parser(host_ip, nm2):
190190
if computer_name:
191191
computer_name = computer_name.group().strip()
192192
network_class.add_computer_name(computer_name)
193-
regex = re.compile('(?<=Workgroup_host:).*')
193+
regex = re.compile('(?<=Workgroup:).*')
194194
workgroup_host = regex.search(local_output['output'])
195195
if workgroup_host:
196196
workgroup_host = workgroup_host.group().strip()

0 commit comments

Comments
 (0)