• 0 Posts
  • 20 Comments
Joined 3 years ago
cake
Cake day: July 23rd, 2023

help-circle












  • So, it uses the fact that bash allows functions with non-alphanumeric names, in this case it defines a function called :. If we rename that to, for example bomb it becomes a little clearer:

    bomb(){ bomb | bomb& };bomb

    This defines a function that calls itself piped into a version of itself in a separate, background, process (that’s what the & does) and then calls that function. Calling itself means the function never ends (it’s essentially a recursive version of an infinite loop) and the extra background process that is created each time it’s called means that it just keeps exponentially creating new processes that don’t exit and each of which infinitely forks off more processes until the OS runs out of resources (unless you use ulimit to set per-session/per-user process limits - this may even be done by default on some distros these days, it’s been a while since I looked)







  • That wouldn’t solve anything - Europe doesn’t actually get much oil through Hormuz, the issue is that the closure raises global oil prices regardless of where they come from. This isn’t a situation individual countries can carve out exceptions for themselves from - hence why the worst affected by this will be poor countries that had fuck all to do with Trump’s decision to fuck everyone over. And why America as a whole needs to start sorting its shit out for everyone’s sake and stop just telling the rest of the world to ignore Trump if he’s being a pain like he’s a doddery old relative and not the commander in chief of the most powerful military in the world.