route('/callback_result', methods = ["POST","GET"])def callback_result():try:nm = nmap.PortScanner() instantiate nmap.PortScanner object except nmap.PortScannerError:sys.exit(0)except:sys.exit(0)