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 hashlib
file_name = input("Enter file name:")
file = open(file_name, 'r')
data = file.read().encode('utf-8')
print("-- %s --" % file_name)
print(hashlib.algorithms_available)
for algorithm in hashlib.algorithms_available:
hash = hashlib.new(algorithm)
hash.update(data)
try:
hexdigest = hash.hexdigest()
except TypeError:
hexdigest = hash.hexdigest(128)
print("%s: %s" % (algorithm, hexdigest))