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
| # Copyright (C) 2015 KillerInstinct, Optiv, Inc. (brad.spengler@optiv.com) | |
| # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org | |
| # See the file 'docs/LICENSE' for copying permission. | |
| # Updated to Python 3 by envy | |
| import os | |
| import struct | |
| import hashlib | |
| from binascii import crc32 |
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
| // gcc -o test test.c -lm | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <math.h> | |
| static float data_to_4byte_float(uint8_t *data) | |
| { | |
| union { | |
| float f; |
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
| Output of a server with IDRAC 6: | |
| Temp | disabled | ns | |
| Temp | disabled | ns | |
| Temp | disabled | ns | |
| Ambient Temp | disabled | ns | |
| Temp | disabled | ns | |
| Ambient Temp | disabled | ns | |
| Ambient Temp | 23 degrees C | ok | |
| Planar Temp | disabled | ns | |
| CMOS Battery | 0x00 | ok |
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
| #include <stdio.h> | |
| /* | |
| * This program checks SGX availability by checking CPUID | |
| * Relevant spec sections: 1.7 (and 1.7.1 and 1.7.2) | |
| * 2015-08-14 Nico Weichbrodt | |
| */ | |
| /* | |
| * Helper function for CPUID querying |
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
| using System; | |
| using System.Linq; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| namespace objCleaner | |
| { | |
| internal class Program | |
| { | |
| private static void Main(string[] args) |