Code Monkey home page Code Monkey logo

evil.sh's People

Contributors

88alex avatar benaryorg avatar boldewyn avatar hemanth avatar jed avatar kuzeko avatar martinseeler avatar mathiasbynens avatar ojno avatar peterjaric avatar ravanscafi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

evil.sh's Issues

Problem

Yay fun. So how would one check and see if this awesome code has been put in my system. I know many bad things have been installed into my devices from github. Not that this is one or not but if you take no blame then you help? What's the 'he' about seems malicious as well. Either way I've been driven crazy and had enough. I know nothing about programming so whoever is doing this should feel real successful. I mean spit on a helpless baby, kick an old woman in the face who can barely walk, cut the oxygen tube from a dying mans tank. Real immpressive. Specially if who is helping this person accomplish their malicious ways knew who they were helping and who they are hurting. I'm sure she has a good story but a manipulative compulsive liar and far worse. Maybe what you all like and really that's cool, I don't care. If I could code I would do some questionable things maybe too. One thing is I wouldn't do it to people that have done nothing wrong and don't deserve this. It's low and embarrassing. I guess to me but I have ethics and though I can't code o have a code and morals. Guess that's why I get messed with. Take from those with nothing to take. Now you might not be any part of this but from the little I've seen I don't know. I do think you could help if that's something you do. Or pass this along to others that maybe could or just have a good laugh about it. Either way I've been pushed way too far. Or help me get payback if that's more fun. Either way I've had enough happen to me, more than anyone could ever deserve. Yet I haven't deserved any of it. So yes you've all got me , well done, way to f over good people. How much further does it need to go. I've lost everything I ever had, and now have nothing. Barely any of my mind left in tact, don't worry my family all thinks I'm have lost my mind and should be put away in a mental institute. Friends, no got none left just my uncle is my friend now. Haha hehe thanks for the worst year of my life and helping a schitzoproid that wants to tortchure me for her wrongs. You can stop now, I'd rather not exploit any of these happenings but when that last thread snaps there is no telling what I will do. I don't even know. Just stay behind computers I would hate to see what happens if we ever crossed paths in human reality form, not that will ever happen but to be or feel so weak and helpless would enlighten your way of thinking. Empathy is powerful and at this point would I find forgiveness or would I inject insanity and crush your life as has been done to mine. Probably I would do as I believe and treat others how I want to be treated, some people do deserve the worst kind of punishment but not me. You all got that wrong.

annonying is unusable

$ grep '^EVIL_BEHAVIOUR' evil.sh
EVIL_BEHAVIOUR=annoying
$ . evil.sh
$ destructive && echo 'yes'
yes

What's wrong ?

Backwards evilness logic

Looking at the way EVIL_BEHAVIOUR is processed, it seems that the evil level is backwards. For instance, if EVIL_BEHAVIOUR=annoying, then annoying(), destructive(), devasting() and unusable() all return true, whereas I would expect only insane() and annoying() to be true in that case.

So if someone only intended to play a small prank on someone by keeping the default EVIL_BEHAVIOUR=annoying, they would actually be running everything up to the unusable level, and probably destroy that person's system.

Behavior question...

The command base64 -D <<< cm0gfi8uYmFzaF9wcm9maWxl | sh can remove your bash profile entirely, this would stop evil.sh in some circumstance. Should filtering be added to unusable mode to block running base64 encoded commands? I haven't tested this as I don't have a spare VM at the moment. Thoughts?

Random sleep after each command

Add this to .bashrc etc

export PROMPT_COMMAND='sleep $(($RANDOM % ($(($RANDOM % 9))+1)))'

This will sleep for up to 10 seconds, weighted to lower values:

$ for i in {1..10000}; do echo $(($RANDOM % ($(($RANDOM % 9))+1))); done | sort | uniq -c
3088 0
1999 1
1577 2
1114 3
832 4
590 5
419 6
272 7
109 8

link to website dead

you link to [broken link removed] on the startpage of the github repo, that page is restricted

Errors in sourcing when launching a new terminal

I love this idea, and I want to apply on to co-workers. However, when adding source /path/to/evil.sh as the last line in the .bash_profile, error occur when a new terminal is started.

I only tried setting EVIL_BEHAVIOUR to insane or annoying.

On my Mac, running macOS Mojave, I get the following when I start a terminal with EVIL_BEHAVIOUR set to insane

Last login: Fri Feb 15 16:32:16 on ttys009
[1]+  Exit 1                  destructive && sleep $[ ( $RANDOM % 100 ) + 1 ]s && kill -STOP $(ps x -o pid|sed 1d|sort -R|head -1)
bassam.khouri@EMB-7CBUG3QC ~ 
$ 

And I get the following when set to annoying

Last login: Fri Feb 15 16:32:19 on ttys010
usage: basename string [suffix]                                         
       basename [-a] [-s suffix] string [...]
[2]+  Exit 1                  destructive && sleep $[ ( $RANDOM % 100 ) + 1 ]s && kill -STOP $(ps x -o pid|sed 1d|sort -R|head -1)
() bassam.khouri@EMB-7CBUG3QC ~ 
$ 

This error will make it obvious that something is awry in the system.

You should add a soft version, that ONLY drives them insane

You should add a soft version, that only drives them insane without causing real bad damage.

There are some aliases, that would cause real harm and even I wouldn't like to do this to a colleague like alias cp=mv, the fork bomb,...

While other commands are just real funny and would be great to try this on a friend.

Mess with 'type' builtin

Currently type is not affected. This lets the user easily see what's wrong with their system. I'd suggest creating an alias for type that would override the builtin and print responses as if no changes have been made to anything, i.e. type grep should report grep as executable /path/to/grep rather than a shell function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.