recovered from aaronjaworski710
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
# Example: ChatGPT + Cloudflare Worker mailbox/decode + Clash egress
|
||||
# Usage (prod secrets via env):
|
||||
# export CLOUDFLARE_API_BASE=https://temp-mail.example.com
|
||||
# python -m register_core run --profile profiles/chatgpt-cf.example.yaml -n 1
|
||||
#
|
||||
# Copy to profiles/chatgpt-cf.local.yaml (gitignored) for local overrides.
|
||||
|
||||
apiVersion: register.v1
|
||||
kind: RegisterProfile
|
||||
metadata:
|
||||
name: chatgpt-cf
|
||||
description: ChatGPT via CF Worker (paired mailbox+decode)
|
||||
|
||||
spec:
|
||||
provider:
|
||||
name: chatgpt
|
||||
options:
|
||||
otp_timeout_s: 180
|
||||
|
||||
count: 1
|
||||
|
||||
mailbox:
|
||||
type: cloudflare
|
||||
# domain pin optional for CF Worker; usually Worker-configured
|
||||
|
||||
decode:
|
||||
type: cloudflare
|
||||
options:
|
||||
timeout_s: 180
|
||||
poll_interval_s: 2.5
|
||||
|
||||
strategy:
|
||||
fail_fast: true
|
||||
fail_fast_kinds:
|
||||
- registration_disallowed
|
||||
- unsupported_email
|
||||
- fatal
|
||||
- verify
|
||||
egress:
|
||||
mode: clash
|
||||
proxy: "http://127.0.0.1:7897"
|
||||
rotate_every: 1
|
||||
rotate_required: false
|
||||
mail_proxy: direct
|
||||
burn:
|
||||
enabled: true
|
||||
track: [ip, domain]
|
||||
on_kinds: [registration_disallowed, unsupported_email]
|
||||
state_path: "" # M2: .register/burn_state.json
|
||||
|
||||
verify:
|
||||
enabled: true
|
||||
name: auto
|
||||
|
||||
sink:
|
||||
path: providers/chatgpt/output/pipeline.jsonl
|
||||
|
||||
secrets:
|
||||
mode: prod
|
||||
@@ -0,0 +1,41 @@
|
||||
# Example: ChatGPT + Gmail IMAP (paired)
|
||||
# Requires GMAIL_IMAP_* env (prod mode — no plaintext passwords in file).
|
||||
# python -m register_core run --profile profiles/chatgpt-gmail.example.yaml -n 1
|
||||
|
||||
apiVersion: register.v1
|
||||
kind: RegisterProfile
|
||||
metadata:
|
||||
name: chatgpt-gmail
|
||||
|
||||
spec:
|
||||
provider:
|
||||
name: chatgpt
|
||||
options:
|
||||
otp_timeout_s: 180
|
||||
|
||||
count: 1
|
||||
|
||||
mailbox:
|
||||
type: gmail_imap
|
||||
domain: mangoqwq.com
|
||||
|
||||
decode:
|
||||
type: gmail_imap
|
||||
options:
|
||||
timeout_s: 180
|
||||
|
||||
strategy:
|
||||
fail_fast: true
|
||||
egress:
|
||||
mode: clash
|
||||
proxy: "http://127.0.0.1:7897"
|
||||
mail_proxy: direct
|
||||
|
||||
verify:
|
||||
enabled: true
|
||||
|
||||
sink:
|
||||
path: providers/chatgpt/output/pipeline.jsonl
|
||||
|
||||
secrets:
|
||||
mode: prod
|
||||
@@ -0,0 +1,47 @@
|
||||
# Example: ChatGPT + tinyhost paired mailbox/decode
|
||||
# python -m register_core run --profile profiles/chatgpt-tinyhost.example.yaml -n 1
|
||||
|
||||
apiVersion: register.v1
|
||||
kind: RegisterProfile
|
||||
metadata:
|
||||
name: chatgpt-tinyhost
|
||||
|
||||
spec:
|
||||
provider:
|
||||
name: chatgpt
|
||||
options:
|
||||
otp_timeout_s: 180
|
||||
|
||||
count: 1
|
||||
|
||||
mailbox:
|
||||
type: tinyhost
|
||||
# domain omitted on purpose: remove the profile pin so CHATGPT_EMAIL_DOMAIN
|
||||
# (legacy operator knob, e.g. huychau.online) is honored by the chatgpt adapter
|
||||
# (extra["email_domain"] unset → adapter self.email_domain ← env). Echoes the
|
||||
# legacy non-profile path behavior. Pin via CHATGPT_EMAIL_DOMAIN=<domain>.
|
||||
|
||||
decode:
|
||||
type: tinyhost
|
||||
options:
|
||||
timeout_s: 180
|
||||
|
||||
strategy:
|
||||
fail_fast: true
|
||||
egress:
|
||||
mode: clash
|
||||
proxy: "http://127.0.0.1:7897"
|
||||
mail_proxy: direct
|
||||
burn:
|
||||
enabled: true
|
||||
track: [ip, domain]
|
||||
on_kinds: [registration_disallowed, unsupported_email]
|
||||
|
||||
verify:
|
||||
enabled: true
|
||||
|
||||
sink:
|
||||
path: providers/chatgpt/output/pipeline.jsonl
|
||||
|
||||
secrets:
|
||||
mode: prod
|
||||
@@ -0,0 +1,68 @@
|
||||
# Example: Grok + tinyhost paired mailbox/decode (M4 FIXED_EMAIL + OTP_HELPER)
|
||||
# python -m register_core run --profile profiles/grok-tinyhost.example.yaml -n 1
|
||||
#
|
||||
# Requires: register_cli.py / grok_register_ttk; EMAIL_PROVIDER=fixed when FIXED_EMAIL set.
|
||||
# Product ok requires this-run SSO in accounts ledger (email----pw----sso).
|
||||
|
||||
apiVersion: register.v1
|
||||
kind: RegisterProfile
|
||||
metadata:
|
||||
name: grok-tinyhost
|
||||
|
||||
spec:
|
||||
provider:
|
||||
name: grok
|
||||
options:
|
||||
threads: 1
|
||||
|
||||
count: 1
|
||||
|
||||
mailbox:
|
||||
type: tinyhost
|
||||
# domain omitted on purpose (same lesson as chatgpt-tinyhost): the source file
|
||||
# (register_core/email/sources/tinyhost.py L25) flags publicvm.com as "accepts
|
||||
# allocate but never delivers OpenAI OTP" — two pxed grok runs (090655/092054)
|
||||
# only ever hit OTP 30s×5 timeout. An unpinned tinyhost mailbox allocates a
|
||||
# currently-healthy random domain from the tinyhost.shop API (leruvo.icu /
|
||||
# datgemini.io.vn / …), which actually receives xAI OTP. Set
|
||||
# REGISTER_EMAIL_DOMAIN / GROK_EMAIL_DOMAIN to override if a specific domain is
|
||||
# wanted; leave unset for auto.
|
||||
|
||||
decode:
|
||||
type: tinyhost
|
||||
options:
|
||||
timeout_s: 180
|
||||
|
||||
strategy:
|
||||
fail_fast: true
|
||||
fail_fast_kinds:
|
||||
- fatal
|
||||
- verify
|
||||
- registration_disallowed
|
||||
# egress: Clash mixed-port (pxed Grok production default, same backend the legacy
|
||||
# run-register.sh pinned via preflight-clash-nodes.sh + PROXY=127.0.0.1:7897).
|
||||
# Pinned here (not `auto`) so register_core owns a concrete proxy: profile_to_job
|
||||
# sets extra["proxy"]=this URL → grok_adapter force-sets child PROXY/CPA_PROXY
|
||||
# (attempt proxy wins over ambient shell env). Pipeline owns attribution /
|
||||
# strategy / verifier / sink; Clash leaf health is still probed by
|
||||
# preflight-clash-nodes.sh in run-register-core.sh (nodes.json L1/L2 catalog
|
||||
# preflight is a separate `list|auto` backend, not Grok's default).
|
||||
egress:
|
||||
mode: clash
|
||||
proxy: "http://127.0.0.1:7897"
|
||||
mail_proxy: direct
|
||||
cool_soft_seconds: 30
|
||||
burn:
|
||||
enabled: true
|
||||
track: [ip, domain, proxy]
|
||||
on_kinds: [registration_disallowed, unsupported_email]
|
||||
state_path: output/grok_burn_state.json
|
||||
|
||||
verify:
|
||||
enabled: true
|
||||
|
||||
sink:
|
||||
path: output/pipeline-grok.jsonl
|
||||
|
||||
secrets:
|
||||
mode: prod
|
||||
@@ -0,0 +1,54 @@
|
||||
# Example: MiMo + tinyhost paired mailbox/decode (M3 FIXED_EMAIL inject)
|
||||
# python -m register_core run --profile profiles/mimo-tinyhost.example.yaml -n 1
|
||||
#
|
||||
# Requires: providers/mimo runtime (Node register-one.js), PROXY_LIST / nodes for egress.
|
||||
# OTP: FIXED_EMAIL + optional OTP_HELPER when decode is non-tinyhost.
|
||||
|
||||
apiVersion: register.v1
|
||||
kind: RegisterProfile
|
||||
metadata:
|
||||
name: mimo-tinyhost
|
||||
|
||||
spec:
|
||||
provider:
|
||||
name: mimo
|
||||
|
||||
count: 1
|
||||
|
||||
mailbox:
|
||||
type: tinyhost
|
||||
# domain omitted on purpose (same lesson as grok/chatgpt): the tinyhost source
|
||||
# flags publicvm.com as "accepts allocate but never delivers OTP" — a prior MiMo
|
||||
# pxed round was pinned to this dead domain and timed out on OTP. Unpinned,
|
||||
# tinyhost._pick_domain() allocates a currently-healthy random domain from the
|
||||
# tinyhost.shop API which actually receives xiaomi-mimo OTP.
|
||||
|
||||
decode:
|
||||
type: tinyhost
|
||||
options:
|
||||
timeout_s: 180
|
||||
|
||||
strategy:
|
||||
fail_fast: true
|
||||
fail_fast_kinds:
|
||||
- registration_disallowed
|
||||
- unsupported_email
|
||||
- fatal
|
||||
- verify
|
||||
egress:
|
||||
mode: auto
|
||||
mail_proxy: direct
|
||||
burn:
|
||||
enabled: true
|
||||
track: [ip, domain]
|
||||
on_kinds: [registration_disallowed, unsupported_email]
|
||||
state_path: providers/mimo/output/burn_state.json
|
||||
|
||||
verify:
|
||||
enabled: true
|
||||
|
||||
sink:
|
||||
path: providers/mimo/output/pipeline.jsonl
|
||||
|
||||
secrets:
|
||||
mode: prod
|
||||
@@ -0,0 +1,47 @@
|
||||
# Live-verify profile for Outlook (A path: bind_recovery_email=false).
|
||||
#
|
||||
# Usage (live — gated, requires explicit operator authorization):
|
||||
# GROK_REGISTER_OUTLOOK_LIVE=1 \
|
||||
# OUTLOOK_PROXY="http://user:pass@host:port" \
|
||||
# .venv/bin/python -m register_core run \
|
||||
# --profile profiles/outlook-live-nobind.example.yaml -n 1
|
||||
#
|
||||
# This is NOT a production profile; it exists to exercise the live Outlook
|
||||
# register flow under the GROK_REGISTER_OUTLOOK_LIVE gate with the recovery
|
||||
# mailbox binding skipped (A path) so it does NOT create a fresh temp mailbox.
|
||||
#
|
||||
# Operator responsibilities for a real live run:
|
||||
# * set GROK_REGISTER_OUTLOOK_LIVE=1 (explicit)
|
||||
# * supply a usable outbound proxy via OUTLOOK_PROXY (or REGISTER_EGRESS=list
|
||||
# + a populated PROXY_LIST) — the Outlook provider rejects an empty/blank
|
||||
# extra["proxy"] with error_kind="proxy" before opening any browser.
|
||||
# * recovery mailbox binding is OFF (bind_recovery_email: false); the account
|
||||
# is registered WITHOUT an external recovery email.
|
||||
|
||||
apiVersion: register.v1
|
||||
kind: RegisterProfile
|
||||
metadata:
|
||||
name: outlook-live-nobind
|
||||
description: Outlook live-verify — recovery mailbox skipped (A path)
|
||||
|
||||
spec:
|
||||
provider:
|
||||
name: outlook
|
||||
options:
|
||||
bind_recovery_email: false
|
||||
captcha_strategy: 0
|
||||
# headless:false — MS errcode 1045 was observed in headless mode on the
|
||||
# first proxy; sentinel testing whether a real display softens detection.
|
||||
# Requires xvfb-run for pxed (or a desktop) — command in the run notes.
|
||||
headless: false
|
||||
count: 1
|
||||
|
||||
strategy:
|
||||
fail_fast: true
|
||||
fail_fast_kinds:
|
||||
- provider
|
||||
- fatal
|
||||
- proxy
|
||||
- verify
|
||||
egress:
|
||||
mode: direct
|
||||
@@ -0,0 +1,36 @@
|
||||
# Live-verify profile for Outlook — name-step fix verification run.
|
||||
# captcha_strategy: 2 = manual handoff. Outlook's captcha is FunCaptcha
|
||||
# (iframe[title="验证质询"]) which slidex VisualChallengeSolver (HOLD-only)
|
||||
# cannot solve, so strategy 0 is unusable for Outlook. With 2, the flow runs
|
||||
# consent→email→password→birth→name and STOPS cleanly at the FunCaptcha with
|
||||
# error_kind="manual_handoff" — proving register() now advances past the
|
||||
# name screen (previously a 60s stall → provider/form timeout).
|
||||
#
|
||||
# Usage (gated — explicit operator authorization required):
|
||||
# GROK_REGISTER_OUTLOOK_LIVE=1 \
|
||||
# .venv/bin/python -m register_core run \
|
||||
# --profile profiles/outlook-live-nobind.yaml -n 1 --egress core
|
||||
apiVersion: register.v1
|
||||
kind: RegisterProfile
|
||||
metadata:
|
||||
name: outlook-live-nobind
|
||||
description: Outlook live-verify (name-step) — manual-handoff captcha
|
||||
|
||||
spec:
|
||||
provider:
|
||||
name: outlook
|
||||
options:
|
||||
bind_recovery_email: false
|
||||
captcha_strategy: 2
|
||||
headless: false
|
||||
count: 1
|
||||
|
||||
strategy:
|
||||
fail_fast: true
|
||||
fail_fast_kinds:
|
||||
- provider
|
||||
- fatal
|
||||
- proxy
|
||||
- verify
|
||||
egress:
|
||||
mode: core
|
||||
@@ -0,0 +1,43 @@
|
||||
# Timezone-aligned variant of outlook-live-nobind. Hypothesis under test:
|
||||
# we always launched with timezone_id="UTC" while our egress IP is in Taipei,
|
||||
# so the session presented a contradictory fingerprint (zh-CN locale + UTC tz +
|
||||
# Taipei IP). Upstream aligns timezone_id to the proxy's real geolocation
|
||||
# (outlook_controller.py --timezone={tz}). Mismatched tz/locale vs egress is a
|
||||
# classic Microsoft anti-abuse risk signal that upgrades the shield from the
|
||||
# solvable press-and-hold (iframe[title="验证质询"]) to the heavy FunCaptcha
|
||||
# (iframe#enforcementFrame). This profile forces Asia/Taipei + Taipei geo to
|
||||
# match the egress, keeping zh-CN locale, to test whether the same Taipei IP
|
||||
# then shows the hold shield instead of enforcement.
|
||||
#
|
||||
# Usage (gated — explicit operator authorization required):
|
||||
# GROK_REGISTER_OUTLOOK_LIVE=1 \
|
||||
# .venv/bin/python -m register_core run \
|
||||
# --profile profiles/outlook-live-tzmatch.yaml -n 1 --egress core
|
||||
apiVersion: register.v1
|
||||
kind: RegisterProfile
|
||||
metadata:
|
||||
name: outlook-live-tzmatch
|
||||
description: Outlook — timezone aligned to Taipei egress (hold-shield hypothesis)
|
||||
|
||||
spec:
|
||||
provider:
|
||||
name: outlook
|
||||
options:
|
||||
bind_recovery_email: false
|
||||
captcha_strategy: 2
|
||||
headless: false
|
||||
timezone_id: Asia/Taipei
|
||||
latitude: 25.0531
|
||||
longitude: 121.5264
|
||||
|
||||
count: 1
|
||||
|
||||
strategy:
|
||||
fail_fast: true
|
||||
fail_fast_kinds:
|
||||
- provider
|
||||
- fatal
|
||||
- proxy
|
||||
- verify
|
||||
egress:
|
||||
mode: core
|
||||
@@ -0,0 +1,51 @@
|
||||
# Example: typesafe.ai + tinyhost paired mailbox/decode
|
||||
# python -m register_core run --profile profiles/typesafe-tinyhost.example.yaml -n 1
|
||||
#
|
||||
# tinyhost is required: magic-link lives in the mail body. OTP-only sources
|
||||
# (cloudflare / gmail_imap) cannot extract the Stytch URL.
|
||||
|
||||
apiVersion: register.v1
|
||||
kind: RegisterProfile
|
||||
metadata:
|
||||
name: typesafe-tinyhost
|
||||
|
||||
spec:
|
||||
provider:
|
||||
name: typesafe
|
||||
options:
|
||||
otp_timeout_s: 180
|
||||
|
||||
count: 1
|
||||
|
||||
mailbox:
|
||||
type: tinyhost
|
||||
# domain omitted on purpose so TYPESAFE_EMAIL_DOMAIN can pin if needed
|
||||
|
||||
decode:
|
||||
type: tinyhost
|
||||
options:
|
||||
timeout_s: 180
|
||||
|
||||
strategy:
|
||||
# n=1 hub keeps this. n>1 hub passes --no-fail-fast so mail_miss/network
|
||||
# continue; fail_fast_kinds (fatal/verify/registration_disallowed/unsupported_email)
|
||||
# still stop the batch.
|
||||
fail_fast: true
|
||||
fail_fast_kinds:
|
||||
- registration_disallowed
|
||||
- unsupported_email
|
||||
- fatal
|
||||
- verify
|
||||
egress:
|
||||
mode: clash
|
||||
proxy: "http://127.0.0.1:7897"
|
||||
mail_proxy: direct
|
||||
|
||||
verify:
|
||||
enabled: true
|
||||
|
||||
sink:
|
||||
path: providers/typesafe/output/pipeline.jsonl
|
||||
|
||||
secrets:
|
||||
mode: prod
|
||||
Reference in New Issue
Block a user