X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/80e2389990082500d76eb566d4946be3e786c3ef..d8f41ccd20de16f8ebe2ccc84d47bf1cb2b26bbb:/Security/sec/SOSCircle/CloudKeychainProxy/scripts/soscopy diff --git a/Security/sec/SOSCircle/CloudKeychainProxy/scripts/soscopy b/Security/sec/SOSCircle/CloudKeychainProxy/scripts/soscopy new file mode 100755 index 00000000..7e9b0d65 --- /dev/null +++ b/Security/sec/SOSCircle/CloudKeychainProxy/scripts/soscopy @@ -0,0 +1,13 @@ +#!/bin/zsh + +echo "10873 12873 15873" + +for port in "$@" +do + echo "Copying roots to port: $item" + RSYNC_PASSWORD=alpine rsync -av /tmp/security.roots.tgz rsync://root@localhost:$port/root/var/mobile/ + RSYNC_PASSWORD=alpine rsync -av /tmp/security.syms.tgz rsync://root@localhost:$port/root/var/mobile/ + RSYNC_PASSWORD=alpine rsync -av ~/bin/sosinstallroot rsync://root@localhost:$port/root/usr/local/bin/sosinstallroot + RSYNC_PASSWORD=alpine rsync -av /tmp/SyncedDefaults.roots.tgz rsync://root@localhost:$port/root/var/mobile/ +done +