Repository navigation
Releases
HTTP CONNECTOR Command line utility cURL compatible
✨ dc2url Powered by ⚡ Dark-Com-2
🌈 dc2ws2 Performance
🗝️ dc2url Core Cyborg Ecosystem Installer
🚀 Module Feature Spotlight: dc2ws2 (Included FREE!)
What is dc2ws2?
dc2ws2 is the lightweight, ultra-high-performance WebSocket/WinSock bridging subsystem now bundled FREE with every installation of dc2url v1.1+. Designed specifically to work seamlessly alongside native Windows networking routines, dc2ws2 acts as a dual-channel telemetry and binary payload relay for real-time communication within the Cyborg Ecosystem.
Key Features & Technical Highlights
- Zero External Dependencies: Built natively on WinSock2 and WinHTTP protocols.
- Low Latency Binary Streaming: Asynchronous frame processing for low-overhead telemetry transport.
- Auto-Reconnecting Uplink Engine: Automatic failover and circuit reset routines to ensure zero packet drop during transient network shifts.
- Dynamic Code-Page Protection: Integrated UTF-8 session encoding to prevent console glyph scrambling and keep terminal output crisp.
- Seamless Shell Launcher Integration: Instantly callable from
viel, standard PowerShell, or standalone batch scripts.
📜 Revision History & Release Notes
v1.1 (Current Release) - "dc2ws2 Integration & Uplink Matrix Update"
- 🆕 NEW: Added
dc2ws2WebSocket Bridge natively into the installation payload at no extra cost. - ⚡ ENHANCED: Implemented dynamic Unicode block character rendering (
[char]0x2588,[char]0x2554, etc.) in all launcher headers (Write-Header) to completely eliminate code page translation bugs on legacy systems. - ⚡ ENHANCED: Refactored
uninstall.batwith sanitized ASCII indentation and ANSI VT100 fallback formatting for maximum shell compatibility. - 🛠️ FIXED: Resolved
cmd.exeunexpected token errors during administrative privilege elevation (RunAscontext). - 🛠️ FIXED: Streamlined environment variable path cleanup in system/user environment matrices upon uninstallation.
v1.0 (Initial Release) - "Core Foundation"
- Initial public release of dc2url Master Deployment Engine.
- Native WinSock & WinHTTP TLS routing matrix implementation.
- Basic setup, environment pathing, and standard uninstaller routines.
- Introductory CLI interface and test suite initialization.
💥 cURL-Compatible Headless Browser Engine
💫 Instant powershell installer:
- Open your MS windows 11 powershell
- Paste the below command in the window
- Press enter and follow the installation steps
😲️ Your command line now has access to your private host's php and web app cgi/uri/api
😜️ Your command line will no longer be rejected by javascript enabled warnings you get with cURL
🎶 TO LISTEN TO THE SURPRISE THEME SONG MIDI SELECT SOUND ON!
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/mercwar/dc2url/main/install.ps1"))) -sound "on"OR
irm "https://raw.githubusercontent.com/mercwar/dc2url/main/install.ps1" | iexthen
dc2url -v "http://mercwar01.byethost3.com/darkcom2/echo.php"This method wraps the download string into a local script block invocation (&) so you can append parameters directly to the tail end of the command.
🌈 Dark-Com-2 is a lightweight, high-performance command-line HTTP client and headless browser engine .
- Built on native Win32 API and pure C.
- Powered by the Microsoft Edge WebView2 Evergreen Runtime
- It bridges standard cURL CLI semantics with a full Chromium execution core
- Enabling automated telemetry, scriptable API testing
- Persistent session management across local networks and remote hosts.
"I am CVBGOD, and I have given it to you!"
🗝️ Key Features
- Full cURL CLI Parity: Supports standard command-line argument ordering (URL first, flags first, and long-flag formats) for seamless integration into existing shell scripts and automation workflows.
- Persistent Session Management: Automatically maintains cookie stores, local storage, and server session tokens (such as
PHPSESSID) across sequential invocations via a local state profile directory. - Local & Remote Network Support: Engineered to communicate effortlessly with local loopback (
localhost,127.0.0.1), local network subnets, and remote production servers. - Asynchronous IPC Architecture: Decoupled host executable and core DLL layout utilizing high-speed native message routing to bypass thread locks and promise serialization overhead.
📦 Redistributable Package Layout
A fully deployed Dark-Com-2 runtime environment consists of the following components located in the application working directory:
| Filename | Component Type | Description |
|---|---|---|
darkcom2.exe |
CLI Host Executable | Parses command-line arguments, manages the Win32 message loop, and handles console I/O. |
DarkComHeadless.dll |
Core Engine Library | Manages WebView2 execution, document origin bindings, and asynchronous fetch routing. |
darkcom_browser_profile/ |
Persistent Data Store | Automatically provisioned directory maintaining session cookies, cache, and browser state. |
Note: The target host operating system must have the Microsoft Edge WebView2 Evergreen Runtime installed.
💻 Command-Line Reference & Usage
darkcom2.exe <url> [options]
Here is how you can update your documentation to properly explain and teach users how to interpret the command-line reference manual when running dc2url:
📖 Understanding the CLI Reference Manual
When you run dc2url directly from your command prompt without arguments (or with -h / --help), it outputs the built-in reference banner. Here is a breakdown of how to read and use each section of that reference:
1. Primary Core Options
These are the essential flags you will use for 90% of your daily HTTP requests and API testing:
-X, --request <method>: Explicitly defines the HTTP verb (GET,POST,PUT,DELETE). Note that if you attach a data payload with-d,dc2urlautomatically promotesGETrequests toPOST.-d, --data <data>: Sends a raw string or JSON payload body along with your request.-o, --output <file>: Bypasses printing the response to the terminal and streams raw incoming data straight to a file on disk. This is what the automated installation scripts use to pull configuration files and archives safely.-h, --help: Triggers the reference manual screen on demand.
2. Secondary Protocol Options & Advanced Switches
These flags give you granular control over headers, user agents, and internal network engines:
-H, --header <header>: Injects custom HTTP headers into your request (e.g.,-H "Authorization: Bearer <token>").-A, --user-agent <agent>: Spoofs or overrides the default client identification string sent to the server.-s, --silent: Suppresses all non-error output streams for clean script automation.-v, --verbose: Turns on detailed diagnostic tracing, mirroring standard cURL output formatting (>for outbound request headers/payloads,<for incoming response headers).-l, --local: Forces the application to loadDarkComHeadless.dlllocally directly from the executable's folder.--nojs, -nojs: Bypasses the full WebView2 JS engine entirely, switching into a high-speed WinINet binary stub mode.--nowv2, -nowv2: Bypasses the WebView2 environment completely and forces a dynamic fallback to thedc2ws2network engine.--dc2ws2, -dc2ws2: Explicitly routes your request through the high-performancedc2ws2network engine DLL.--noscript, -noscript: Activates direct raw download mode viadc2ws2, completely bypassing JavaScript rendering and WebView2 overhead for maximum download speeds.
Examples
Here is the expanded Command-Reference & Usage Examples section to integrate into the README.md. It breaks down every flag, teaches how to read the CLI syntax, and demonstrates real-world execution modes (standard, flags-first, long-flags, network engine switches, and file output handling):
💻 Command-Reference & Usage Examples
dc2url supports flexible argument ordering just like standard cURL, allowing you to place URLs first, lead with operational flags, or use long-form parameters interchangeably.
dc2url [options] <url>
1. Standard cURL Style (URL First)
Placing the target URL immediately after the executable is the traditional cURL convention.
dc2url http://localhost:8080/echo.php -X POST -d "{\"action\":\"test_url_first\"}" -v
- How to read this command:
http://localhost:8080/echo.php— The target endpoint receiving the request.-X POST— Specifies the HTTP verb to use (GET,POST,PUT,DELETE).-d "{\"action\":\"test_url_first\"}"— Attaches a raw JSON payload body. Inner double quotes are escaped (\") for standard Windows CMD execution. (Note: Passing a data payload via-dautomatically promotesGETrequests toPOSTeven if-Xis omitted).-v— Enables verbose mode, outp...



