It’s a python script, using scapy’s sending packets function.
sendp(packet, iface="loop1", verbose=False)