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.

268 B
Raw Blame
from tempfile import NamedTemporaryFile

def write_results(results):
    filename = NamedTemporaryFile(delete=False)
    print(filename.name)
    filename.write(bytes(results,"utf-8"))
    print("Results written to", filename)

write_results("writing in a temp file")