Recent content by sockpuppet

  1. S

    Any compiler enthusiasts on BHW?

    Hey, i also own that book at the bottom but i wouln't call me an enthusiast.
  2. S

    How to detect puppeteer with 100% accuracy

    You are welcome. I only use puppeteer, controlling the browser through devtools protocol is the way to go atm.
  3. S

    How to detect puppeteer with 100% accuracy

    No idea if that works, you have to try it. But that looks overcomplicated, what is your use case? I would just call createContext on every navigation step.
  4. S

    How to detect puppeteer with 100% accuracy

    The context gets destroyed in the navigation. I would do something like this: async createContext() { const mainFrame = await this.page.mainFrame(); const worldName = 'iso' + process.hrtime.bigint(); this.iso = await this.page._client.send('Page.createIsolatedWorld', { frameId...
  5. S

    How to detect puppeteer with 100% accuracy

    You could avoid the detection by running the javascript in it's own context with createIsolatedWorld But unfortunately it's not in puppeteer yet, see #2671 So you need to send raw devtools-protocol commands to get it working const mainFrame = page.mainFrame() const iso = await...
  6. S

    How to detect puppeteer with 100% accuracy

    That string is the sourceURL, it would be the best to remove it instead of renaming.
  7. S

    Spoofing canvas and webgl

    No, the different canvas images comes from sligthly different implementations on GPUs. There is no way to emluate that.
  8. S

    Spoofing canvas and webgl

    Yes, that is how you do it when you approach it on the javascript level. You start with a custom document.createElement that returns a custom canvas with a modifed getContext. And your returned context logs all the calls. But that won't work if the fingerprint script looks for changed functions...
  9. S

    Spoofing canvas and webgl

    this is the way to go. and it doesn't matter if the code is obfuscated or not, you only need to harvest the api calls to the canvas/webgl api. then "replay" these calls to random visitor and save the complete canvas. you then return that saved data to the fingerprint script when it wants to read...
  10. S

    Intercepting website's API - data is updated after API loads?

    I only looked like one layer deep. First byte is one of these types: SERVICE_REQUEST: 0, SERVICE_RESPONSE: 1, SERVICE_ERROR: 2, TOPIC_LOAD: 20, DELTA: 21, SUBSCRIBE: 22, UNSUBSCRIBE: 23, PING_SERVER: 24, PING_CLIENT: 25, CREDENTIALS: 26, CREDENTIALS_REJECTED: 27, ABORT_NOTIFICATION: 28...
  11. S

    Node JS Woocommerce Scraper

    use the api https://woocommerce.github.io/woocommerce-rest-api-docs/?javascript#create-a-product
  12. S

    Intercepting website's API - data is updated after API loads?

    Use the debugger to find the javascript code that decodes the data. First go the js file with the "Initiator" column in the network tab. That gives you the line in that the socket is created. But you are interested in the handler for the onmessage event, it's assigned a few lines below and...
  13. S

    Intercepting website's API - data is updated after API loads?

    don't know what you mean by "market" page but if you open this for example: https://www.oddschecker.com/horse-racing/tampa-bay-downs you get a websocket connection with binary data, filter the requests by WS
  14. S

    Need some help and suggestion for a webcam bot

    You can solve everything with throwing expensive hardware at it. But be smart about that, most of the cpu is used to decode the video stream, that is wasted. Also how does your cam site measure the viewers? There is a huge chance you don't even need to request the video stream. Could be they use...
  15. S

    Intercepting website's API - data is updated after API loads?

    There is a websocket connection, you looked into that?
Back
Top