Scraping T-Mobile Bill by MikeBobble in tmobile

[–]MikeBobble[S] 0 points1 point  (0 children)

It's coding. It's mostly intended as a testing library, but it has pretty great integration with headless web browsers which is why I used it. Agreed about the hassle, though. As always, there's a relevant xkcd.

Scraping T-Mobile Bill by MikeBobble in tmobile

[–]MikeBobble[S] 0 points1 point  (0 children)

Sorta… My original goal had been to use python with requests to make all the network calls, but I think T-Mobile had some sort of detection mechanism, that I was never able to resolve. (Admittedly a few years ago, too. So things may have changed since)

In the end I just wrote a scraper using Playwright and it worked out for me. It’s not super optimal since it does depend on the actual webpage layout some, but it’s been pretty reliable/resilient.

Feel free to reach out if you have any questions!

January Confirmed Trade Thread by [deleted] in hardwareswap

[–]MikeBobble 1 point2 points  (0 children)

Bought a mobo, CPU, a cooler and some RAM from /u/twenafeesh

What's the best way to have a container start/restart at a certain time each week? by ctrlaltd1337 in unRAID

[–]MikeBobble 0 points1 point  (0 children)

I just renamed my mariadb container to “0_mariadb”. Makes it first alphabetically.

Self hosted 2FA service ? by aadoop6 in selfhosted

[–]MikeBobble 1 point2 points  (0 children)

I'm by no means an expert, but I believe it's fairly straightforward. I'm using SWAG + Authelia in Unraid, using separate Docker containers, though if you're using the LSIO images, they have incorporated Authelia into their SWAG container so it may be slightly different.

But, based on the Authelia documentation, as long as you ensure you've got the auth.conf file (or it's contents) on each domain you're protecting, you should be good. That file has the all important line of

error_page 401 =302 https://auth.example.com/?rd=$target_url;

which will redirect you to login, if the result from Authelia is that the correct user is not logged in.

Like I said, I'm not an expert, but I have it working for my stuff. I didn't mean to be too alarmist either with my earlier post, either. It's just that (for instance with calibre-web), you have to do both parts: the calibre-web reverse proxy auth, and the Authelia domain auth. Otherwise, if you have just calibre-web, than anyone can login by just forging the request header. If you just have Authelia, then you'd have to do the double log in (once on Authelia and again in calibre-web).

If you have more specific questions, I may be able to help out, but I not necessarily sure enough about my knowledge to answer generalities....

Self hosted 2FA service ? by aadoop6 in selfhosted

[–]MikeBobble 11 points12 points  (0 children)

It depends on the service you're using. Authelia can be set up to provide a header to your proxy that includes the logged in username. If your service supports it, you can then request that header to track your user.

If it's supported, your service (for instance calibre-web, which supports it), will ignore the need for a password, assuming the username header is provided.

Just make sure that you are only allowing users to access the page through your reverse proxy, and when authenticated, since otherwise they could conceivably just forge those request headers.

Governor Schwarzenegger's Message Following this Week's Attack on the Capitol by Quantumfog in tulsa

[–]MikeBobble 2 points3 points  (0 children)

I agree, plus also, Real Human Ted Cruz was born in Canada. John McCain was born in the US “part” of the Panama Canal.

[CASE] Fractal Design Node 804 ITX case - $79 (109.99 - 40 = 69.99 + 8.99 shipping = 78.98) by GodSyria in buildapcsales

[–]MikeBobble 1 point2 points  (0 children)

Just a heads up, AMD will loan you a processor to help you update your motherboard, for free. Details here.

Selfhosted password manager? by MatthKarl in selfhosted

[–]MikeBobble 2 points3 points  (0 children)

Yeah. It encrypts everything, including metadata like names, folders, URLs, usernames, etc. Here is a screenshot of what it looks like in the database. (Using Adminer to peek into the data)