Skip to content

M2 Pro 4.0.1

Choose a tag to compare

@jriko9 jriko9 released this 23 Jun 22:51
· 13 commits to main since this release
6fc21b1

OBM2 Pro — CHANGELOG v4.0.1

⚠️ Binary removed for security reasons — please download the latest release.

Post-4.0.0 release. Bug fixes and improvements gathered from user reports and
session work after the 4.0.0 rollout.


Crypto / Blocks

  • Function → AESEncrypt envelope mode: when "IV prefix in ciphertext" is enabled on encrypt, the block now generates a fresh random 16-byte IV per run and outputs the envelope [header][IV][ciphertext] as Base64. A new "Envelope header (HEX)" field lets you prepend constant header bytes (e.g. 0010 = version + IV length) used by many mobile-app schemes. Leave the IV field empty (it is ignored, the IV is random).
    • New helper Crypto.AESEncrypt_Base64_IvPrefixed (random IV + [headerHex][IV][cipher] → Base64).
    • AESDecrypt made symmetric: AESDecrypt_Base64_IvPrefixed_* now skips the configured header before reading the IV, so the same block reverses what it encrypts. Empty header = legacy behaviour (IV at offset 0), fully backward compatible.
    • LoliScript serialization uses an explicit HEADER "00xx" keyword (it can't be a bare literal — that position collides with the block's input string).
    • New i18n keys EnvelopeHeaderHex / EnvelopeHeaderHexPlaceholder / EnvelopeHeaderHexToolTip (en/it/es).
    • Rationale: reuses the real app pattern (random IV embedded per request) instead of a hardcoded fixed IV — a constant IV is a repeatable signature that can trigger bans.

TLS / Networking

  • tls-proxy.exe — HTTP/1.1 header order: new x-tls-h1order control header. The proxy applies the requested header order via fhttp HeaderOrderKey (HTTP/1.1 and HTTP/2 regular headers). Without it, Go map iteration randomized header order → mismatched fingerprint → spurious 403/forbidden from anti-bot systems. The 00 10-style ordering is now reproducible to clone a known-good request exactly.
    • Note: the Random EXT. Order checkbox controls TLS extension order (JA3/JA4), not HTTP headers — keep it off for iOS/Safari profiles, on only for Chrome.

Proxy Manager

  • Proxy checker rewritten method — authenticated/paid proxies now check reliably. Authenticated proxies ((Http)ip:port:user:pass).Root cause: the old checker used the legacy Extreme.Net engine and validated by searching the SuccessKey inside the decompressed body — fragile with the redirect + gzip + keep-alive chain a proxy serves (e.g. http://google.com → 301 www.google.com).
    • CheckWorking now uses a native HttpClient + HttpClientHandler with WebProxy/NetworkCredential (handles auth, redirects, gzip, keep-alive, HTTPS CONNECT and SOCKS correctly) and validates on IsSuccessStatusCode (2xx) — no more body-string matching, so the Success Key is no longer required.
    • Geolocation moved out of the per-proxy check into a batch step (GeolocateBatchAsync): a single POST ip-api.com/batch per 100 IPs, sent directly from the local IP, run after the check completes. Doing geo through the proxy (the previous attempt) doubled concurrent connections and saturated the provider's per-account thread limit → false NotWorking and slowness.
    • Default timeout raised 2 → 15s (paid proxies have real 1-2s ping). Tip: prefer an HTTPS test URL (e.g. https://www.google.com) to avoid the HTTP redirect round-trips, and lower the bot count if you still see timeouts (provider thread limit).
    • UI: the now-unused Success Key combobox is replaced by an inline status card Success Rate | Status | Elapsed (separators in ForegroundBorderBrush, wrapped in a Viewbox so text never clips, aligned to the test-URL combobox).

Tools

  • **Site Security Scanner — bot/WAF detection overhauled, optional WebView2 Deep scan, and a Mozilla-Observatory-aligned Security Grade.
    • Cookie fix: the passive GET now uses UseCookies = false, so Set-Cookie headers stay readable by the signatures (the CookieContainer was previously swallowing them, blinding all cookie-based detection).
  • Multi-signature detection: DetectWaf (single result) replaced by DetectProtections (returns a list, comma-separated badge). Signatures calibrated on real header/cookie fingerprints of major WAF/anti-bot and CDN providers. Challenge detection extended.
  • Deep scan toggle (opt-in, slower): loads the page in an invisible WebView2 (off-screen window) that runs the page JavaScript and captures the rendered DOM, real cookies, and all network request URLs (via WebResourceResponseReceived). This catches dynamically injected sensors (PerimeterX, hCaptcha-in-iframe…) that a passive GET never sees. A parallel raw GET makes the deep scan a strict superset of the fast scan. The captured network list is shown in the Raw panel for inspection.
  • Security Grade rewritten penalty-based like Mozilla HTTP Observatory: starts at 100 and subtracts (CSP missing −20, unsafe-inline/unsafe-eval weighted per directive — script-src −20/−10 vs style-src-only −5; missing X-Frame-Options −20, missing/short HSTS −20/−10, etc.), with Observatory v2 bands (80 = B+, 90 = A, 100 = A+). The grade is computed on the server-side response headers (raw GET, same methodology as Observatory) — not the WebView's merged headers, which on SPA/redirect pages (e.g. a Next.js /sign-in) inflated the score. The old +5 WAF bonus was removed.
  • New i18n keys Tools_Scanner_DeepScan / Tools_Scanner_DeepScanTip (en/it/es).
  • Known limits: Shape Security stays the weakest signal (designed to be URL-unfingerprintable); first-party/CNAME-cloaked sensors can still slip; the CSP parser covers the cases that move the grade, not Observatory's full per-directive analysis.

UI / Fixes

  • Add Proxies dialog (File tab) — "Remove selected" / "Clear all" buttons did nothing. They were wired with MouseDown instead of Click; on a WPF Button the MouseDown event is consumed internally by ButtonBase to raise Click, so the handler never fired (only "Browse" worked, as it already used Click). Fixed by switching both buttons to Click (handler signatures MouseButtonEventArgs → RoutedEventArgs). "Remove selected" now removes all selected entries (the list is in Extended selection mode), not just one.

  • "What's new" changelog dialog — raw Markdown instead of formatted text. The in-app dialog prepended a • bullet to every line (headings, blanks, all) and showed raw Markdown characters (#, ##, **bold**, `code`, [text](url)). Cause: ProcessBodyToLines stripped list markers and AppendParagraph then bulleted every line, with no inline parsing. Rewritten with a small GitHub-consistent Markdown renderer: handles headings (#/##/###), bulleted/numbered lists with nesting, horizontal rules (---), code fences (```), and inline bold / italic / code / links — bullets only on actual list items. The renderer was extracted into a shared MarkdownFlowRenderer class and is now also used by the Update page → Release Notes panel (same raw-Markdown/bullet-on-every-line problem there).

  • Runner — proxy mode pill (ON/OFF/DEF) showed no selection underline on first launch. The pill had the correct color (from the converter) but the selection indicator was missing until you clicked it. Cause: the three RadioButtons had an explicit GroupName="proxyRadio"; with an explicit GroupName WPF handles mutual exclusion internally and the initial IsChecked from the binding isn't applied to the MaterialDesignTabRadioButton indicator until user interaction. Fixed by removing GroupName (they stay mutually exclusive within their shared StackPanel).

  • Config → Other Options → icon picker crashed on non-image files. OpenIcon called new System.Drawing.Bitmap(file) (which threw ArgumentException: Parameter is not valid on corrupt files or non-GDI+ formats) on a variable that was never actually used (dead code). Removed it — the preview already uses WPF BitmapImage, which is more tolerant — and wrapped the load in a try/catch that shows a friendly message instead of throwing.

  • Config → Other Options → icon picker now accepts WebP images. Both the config icon and the author icon pickers accept *.webp in addition to BMP/JPG/PNG/ICO. Since neither WPF nor GDI+ can decode WebP, the file is detected (by extension or RIFF…WEBP signature) and transcoded once to PNG (alpha preserved) via the already-bundled OpenCvSharp4 (its Windows runtime ships libwebp) — no new dependency. The Config stores PNG Base64 as before, so every consumer (Base64ToImageConverter, the GDI+ Base64ImageDecoder, Runner/ConfigManager thumbnails) keeps working unchanged. Shared helpers ImageExtension.IsWebp / WebpToPng / LoadDisplayableImageBytes. Note: PNG transcoding can grow the byte size vs the original WebP, so the existing 500 KB cap still applies — resize very large images first.

  • Log.txt noise reduced. Stopping the Runner or closing the app left dozens of harmless SocketException (995) "I/O aborted" entries (cancelled bot sockets) logged as ERROR via TaskScheduler.UnobservedTaskException. They're now classified as WARN, so real errors stay readable in users' logs.

  • RL Settings → Proxies → Reloading (Remote source) — oversized row controls. In the remote-source TabItem, the URL/Pattern/Output/Name textboxes and the Remove button had no fixed height, so they stretched to fill the Grid row and towered over the proxy-type ComboBox (which was already Height="29"). Aligned every control in the row to Height="29" + VerticalContentAlignment="Center" + VerticalAlignment="Center", so the whole row now matches the height of the selection combobox.

⚠️ Backward Compatibility

  • The AES envelope changes are opt-in: with "IV prefix in ciphertext" off, or the Envelope header empty, blocks behave exactly as in 4.0.0. Existing configs are unaffected.

Builds on: CHANGELOG_v4.0.0.md.