File tree Expand file tree Collapse file tree 2 files changed +6
-144
lines changed Expand file tree Collapse file tree 2 files changed +6
-144
lines changed Original file line number Diff line number Diff line change @@ -157,23 +157,23 @@ def main():
157
157
for target in targets :
158
158
open_ports = scan_top_ports (target )
159
159
if open_ports :
160
- logging . info (f"Open ports on { target } : { open_ports } " )
161
- logging . info ("VPC Floating IP Scan complete." )
160
+ print (f"Open ports on { target } : { open_ports } " )
161
+ print ("VPC Floating IP Scan complete." )
162
162
163
163
print ("Starting scan on classic infrastructure virtual guests..." )
164
164
targets = get_classic_infrastructure_instances ()
165
165
for target in targets :
166
166
open_ports = scan_top_ports (target )
167
- if open_ports :
168
- logging . info (f"Open ports on { target } : { open_ports } " )
167
+ if open_ports :
168
+ print (f"Open ports on { target } : { open_ports } " )
169
169
print ("Classic Virtual Guests Scan complete." )
170
170
171
171
print ("Starting scan on classic infrastructure bare metals..." )
172
172
targets = get_classic_infrastructure_hardware ()
173
173
for target in targets :
174
174
open_ports = scan_top_ports (target )
175
- if open_ports :
176
- logging . info (f"Open ports on { target } : { open_ports } " )
175
+ if open_ports :
176
+ print (f"Open ports on { target } : { open_ports } " )
177
177
print ("Classic Bare Metals Scan complete." )
178
178
179
179
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments