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
| ########## | |
| # Tweaked Win10 Initial Setup Script | |
| # Primary Author: Disassembler <disassembler@dasm.cz> | |
| # Original Version: 1.4, 2016-01-16 | |
| # Tweaked based on personal preferences for @alirobe 2016-03-23 - v1.4.1 | |
| # NOTE: MAKE SURE YOU READ THIS SCRIPT CAREFULLY BEFORE RUNNING IT + ADJUST COMMENTING AS APPROPRIATE | |
| # This script will reboot your machine when completed. | |
| ########## | |
| # Ask for elevated permissions if required |
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 | |
| # -*- coding: utf-8 -*- | |
| # | |
| # This script dumps the content of a shared memory block | |
| # used by Linux/Cdorked.A into a file named httpd_cdorked_config.bin | |
| # when the machine is infected. | |
| # | |
| # Some of the data is encrypted. If your server is infected and you | |
| # would like to help, please send the httpd_cdorked_config.bin | |
| # to our lab for analysis. Thanks! |
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
| #!/bin/ksh | |
| # B. Garlock - 12Sep11. GPL license. Get yesterday, and last weeks date and print them out. | |
| set -A DAYS Sat Sun Mon Tue Wed Thu Fri Sat | |
| set -A MONTHS Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec | |
| YESTERDAY=$((`date +%d` -1)) | |
| LASTWEEK=$((`date +%d` -7)) | |
| MONTH=`date +%m` | |
| YEAR=`date +%Y` | |
| NDAY=`date +%u` |