wget https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/8-07-14_MegaCLI.zip
unzip 8-07-14_MegaCLI.zip
''' | |
Author : Debasish Mandal | |
Blog :http://www.debasish.in/ | |
Twitter : https://twitter.com/debasishm89 | |
A mutation based user mode (ring3) dumb in-memory IOCTL Fuzzer/Logger. | |
This script attach it self to any given process and hooks DeviceIoControl!Kernel32 API and | |
try to log or fuzz all I/O Control code I/O Buffer pointer, I/O buffer length that | |
process sends to any Kernel driver. |
Error Code Error Code NT Status Description | |
0x00000000 0x00000000 NT_STATUS_OK “The operation completed successfully.” | |
0xC0000001 0x0000001f NT_STATUS_UNSUCCESSFUL “A device attached to the system is not functioning.” | |
0xC0000002 0x00000001 NT_STATUS_NOT_IMPLEMENTED “Incorrect function.” | |
0xC0000003 0x00000057 NT_STATUS_INVALID_INFO_CLASS “The parameter is incorrect.” | |
0xC0000004 0x00000018 NT_STATUS_INFO_LENGTH_MISMATCH “The program issued a command but the command length is incorrect.” | |
0xC0000005 0x000003e6 NT_STATUS_ACCESS_VIOLATION “Invalid access to memory location.” | |
0xC0000006 0x000003e7 NT_STATUS_IN_PAGE_ERROR “Error performing inpage operation.” | |
0xC0000007 0x000005ae NT_STATUS_PAGEFILE_QUOTA “Insufficient quota to complete the requested service.” |
Copyright (c) <DATE>, <AUTHOR NAME> | |
All rights reserved. | |
Redistribution and use in bytecode or binary forms, without modification, | |
are permitted provided that the following conditions are met: | |
* Redistributions in bytecode or binary form must reproduce the above | |
copyright notice, this list of conditions and the following disclaimer | |
in the documentation and/or other materials provided with the | |
distribution. |
Firstly, what is <details>
<summary>
?
The HTML Details Element (
<details>
) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label can be provided using the<summary>
element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details.
function Compress-Data | |
{ | |
<# | |
.Synopsis | |
Compresses data | |
.Description | |
Compresses data into a GZipStream | |
.Link | |
Expand-Data | |
.Link |
// cl.exe xbox_test.c /link setupapi.lib user32.lib | |
#include <windows.h> | |
#include <setupapi.h> | |
#include <dbt.h> | |
#include <stdio.h> | |
/// interface | |
#define XBOX_MAX_CONTROLLERS 16 |
//-------------------------------------------------------------------------------- | |
// Report descriptor data in hex (length 262 bytes) | |
//-------------------------------------------------------------------------------- | |
// 05010905 A101A100 09300931 150027FF FF000095 02751081 02C0A100 09330934 | |
// 150027FF FF000095 02751081 02C00501 09321500 26FF0395 01750A81 02150025 | |
// 00750695 01810305 01093515 0026FF03 9501750A 81021500 25007506 95018103 | |
// 05091901 290A950A 75018102 15002500 75069501 81030501 09391501 25083500 |
<?xml version="1.0"?> | |
<!-- | |
DualSense (DS5) USB HID Report Descriptor | |
Documentation WIP | |
TODO: Extract info from hid-playstation and cross-verify with us. | |
--> |
#include <Windows.h> | |
#include <avrt.h> | |
#include <string> | |
#include <sstream> | |
#include <initguid.h> | |
#include <Mmdeviceapi.h> | |
#include <audioclient.h> |