diff --git a/USBvalve/USBvalve.ino b/USBvalve/USBvalve.ino index 3daf0bc..a8693df 100644 --- a/USBvalve/USBvalve.ino +++ b/USBvalve/USBvalve.ino @@ -84,7 +84,8 @@ boolean written_reported = false; // // Set USB IDs strings and numbers, to avoid possible detections. // Remember that you can cusotmize FAKE_DISK_BLOCK_NUM as well -// for the same reason. +// for the same reason. Also DISK_LABEL in ramdisk.h can be changed. +// // You can see here for inspiration: https://the-sz.com/products/usbid/ // // Example: diff --git a/USBvalve/ramdisk.h b/USBvalve/ramdisk.h index b27bd7f..7b9e871 100644 --- a/USBvalve/ramdisk.h +++ b/USBvalve/ramdisk.h @@ -35,9 +35,15 @@ // README.TXT // System Volume Information // + +// Keep 11 chars +#define DISK_LABEL 'M', 'y', 'D', 'r', 'i', 'v', 'e', ' ', ' ', ' ', ' ' + +// Do not change this here, it is just for reference #define README_CONTENTS \ "...nuke the entire site from orbit. It's the only way to be sure." +// Do not change this here, it is just for reference #define AUTORUN_CONTENTS \ "[autorun]\r\nopen=calc.exe\r\nicon=icon.ico\r\n" @@ -134,7 +140,7 @@ uint8_t msc_disk[DISK_BLOCK_NUM][DISK_BLOCK_SIZE] = { }, { //------------- Block 7: -------------// -0x55, 0x53, 0x42, 0x56, 0x41, 0x4c, 0x56, 0x45, 0x20, 0x20, 0x20, 0x08, 0x00, 0x00, 0xaf, 0x60, +DISK_LABEL, 0x08, 0x00, 0x00, 0xaf, 0x60, 0x6d, 0x55, 0x6d, 0x55, 0x00, 0x00, 0xaf, 0x60, 0x6d, 0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x55, 0x54, 0x4f, 0x52, 0x55, 0x4e, 0x20, 0x49, 0x4e, 0x46, 0x20, 0x00, 0x9d, 0xef, 0x58, 0x6d, 0x55, 0x6b, 0x55, 0x00, 0x00, 0xef, 0x58, 0x6d, 0x55, 0x60, 0x00, 0x2a, 0x00, 0x00, 0x00,