Skip to content

Instantly share code, notes, and snippets.

Browser Use Challenge

Challenge from this tweet.

Step 1: Open the challenge link

Step 2: Run this in the browser's console

const Cl="WO_2024_CHALLENGE";function xv(t){try{const e=atob(t);let o="";for(let t=0;t<e.length;t++)o+=String.fromCharCode(e.charCodeAt(t)^Cl.charCodeAt(t%17));return o}catch{return""}}function yv(t){let e="";for(let o=0;o<t.length;o++)e+=String.fromCharCode(t.charCodeAt(o)^Cl.charCodeAt(o%17));return btoa(e)}const encrypted=sessionStorage.getItem("wo_session"),sessionData=JSON.parse(xv(encrypted));sessionData.codes=Array(31).fill("FINISH"),sessionStorage.setItem("wo_session",yv(JSON.stringify(sessionData))),window.location.reload();

Step 3: Run this in the browser's console

DO droplet init steps

  1. Create a docker droplet (remember to add ssh key)

  2. Login through the web console

  3. add new user (adduser user01) give password

  4. add user to sudo (usermod -aG sudo user01)

  5. add user to docker group (sudo usermod -aG docker user01)

  6. sudo apt install net-tools

  7. allow port on firewall (sudo ufw allow 7777)