Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello, you might have seen my NEW SilverFish Exploit. But you might be wondering how it works. Here's how it works:
- It first imports the "os" module.
- It then defines a function called "expcode" which it can run by running "expcode()".
- It puts in the function: The code you want to run and an instruction to run the silverfish() function.
- Then, it defines a function called "silverfish" which it can run by running "silverfish()".
- It puts in the silverfish function: the instruction to run the system() function from the os module. But, it needs an argument. Here is what it passes: "kill $(ps -a)". What this does is tell it to kill a process, but do you see the "$(" that means "Hey what this returns replace me with that!".
- And it does. So that returns "kill " and then ALL the running frameworks and processes. So it kills those processes. Hence, on Linux the computer has to be hard rebooted. And on Mac, this causes some cool behavior. Such as the Dock and Finder not be loaded, and all the system framework processes being killed. Well, that's what happens! If you were cool enough to read this in it's entirety, than you get extra bonus points in my book! Anyway, hope you enjoyed! Bye!
Advertisement
Add Comment
Please, Sign In to add comment