Skip to content

Alpha#17

Open
teocns wants to merge 84 commits intomainfrom
rel/selective-proxy__all-eevasions
Open

Alpha#17
teocns wants to merge 84 commits intomainfrom
rel/selective-proxy__all-eevasions

Conversation

@teocns
Copy link
Copy Markdown
Owner

@teocns teocns commented Mar 25, 2024

This is the alpha release that comes with the ability to launch GC with a --fingerprint argument.

Quick start

aws s3 cp s3://chromium-build-us-east-2/builds/v117-rc5/dist.tar.gz .
tar -xzf dist.tar.gz
./chrome --fingerprint=/path/to/dd.json

Recommended and tested setup using docker compose and puppetask (VNC ready)

version: "3.8"
services:
  demo:
    image: teocns/puppetask:chromium-standalone
    platform: linux/amd64
    shm_size: 2gb
    ports:
      - 9222:9222
      - 5999:5999
    volumes:
      - /local/chromium/path:/etc/puppetask/chromium/
      - /local/fingerprints/directory:/var/data/fps:ro
      - ./.data:/var/data/chromium
    environment:
      LAUNCH_CMD: /etc/puppetask/chromium/chrome --fingerprint=/var/data/fps/mine-chrome.json --no-first-run --start-maximized --user-data-dir=/var/data/chromium
    privileged: true
    cap_add:
      - SYS_ADMIN
      - NET_ADMIN

Known caveats

⚠️ WIP ✍️

teocns and others added 30 commits July 13, 2023 18:53
…with proxy (#3)

By setting the header Stealthium-Proxy in requests, we are able to supply a proxy following the Chromium-standard string format you would use when passing --proxy-server launch param:

https=127.0.0.1:8899;http=127.0.0.1:8899
https=http://user:pass@127.0.0.1:8899;http=http://user:pass@127.0.0.1:8899
The header will never reach the final destination, as it is removed at low-level network stack here.
Override ChromeMainDelegate and ChromeContentRendererClient with Ghost-derived ones.
Build passes; GhostContentRendererClient ctor will log to console.
registers startup task for the fingerprint manager there
gotta migrate it in the ghost embedder instead
add user agent implementation scoped to the content browser client
makes the UA patched browser-wide, not just js side
teocns added 29 commits January 27, 2024 07:15
adding an absl::nullopt check. --single-process seems to cause a weird race condition whereas the useragentmetadata is null but the fingerprint is loaded. must check!
args weren't being ordered correctly
Accept functions as third argument to support legacy utility function signatures
NDEBUG param bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant