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
<?php | |
function random_string($max = 20){ | |
$chars = "abcdefghijklmnopqrstuvwxwz0123456789"; | |
for($i = 0; $i < $max; $i++){ | |
$rand_key = mt_rand(0, strlen($chars)); | |
$string .= substr($chars, $rand_key, 1); | |
} | |
return str_shuffle($string); | |
} |
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
IHDR | |
bKGD | |
pHYs | |
IDATx | |
vZq7 | |
5k~h | |
... cut for brevity. | |
w{u7 |
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/env python | |
import sys, time, os, shelve, hashlib | |
from cuckoo.core.db import CuckooDatabase | |
MALWARE_DIR = "/Users/zwned/Dropbox/malware/" | |
SLEEP_TIME = 60 | |
HISTORY_FILE = "cuckooMon_hist" |
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 << EOF | tee /etc/sysconfig/clock | |
ZONE="US/Eastern" | |
UTC=false | |
ARC=false | |
EOF | |
rm -f /etc/localtime | |
ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime | |
cat << EOF | tee /etc/ntp.conf |
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
brew install fuse4x | |
brew install ntfs-3g | |
sudo brew link ntfs-3g | |
sudo cp -rfX /usr/local/Cellar/fuse4x-kext/0.8.13/Library/Extensions/fuse4x.kext /System/Library/Extensions | |
sudo chmod +s /System/Library/Extensions/fuse4x.kext/Support/load_fuse4x | |
sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.orig | |
sudo touch /sbin/mount_ntfs |
NewerOlder