# Query — Full LLM Knowledge Base & Architecture Specification ## Overview Query (https://query.arahimx.com) is a high-performance, client-side web application for generating precision search queries, Google dorks, username intelligence footprints, and security reconnaissance filters. Author: Abdur Rahim (arahimx) Website: https://query.arahimx.com Portfolio: https://arahimx.com GitHub: https://github.com/arahimx --- ## 1. Operating Modes ### Mode A: Beginner Search Assistant (UI Mode: "beginner") Designed for general users, students, researchers, and recruiters seeking quick, verified search results. - **Files Category**: Finds specific document formats: - PDF Documents (`filetype:pdf`) - Excel Spreadsheets (`filetype:xlsx OR filetype:xls OR filetype:csv`) - Word Documents (`filetype:docx OR filetype:doc`) - PowerPoint Presentations (`filetype:pptx OR filetype:ppt`) - eBooks & EPUBs (`filetype:epub OR filetype:mobi`) - Archives (`filetype:zip OR filetype:rar OR filetype:7z OR filetype:tar.gz`) - Data Files (`filetype:json OR filetype:xml OR filetype:csv OR filetype:sql`) - **Social Media Category**: Finds usernames across platforms using verified syntax: - Instagram: `site:instagram.com ("{username}" OR inurl:{username})` - X / Twitter: `site:twitter.com OR site:x.com ("{username}" OR inurl:{username})` - GitHub: `site:github.com ("{username}" OR inurl:{username})` - LinkedIn: `site:linkedin.com/in ("{username}" OR inurl:{username})` - Reddit: `site:reddit.com/user ("{username}" OR inurl:{username})` - YouTube: `site:youtube.com ("@{username}" OR inurl:{username})` - TikTok: `site:tiktok.com ("@{username}" OR inurl:{username})` - Telegram: `site:t.me ("{username}" OR inurl:{username})` - **Forums Category**: Searches StackOverflow, Reddit, HackerNews, Quora, and Discord invites. - **Portals Category**: Finds Admin Logins, Webmail, VPN Logins, and Dashboard portals. - **Exact Category**: Quotes exact phrasing, wildcard searches, and exclusion filters. ### Mode B: Pro Dorking Console (UI Mode: "advanced") Designed for cybersecurity researchers, penetration testers, OSINT analysts, and technical developers. - Features real-time syntax generation and live explanation. - Structured refinement fields: Target Domain (`site:`), Title (`intitle:`), URL (`inurl:`), Body (`intext:`), Exact Match, Exclusions, and Multi-Filetype Selectors. - 74 Intelligence Presets across 9 categories: 1. Username & Social OSINT (15 presets) 2. Exposed Files & Configs (10 presets) 3. Admin & Login Portals (8 presets) 4. Open Directories & Storage (6 presets) 5. Sensitive Documents (9 presets) 6. Vulnerabilities & Debug (7 presets) 7. GitHub Code & Secrets (7 presets) 8. Subdomains & Staging (4 presets) 9. OSINT & Recon (8 presets) --- ## 2. Search Engine Compatibility & Rules 1. **Google**: - Accepts `site:`, `filetype:`, `ext:`, `intitle:`, `allintitle:`, `inurl:`, `allinurl:`, `intext:`, `allintext:`. - Rules: `site:` only accepts hostnames or domains (not subpaths). For OR queries with site restrictions, group with parentheses e.g. `site:instagram.com ("user" OR inurl:user)`. 2. **Microsoft Bing**: - Accepts `site:`, `filetype:`, `intitle:`, `inurl:`, `inbody:`. - Excellent for discovering document caches and alternative indexing. 3. **DuckDuckGo**: - Accepts `site:`, `filetype:`, `intitle:`, `inurl:`. - Zero-tracking privacy search engine. 4. **Yandex**: - Uses `mime:` instead of `filetype:` for filetype extensions. - Query automatically maps `filetype:pdf` -> `mime:pdf`. 5. **Internet Archive Wayback Machine**: - Accepts bare domain or URL targets to pull historic snapshot records. 6. **Shodan**: - Search engine for internet-connected appliances, open ports, and server headers. --- ## 3. Direct URL Construction Scheme - Google: `https://www.google.com/search?q={query}` - Bing: `https://www.bing.com/search?q={query}` - DuckDuckGo: `https://duckduckgo.com/?q={query}` - Yahoo: `https://search.yahoo.com/search?p={query}` - Yandex: `https://yandex.com/search/?text={query}` - Wayback Machine: `https://web.archive.org/web/*/{domain}` - Shodan: `https://www.shodan.io/search?query={query}` --- ## 4. Privacy & Ethical Standards Query runs 100% in the user's browser client-side. No search queries or parameters are logged to any server. It is built strictly for legitimate security assessment, academic research, developer productivity, and educational exploration.