Skip to content

Commit e2d4a5f

Browse files
authored
Merge pull request #20916 from Chepycou/master
fix : updated printing to prevent crash in auxiliary/scanner/sap/sap_soap_rfc_system_info or sap_icf_public_info.rb
2 parents e7f8b07 + 343132b commit e2d4a5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/auxiliary/scanner/sap/sap_icf_public_info.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@ def run_host(ip)
149149
end
150150

151151
# output table
152-
print(@saptbl)
152+
print_line(@saptbl.to_s)
153153
end
154154
end

modules/auxiliary/scanner/sap/sap_soap_rfc_system_info.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,6 @@ def run_host(ip)
184184
end
185185

186186
# output table
187-
print(@saptbl)
187+
print_line(@saptbl.to_s)
188188
end
189189
end

0 commit comments

Comments
 (0)