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
echo -----BEGIN CERTIFICATE----- > encoded.txt | |
echo Just Base64 encode your binary data | |
echo TVoAAA== >> encoded.txt | |
echo -----END CERTIFICATE----- >> encoded.txt | |
certutil -decode encoded.txt decoded.bin |
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
# Start the Volume Shadow Service | |
C:\bak>cscript vssown.vbs /start | |
Microsoft (R) Windows Script Host Version 5.8 | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
[*] Signal sent to start the VSS service. | |
# Create a Volument Shadow Copy, C is the drive where the files reside, this may not always be C |
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
import subprocess | |
import smtplib | |
import socket | |
from email.mime.text import MIMEText | |
import datetime | |
# Change to your own account information | |
to = '<your number>@txt.att.net ' | |
gmail_user = '' | |
gmail_password = '' | |
smtpserver = smtplib.SMTP('smtp.gmail.com', 587) |
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 | |
PERM_USER=nobody | |
PERM_GROUP=dev | |
APACHE_USER=apache | |
if [ $# -ne 1 ] ; then | |
echo "USAGE $0 <d7 root dir>" | |
exit; | |
fi |
NewerOlder