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
| $ cat preferences.js | |
| pref("app.update.url", "http://url.com/update.xml"); | |
| pref("app.update.url.manual", "http://url.com/manual"); | |
| $ perl -i~ -pe 's{pref("app.update.url", "http://url.com/update.xml");}{pref("app.update.url", "http://custom.edu/update.xml");}g' preferences.js | |
| $ cat preferences.js* | |
| pref("app.update.url", "http://url.com/update.xml"); | |
| pref("app.update.url.manual", "http://url.com/manual"); | |
| pref("app.update.url", "http://url.com/update.xml"); | |
| pref("app.update.url.manual", "http://url.com/manual"); |
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
| #!/usr/bin/python | |
| # | |
| # Payload free package to create a user on a 10.7 system. | |
| import sys | |
| import os | |
| import re | |
| import time | |
| import subprocess |
NewerOlder