Skip to content

Instantly share code, notes, and snippets.

@crypt0rr
Last active October 4, 2023 19:00
Show Gist options
  • Save crypt0rr/39e79615ec16612c459c93713a7717e6 to your computer and use it in GitHub Desktop.
Save crypt0rr/39e79615ec16612c459c93713a7717e6 to your computer and use it in GitHub Desktop.
wordcloud.py
# Requirements: python3 -m pip install wordcloud matplotlib
import matplotlib.pyplot as plt
from wordcloud import WordCloud
# Your text data (replace this with your own text)
text = """
"Access Control"
"Application Security"
"Assessment"
"Authentication"
"Authentication Token"
"Baseline Assessment"
"Blackhat"
"Blue Team"
"Brute Force Attack"
"Brute-Force Attack"
"Cryptocurrency Security"
"Cryptography"
"Cyber Attack"
"Cyber Forensics"
"Cyber Hygiene"
"Cyber Insurance"
"Cyber Resilience"
"Cyber Threat"
"Cyber Threat Hunting"
"Cyber Threat Intelligence"
"Cyber Threat Intelligence Platform"
"Cyber Threat Intelligence Sharing"
"Cyber Threat Landscape"
"Cybersecurity"
"Cybersecurity Awareness Month"
"Cybersecurity Culture"
"Cybersecurity Framework"
"Cybersecurity Framework Assessment"
"Cybersecurity Governance"
"Cybersecurity Governance Committee"
"Cybersecurity Governance Framework"
"Cybersecurity Incident Reporting"
"Cybersecurity Legislation"
"Cybersecurity Maturity Model"
"Cybersecurity Policy"
"Cybersecurity Threat Assessment"
"Cybersecurity Threat Landscape Analysis"
"Cybersecurity Training"
"DDoS Attack (Distributed Denial of Service)"
"Data Backup"
"Data Breach"
"Data Breach Notification Laws"
"Data Classification"
"Data Classification Policy"
"Data Encryption Algorithm"
"Data Encryption Key"
"Data Encryption Key Management"
"Data Leakage"
"Data Loss Incident"
"Data Loss Prevention (DLP)"
"Data Privacy"
"Data Privacy Regulation"
"Data Retention Policy"
"Data Security Standards"
"Digital Certificate"
"Digital Forensics"
"Digital Identity"
"Encryption"
"Endpoint Detection and Response (EDR)"
"Endpoint Security"
"Ethical"
"Ethical Hacker"
"Exploit"
"Exploit Kit"
"Firewall"
"Firewall Configuration"
"Firewall Rule Review"
"Firewall Rules"
"Greyhat"
"Hacker"
"Incident Handling"
"Incident Response"
"Incident Response Plan Testing"
"Incident Response Playbook"
"Information Assurance"
"Information Security"
"Insider Attack"
"Insider Threat"
"Insider Threat Detection"
"Insider Threat Monitoring"
"Insider Threat Prevention"
"Intrusion Detection"
"Intrusion Prevention System (IPS)"
"Log Analysis"
"Malicious Code"
"Malicious Software"
"Malware"
"Malware Analysis"
"Man-in-the-Middle Attack"
"Multi-factor Authentication (MFA)"
"Network Access Control (NAC)"
"Network Intrusion"
"Network Intrusion Detection System (NIDS)"
"Network Monitoring"
"Network Security"
"Network Security Architecture"
"Network Security Monitoring (NSM)"
"Network Security Policy"
"Network Segmentation"
"Packet Sniffing"
"Password Cracking"
"Password Policy"
"Patch Management"
"Penetration Test"
"Penetration Testing"
"Pentest"
"Phishing"
"Phishing Attack Simulation"
"Phishing Email"
"Port Scanning"
"Ransomware"
"Red Team"
"Risk Assessment"
"Root Access"
"Rootkit"
"Secure Access Control"
"Secure Coding"
"Secure Communication Channel"
"Secure Communication Protocols"
"Secure Data Transmission"
"Secure File Sharing"
"Secure File Transfer"
"Secure Socket Layer (SSL)"
"Security"
"Security Advisory"
"Security Architecture"
"Security Assessment"
"Security Audit"
"Security Awareness"
"Security Awareness Advocacy"
"Security Awareness Ambassador"
"Security Awareness Assessment"
"Security Awareness Campaign"
"Security Awareness Champion"
"Security Awareness Champion Network"
"Security Awareness Games"
"Security Awareness Materials"
"Security Awareness Metrics"
"Security Awareness Metrics Tracking"
"Security Awareness Newsletter"
"Security Awareness Program"
"Security Awareness Quiz"
"Security Awareness Survey"
"Security Awareness Training"
"Security Awareness Training Materials"
"Security Awareness Training Program"
"Security Awareness Video"
"Security Awareness Workshops"
"Security Baseline"
"Security Baseline Configuration"
"Security Best Practices"
"Security Breach"
"Security Breach Communication"
"Security Breach Investigation"
"Security Breach Notification"
"Security Breach Notification Process"
"Security Breach Recovery"
"Security Breach Response"
"Security Clearance"
"Security Compliance"
"Security Controls"
"Security Hardening"
"Security Hardening Guidelines"
"Security Incident"
"Security Incident Analysis"
"Security Incident Escalation"
"Security Incident Management"
"Security Incident Report"
"Security Incident Response Plan (SIRP)"
"Security Incident Response Team (SIRT)"
"Security Incident Severity Assessment"
"Security Incident Simulation"
"Security Incident Triage"
"Security Information Exchange"
"Security Information Sharing"
"Security Information and Event Management (SIEM)"
"Security Monitoring"
"Security Operations"
"Security Operations Analyst"
"Security Operations Center (SOC)"
"Security Patch"
"Security Patch Deployment"
"Security Patch Management Process"
"Security Patch Validation"
"Security Patching"
"Security Policy"
"Security Policy Compliance"
"Security Policy Development"
"Security Policy Enforcement"
"Security Policy Review"
"Security Posture"
"Security Risk Analysis"
"Security Risk Assessment"
"Security Risk Assessment Framework"
"Security Risk Management"
"Security Risk Mitigation"
"Security Token"
"Security Token Authentication"
"Security Token Management"
"Security Token Service"
"Security Training Modules"
"Security Training and Awareness"
"Security Vulnerability Assessment"
"Social Engineering"
"Threat Actor"
"Threat Detection"
"Threat Intelligence Feed"
"Threat Intelligence Sharing"
"Threat Modeling"
"Threat Vector"
"Trojan Horse"
"Two-Factor Authentication"
"Vulnerability"
"Vulnerability Assessment"
"Vulnerability Disclosure Program"
"Vulnerability Management"
"Vulnerability Scanning"
"Web Application Firewall (WAF)"
"Whitehat"
"Zero-Day Exploit"
"""
# Generate the word cloud
wordcloud = WordCloud(
width=3840,
height=2160,
background_color='white', # Or use whatever color you want
## Uncomment one style per run only
#colormap='viridis'
#colormap='plasma'
colormap='coolwarm'
#colormap='rainbow'
).generate(text)
# Display the word cloud using matplotlib
plt.figure(figsize=(10, 5))
plt.imshow(wordcloud, interpolation='bilinear')
plt.axis("off")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment