etaoin

m3tti 2024-10-02T11:34:03.950159Z

has anyone tried to start up etaoin and but for a specific hostname. My problem is that in a kubernetes cluster i can't start the etaoin process properly 😕 because i guess 127.0.0.1 isn't set as localhost 😕

m3tti 2024-10-02T11:42:18.355329Z

nevermind issue was the args

m3tti 2024-10-02T11:42:32.298459Z

you need at least these

--no-sandbox
--disable-gpu
--disable-setuid-sandbox
--disable-dev-shm-usage

m3tti 2024-10-02T13:44:25.677839Z

how do i set a header in each request is that possible

lread 2024-10-02T16:49:17.362099Z

Heya @mathaeus.peter.sander! Etaoin is a thin wrapper over WebDrivers. The WebDriver philosophy is that it simulates a human being interacting with a browser. As such, it doesn't give you any easy access to headers. That said you can set the user agent: https://cljdoc.org/d/etaoin/etaoin/1.1.42/doc/user-guide?q=header#opt-user-agent What header are you trying to set?

m3tti 2024-10-02T16:51:05.748289Z

Yeah i also saw the specification doesnt have it. As you told in an issue on github. I'm in conversation if its possible for our current waf to check for a specific session cookie value.

m3tti 2024-10-02T16:51:41.992419Z

There is a bot protection in place that wont let me through currently but i'll find a way

lread 2024-10-02T16:56:21.160099Z

Some WebDriver implementations support "virtual authenticators." I haven't looked into this yet. For example, see geckodriver changelog: https://github.com/mozilla/geckodriver/releases/tag/v0.34.0

dgr 2024-10-02T17:16:21.035309Z

@mathaeus.peter.sander, you also have access to cookies through Etaoin. See get-cookie, get-cookies, set-cookie, delete-cookie and delete-cookies.

m3tti 2024-10-02T17:17:12.029579Z

Yeah thats why i hope our bot protection allows cookies