• 0 Posts
  • 22 Comments
Joined 2 years ago
cake
Cake day: June 23rd, 2024

help-circle


  • Flipper@feddit.orgtoDank Memes@lemmy.worldBonjour
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    4 days ago

    In Germany there are a lot more Jones about the French army, which probably stem from how fast France was captured in ww2.

    Selling a French army rifle. Good condition. Never used, only dropped once.

    How many gears does a French tank have? One forward for the parade, 5 backwards for war.

    Why does a French tank have rear view mirrors? So the can alsonsee the front.

    Whats the first thing a French soldier learns? To capitulate in 10 languages.

    How many man do you need to defend Paris? No one knows, no one ever tried.

    And so one.



  • By default, the Credentials provider does not persist data in the database. However, you can still create and save any data in your database, you just have to provide the necessary logic, eg. to encrypt passwords, add rate-limiting, add password reset functionality, etc.

    That is exactly the complexity I wouldn’t want. With just SSO it is enough to send a redirect URL to the browser and on the callback set a cookie. No js needed. If your service gets compromised and someone leeks the credentials, just log everyone out.








  • The Problem with open source is, it relies on self exploitation. Most OS Dev don’t get paid, so they’ve got to work another jib full time. This leads to a lot of burned out devs from their project and that is a real problem.

    Before a project becomes self sufficient on donationa, it needs to become really big. Most projects simply never reach that scale.




  • Its timing based. When piped a script, bash executes each line completly before taking the next line from the input. Curl has a limited output buffer.

    1. Operation that takes a long time. Like a sleep, or if you want it less obvious. A download, an unzip operation, apt update, etc.
    2. Fill the buffer with more bash commands.
    3. Measure on the server if at some point curl stops downloading the script.
    4. Serve a malicious payload.