Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

303 B
Raw Blame
import subprocess

#the problem with this method is that the shell can 
#process other commands that are provided by the user after the ping command terminates.
def ping_insecure(myserver):
    return subprocess.Popen('ping -c 1 %s' % myserver, shell=True)

print(ping_insecure('8.8.8.8 & touch file'))