Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import asyncio
- import json
- import codecs
- import os
- import random
- import re
- from cloudbot import hook
- from cloudbot.util import textgen
- nick_re = re.compile("^[A-Za-z0-9_|.\-\]\[\{\}]*$", re.I)
- #
- # https://github.com/CloudBotIRC/CloudBot/tree/master/plugins
- # https://pastebin.com/u/Hack5190
- #
- # Hack5190 (at) gmail.com
- #
- # Based on an idea from http://www.bugbrother.com/echelon/spookwordsgenerator.html
- #
- # v1.0 - 3-Feb-2018 - Initial release
- #
- spookwords = ['Waihopai, INFOSEC', 'ASPIC', 'MI6', 'Information Security', 'SAI', 'Information Warfare', 'Information Terrorism',
- 'Terrorism Defensive Information', 'Defense Information Warfare', 'Offensive Information Warfare',
- 'Counter Terrorism Security', 'AUSTEO', 'SARA', 'Rapid Reaction', 'JSOFC3IP', 'Corporate Security',
- 'Electronic Surveillance', 'AADCCS', 'DABM', 'DAIRSDIA', 'DALATS', 'DALATS', 'DIFAX', 'PSM', 'SECMANs',
- 'tampering', 'COCOT', 'NACSINSCT', 'SCIF', 'FLiR', 'JIC', 'bce', 'Lacrosse', 'Flashbangs', 'HRT', 'IRA',
- 'EODG', 'DIA', 'USCOI', 'CID', 'BOP', 'FINCEN', 'FLETC', 'NIJ', 'ACC', 'AFSPC', 'BMDOSASSTIXS', 'NAVWAN',
- 'NRL', 'RL', 'NAVWCWPNS', 'NSWC', 'USAFA', 'AHPCRC', 'ARPA', 'SARD', 'LABLINK', 'USACIL', 'NRCNSA/CSS',
- 'GCHQ', 'DITSA', 'SORT', 'AMEMB', 'NSG', 'HIC', 'EDIGRU', 'LRTS', 'SIGDEV', 'NACSI', 'MEU/SOC,PSAC',
- 'TELINTNRO', 'GRU', 'SRIDRM', 'DST', 'SDF', 'CANUSEYESONLY', 'CANUKUS', 'AUSCANUKUS', 'C4I', 'C3I']
- bombs = ['biological weapon scientist', 'nuclear expert', 'chemical activist', 'most wanted person', 'cryptoanarchist',
- 'blac block hacktivist', 'money launderer', 'top secret agent', 'covert agent', 'bad bad bad bad bad guy'
- 'dangerous criminal', 'sexually addicted to young soldiers']
- services = ['Indian Central Bureau of Investigation (CBI)', 'Pakistan Directorate of Inter-Services Intelligence (ISI)',
- 'Korean Central Intelligence Agency (KCIA)', 'Irak National Security Council/Bureau [Maktab al-Amn al-Qawmi]',
- 'North Korea Reconnaissance Bureau', 'Ukraine Security Service (Sluzhba Bespeky Ukrayiny - SBU)',
- 'Serbia Counterintelligence Service (Kontraobavesajna Sluzba - KOS)',
- 'Iran Ministry of Intelligence and Security [MOIS] (Vezarat-e Ettela\'at va Amniat-e Keshvar VEVAK)',
- 'JMIC (Joint Military Intelligence College)', '634th Military Intelligence', '21st Space Wing',
- 'DARPA (Defense Advanced Research Projects Agency)', '704th Military Intelligence Brigade',
- 'USASMDC (U.S. Army Space and Missile Defense Commance, Dep.Ch. Staff / Intel & Security)',
- 'DoD-C3I (Command, Control, Communications, Intelligence)',
- 'Marine-C4I (Command, Control, Communications, Computers, Intelligence)']
- classifications = ['TEPER SEKRET (TOP SECRET - Albania)', 'SECRET VOJNA TAJNA (TOP VERY SECRET - Balkans)',
- 'NAJVECI TAJNITAJNI (TOP SECRET - Croatia)', 'STROGO SEKRENTO (SECRET SECRET - Balkans)',
- 'COBEOWEHHO (CLASSIFIED - Russia)', 'TSILKOM SEKRETNE (TOP SECRET - Ukraine)', 'SZIGOR\'UAN TITKOS (TOP SECRET - Hungary)',
- 'SANGAT RAHASIA (TOP SECRET - Indonesia)', 'BENKOLI SERRI (TOP SECRET - Iran)', 'SODI BEYOTER (TOP SECRET - Israel)']
- military = ['BRGE (french Brigade de Renseignement et de Guerre Electronique)', 'EloAufkl (german Elektronische Aufklรคrung)',
- 'C4I2 (OTAN Comand, Control, Communications, Computers, Inteligence & Interoperability)',
- 'CJTF (US Counterterrorist Joint Task Force)', 'CRW (UK Counter-Revolutionary Warfare)',
- 'DCI (cuban Departemento de Contra-Inteligencia)', 'FSK (rumanian Federal\'naya Sloujba Kontrrazviedki)',
- 'ISI (pakistan Inter-Service Intelligence)', 'TsSR (NIS Tsienntral\'naya Sloujba Razviedki)',
- 'SAVAK (Iran Sazman-i Amniyat Va Ittila\'at-i Kishvar)', 'UKUSA (United Kingdom - USA Security Agreement)']
- sources = ['ultra confidential encrypted documents', 'top secret counterintelligence imagery',
- 'highly classified steganographic codes', 'sensitive secured letters deciphered',
- 'email addresses with logins & passwords', 'civil rights anonymous remailers logs'
- 'cypherpunk & mixmaster remailers logs', 'anarchists and terrorists nym servers logs',
- 'web based CGI proxys & Anonymizers logs', 'encryption products & snake oil backdoors']
- contacts = ['[email protected]', '[email protected]', '[email protected]', '[email protected]', '[email protected]',
- def is_valid(target):
- """ Checks if a string is a valid IRC nick. """
- if nick_re.match(target):
- return True
- else:
- return False
- @asyncio.coroutine
- @hook.command
- def nsa(text, action):
- """<user> - shares information from NSA intercepts about <user>"""
- user = text.strip()
- if not is_valid(user):
- return "I can't share any NSA intercepts about that user."
- bomb = random.choices(bombs)
- mil = random.choice(military)
- source = random.choice(sources)
- service = random.choice(services)
- contact = random.choice(contacts)
- spook = random.choice(spookwords)
- classification = random.choice(classifications)
- action("The folowing message marked {} was intercepted during transmission from the {} and {}.+\rRED ALERT: {} has {} related to {} and {}.+\r{} is classified as A MOST WANTED PERSON by the {}.".format(classification, service, contact, user, source, bomb, spook, user, mil))
Add Comment
Please, Sign In to add comment