Created
December 1, 2014 06:19
-
-
Save warewolf/7fa5ca67d0f661811dbb to your computer and use it in GitHub Desktop.
Phison configuration setting payloads
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
| NOTE: RUNNING THIS WITH THE PAYLOADS IN THIS GIST WILL BREAK YOUR THUMB DRIVE. | |
| Undump the above hexdumps to payload.bin, then as root: | |
| # sg_raw -i payload.bin /dev/sg3 06 06 01 00 00 00 00 00 00 00 00 00 | |
| One of these variants sets a 4gb thumb drive w/ one public partition. The other sets a split public/private that had ~ 128mb split .. somewhere. |
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
| 0000000: 1201 0002 0000 0040 c3be 13c3 bf41 0001 [email protected].. | |
| 0000010: 0102 0301 0403 0904 0000 0000 0000 0000 ................ | |
| 0000020: 0000 0000 0000 0000 0000 0000 0000 0203 ................ | |
| 0000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 0000040: 0000 0000 0000 0000 1203 5553 4220 4449 ..........USB DI | |
| 0000050: 534b 0000 0000 0000 0000 0000 0000 0000 SK.............. | |
| 0000060: 0000 2203 3030 3731 3030 4232 3330 4130 ..".007100B230A0 | |
| 0000070: 3230 3730 4630 3030 4630 3630 3030 3030 2070F000F0600000 | |
| 0000080: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | |
| 0000090: 3030 3030 3030 0000 0000 0000 0000 5553 000000........US | |
| 00000a0: 4220 4449 534b 2020 2020 2020 2020 0300 B DISK .. | |
| 00000b0: 000b 2020 2020 2020 2020 504d 4150 3100 .. PMAP1. | |
| 00000c0: c38b 0000 c3bf c3bf c3bf 5068 4973 4f6e ..........PhIsOn | |
| 00000d0: 0007 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00000e0: 000d 0c71 0303 0000 0000 0000 0000 0000 ...q............ | |
| 00000f0: 0000 0000 0000 0000 0000 4cc2 8000 0000 ..........L..... | |
| 0000100: 0000 0000 0064 6464 640f c390 0000 0100 .....dddd....... | |
| 0000110: 0000 0001 c2a0 c2a1 0000 0000 0000 0000 ................ | |
| 0000120: 0000 00c3 93c3 aec3 ba00 c2a5 0000 c3ac ................ | |
| 0000130: 0000 0000 0000 0000 0000 0000 0000 c3bf ................ | |
| 0000140: c2a0 c2a0 0000 0000 0000 0000 0000 0000 ................ | |
| 0000150: 0000 0000 0000 0000 0000 0000 c380 0000 ................ | |
| 0000160: 0371 0c01 0237 0000 0000 0000 0000 0000 .q...7.......... | |
| 0000170: 0000 0000 0000 0010 c39a 7835 0000 0000 ..........x5.... | |
| 0000180: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 0000190: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001a0: 0000 0000 4100 0000 0000 0000 0000 0000 ....A........... | |
| 00001b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 0000200: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 0000210: 006f c2bd c380 0a .o..... |
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
| 0000000: 1201 0002 0000 0040 c3be 13c3 bf3e 0001 .......@.....>.. | |
| 0000010: 0102 0301 0403 0904 0000 0000 0000 0000 ................ | |
| 0000020: 0000 0000 0000 0000 0000 0000 0000 0203 ................ | |
| 0000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 0000040: 0000 0000 0000 0000 1203 5553 4220 4449 ..........USB DI | |
| 0000050: 534b 0000 0000 0000 0000 0000 0000 0000 SK.............. | |
| 0000060: 0000 2203 3031 3742 3030 3234 3330 4130 ..".017B002430A0 | |
| 0000070: 4430 3630 4630 3430 4530 3430 3030 3030 D060F040E0400000 | |
| 0000080: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000 | |
| 0000090: 3030 3030 3030 0000 0000 0000 0000 5553 000000........US | |
| 00000a0: 4220 4449 534b 2020 2020 2020 2020 0700 B DISK .. | |
| 00000b0: 0002 2020 2020 2020 2020 504d 4150 0000 .. PMAP.. | |
| 00000c0: 0000 0cc3 bfc3 bfc3 bf50 6849 734f 6e00 .........PhIsOn. | |
| 00000d0: 0700 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00000e0: 0d10 6303 0100 0000 0000 0000 0000 0000 ..c............. | |
| 00000f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 0000100: 0000 0064 6464 640f c390 0001 0200 0000 ...dddd......... | |
| 0000110: 0001 c2a1 c2a2 c38d 0000 0000 0000 0000 ................ | |
| 0000120: 0000 c393 0032 00c2 a500 00c3 ac00 0000 .....2.......... | |
| 0000130: 0000 0000 0000 0000 0000 00c3 bfc2 a0c2 ................ | |
| 0000140: a000 0000 00c2 bd00 0000 0000 0000 0000 ................ | |
| 0000150: 0000 0000 0000 0000 0000 c380 0000 0363 ...............c | |
| 0000160: 1001 0232 0000 0000 0000 0000 0000 0000 ...2............ | |
| 0000170: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 0000180: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 0000190: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001a0: 0041 0000 0000 0000 0000 0000 0000 0000 .A.............. | |
| 00001b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 00001f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................ | |
| 0000200: 0000 0000 0000 0000 0000 0000 0000 1dc3 ................ | |
| 0000210: 8000 0a ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment