# Cookie Op v1.6pre11i

**Category:** Eggdrop_Script
**Original Author:** Kass Lloyd (raekwon@usa.net)

## Description
Cookie Op is an eggdrop script designed to provide secure op management for IRC channels, using encrypted cookies and timestamping to prevent unauthorized access.

## Key Features
- **Secure Cookie Generation**: Uses SHA-1 or MD5 hashing algorithms.
- **Timestamped Cookies**: Expire after a specified time.
- **Channel-Specific Flags**: Introduces `+cookieautoop` and `+A` flags for channel management.
- **Botnet Operations**: Supports linked bots to securely give ops to one another.
- **Automatic Time Synchronization**: Bots can request current time from other bots or a server.

## File Analysis
- **botnetop.tcl** — Manages secure op transfers between linked bots, including delayed op requests and automatic channel invitations.
- **cookieop.tcl** — Provides a secure cookie for ops on IRC channels using random keys and timestamps.
- **getops.tcl** — A script to request and give ops to other bots in the botnet, ensuring security through linked botnet membership.
- **getrandom.tcl** — Generates random keys for use with `cookieop.tcl`, utilizing an external HTTP service or a local C program (`rndstr.c`).
- **rndstr.c** — A C program that generates random strings of specified length and character range.
- **README.TXT** — Documentation for the script, detailing its features and usage instructions.
- **knownbugs.txt** — Lists known bugs in the script.