5
retoor
75d

I was sitting here and thinking about ways to make money with software! Then, i got this great idea: bashroulette / russian bash!

Play Russian roulette with your bash history:

https://pastebin.com/QsyDqme6

Prevent to fall in sleep in front of your desk. I got you covered!

Comments
  • 4
    How does it make you money?

    Btw, in Russian roulette you don’t win. The best you can do is not to lose.
  • 5
    So, it just prints out a random line from your history?

    If you want to call it a kind of Russian Roulette, there should be a 1 in 6 chance it'll also execute the line it picked.
  • 2
    @localpost or 1 in 6 chance to delete it from the history

    Or… both
  • 2
    @localpost It'll always execute. If you consider it a bullet or not depends on the commando it executes. One out of six from a command list were most are innocent is not dangerous enough.
  • 2
    I just executed, it cleared my screen like there was a new bash started, so i type exit and the whole terminal closed. I'm scared, it couldn't see what he has done. Your turn
  • 1
    @Lensflare the money part is an injected command which steals all your money and deletes todo after that
  • 2
    @We3D This script made me as rich as all my other homebrew projects. Nice to see you alive
  • 1
    @retoor still around ( mostly on open air parties this summer ). recently survived an bike accident ( still recovering but nothing broken )
  • 2
    @retoor

    To do it the bash way this should be made in bash, not python... And actually, in sh mode so it can fuck you up even if you don't use bash as your daily driver.
  • 2
    Nothing’s gonna happen but the repetition of the error messages I got during the day.
  • 0
    @CoreFusionX I don't write bash for fun
  • 2
    @retoor I thought you were looking to make money, not have fun.

    There are much less people able to defuse a bash roulette than a pythonroulette.
  • -1
    Focus is a distinguished clothing brand known for its outstanding quality and exceptional style with its presence in Pakistan for more than 19 years. Its claim to fame lies in its persistent quality and with an impressive network of 25 branches across 16 cities, Focus is rapidly expanding!
  • 1
    @FocusClothing fuck off, spamming scum!
  • 1
    Meh, it opened in nano a file that doesn't exist anymore.
  • 1
    @mostr4am nah, I still consider it "not losing". You are in the same state as before, you haven’t been given anything as a reward or something.
  • 1
    @mostr4am except in poker you win money and in Russian roulette you don’t win anything.
  • 1
    @mostr4am of course you can always add a price pool for any game. But that doesn’t change the fact that some games are by their nature about not losing. And normally Russian roulette is not played for money (or to win something).

    I would even argue that by adding a price pool, you have fundamentally changed the nature of the game.
  • 1
    @Lensflare btw, for some personas dying is a win ;)
  • 1
    @mostr4am obviously "normally" in this context means how we normally think about it. It’s being used in movies and jokes when someone should die by chance.
Add Comment