Markdown Converter
Agent skill for markdown-converter
You are working on **NocturneRecon**, a state-of-the-art OSINT and passive reconnaissance framework designed for cybersecurity professionals. The framework focuses on API-free reconnaissance techniques to maintain operational security (OPSEC) and work in air-gapped environments.
Sign in to like and favorite skills
You are working on NocturneRecon, a state-of-the-art OSINT and passive reconnaissance framework designed for cybersecurity professionals. The framework focuses on API-free reconnaissance techniques to maintain operational security (OPSEC) and work in air-gapped environments.
nocturnerecon/ āāā main.py # CLI entry point āāā core/ # Core framework ā āāā cli.py # Argument parsing ā āāā utils.py # Utilities and color printing ā āāā config.py # Configuration management āāā modules/ # Reconnaissance modules ā āāā subdomain_enum.py # Subdomain enumeration ā āāā email_enum.py # Email harvesting ā āāā cert_parser.py # Certificate transparency ā āāā github_enum.py # GitHub intelligence ā āāā breach_parser.py # Breach data analysis āāā scrapers/ # Web scraping utilities āāā output/ # Output directories āāā scripts/ # Installation and utility scripts
core/utils.pyprint_info, print_success, etc.)from core.utils import print_info, print_success, print_error from core.config import get_user_agent class NewModule: def __init__(self, args, config): self.args = args self.config = config self.target = clean_domain(args.target) def run(self): print_info(f"Starting {self.__class__.__name__} for: {self.target}") # Implementation here return results
headers = {'User-Agent': get_user_agent(self.config)} response = requests.get(url, headers=headers, timeout=self.timeout) time.sleep(self.args.delay) # Rate limiting
try: result = risky_operation() print_success(f"Operation completed: {result}") except requests.RequestException as e: print_error(f"Network error: {e}") except Exception as e: print_error(f"Unexpected error: {e}") if self.verbose: import traceback traceback.print_exc()
modules/ directory__init__, run, save_resultscore/cli.pycore/config.pydata = { 'target': self.target, 'timestamp': time.strftime('%Y-%m-%d %H:%M:%S'), 'total_found': len(results), 'results': results } save_to_json(data, filepath)
csv_data = [{'field': item.field} for item in results] save_to_csv(csv_data, filepath, ['field'])
--verbose flag for detailed output# In core/config.py DEFAULT_CONFIG 'new_module': { 'option1': 'default_value', 'option2': True, 'option_list': ['item1', 'item2'] } # In module code config = self.config.get('new_module', {}) option1 = config.get('option1', 'fallback')
# Get user agent user_agent = get_user_agent(self.config) # Get DNS servers dns_servers = get_dns_servers(self.config) # Check if feature is enabled if is_feature_enabled(self.config, 'module_name', 'feature_name'): # Feature implementation
import threading def worker(item): # Process item with self.lock: self.results.add(processed_item) threads = [] for item in items: thread = threading.Thread(target=worker, args=(item,)) thread.daemon = True thread.start() threads.append(thread) for thread in threads: thread.join()
def process_file(filepath): try: with open(filepath, 'r', encoding='utf-8') as f: for line_num, line in enumerate(f): line = line.strip() if line: yield line except Exception as e: print_error(f"Error reading {filepath}: {e}")
core/utils.py for available utilitiescore/config.py for configuration optionsRemember: NocturneRecon prioritizes stealth and OPSEC. Always consider the operational impact of code changes.