Skip to content

Instantly share code, notes, and snippets.

$ErrorActionPreference = 'Stop';
$packageName= 'netscan'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://www.softperfect.com/download/freeware/netscan.zip'
$url64 = 'https://www.softperfect.com/download/freeware/netscan.zip'
$specificFolder = '32-bit'
if (Get-ProcessorBits 64) {
$specificFolder = '64-bit'
}
<?xml version="1.0" encoding="utf-8"?>
<AdminArsenal.Export Code="PDQDeploy" Name="PDQ Deploy" Version="7.1.0.0" MinimumVersion="3.1">
<Package>
<Description></Description>
<FolderId value="null" />
<Name>Outlook 2010 (KB3114409) Safe Mode Fix</Name>
<Path>Outlook 2010 (KB3114409) Safe Mode Fix</Path>
<Version></Version>
<PackageDefinition name="Definition">
<CopyMode>Default</CopyMode>
@digitalcardboard
digitalcardboard / rkhunter-after.sh
Created May 24, 2012 16:33
rkhunter 1.3.8 hidden file patch
#
# Now test for the different file types.
#
if [ -f "${FNAME}" ]; then
case "${OPT_NAME}" in
ALLOWHIDDENDIR|TMPDIR|DBDIR|BINDIR|SCRIPTDIR|ROOTDIR|SSH_CONFIG_DIR|SUSPSCAN_DIRS|SUSPSCAN_TEMP)
ERRCODE=1
test $CONFIG_CHECK -eq 1 && RET_CODE=1
echo "Invalid ${OPT_NAME} configuration option: Not a directory: ${FNAME}"
# create a new cron job (crontab -e) or use panel.dreamhost.com and run it daily
0 0 * * * /home/<your_account>/opt/bin/logrotate -f -s /home/<your_account>/opt/lib/logrotate.status /home/<your_account>/opt/etc/logrotate.conf