def robots(): if DEBUG: print(“\t[!] {} accessing robots.txt”.format(request.remote_addr)) # Here is where you would push the IP into a black list return render_template(‘robots.txt’) Basic Netcat detection Many times, a port scanner will attempt to hit my servers and even thou...