MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / stop

Method stop

actions/scanning.py:2251–2259  ·  view source on GitHub ↗

Stops the scanner.

(self)

Source from the content-addressed store, hash-verified

2249 self.logger.info(f"🚀 Port scan mode: FULL RANGE ({total_ports} ports, profile: {profile['label']})")
2250 self.logger.info(f" Command: nmap {nmap_args} {ip}")
2251
2252 # Notify scan started
2253 if progress_callback:
2254 progress_callback('scanning', {'message': 'Stage 1: Port discovery'})
2255
2256 scan_start = time.time()
2257 self.logger.info(f"⏰ STAGE 1 START: {datetime.now().strftime('%H:%M:%S')}")
2258
2259 # Execute the port discovery scan
2260 self.nm.scan(hosts=ip, arguments=nmap_args)
2261
2262 scan_duration = time.time() - scan_start

Callers

nothing calls this directly

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected