brandonlw/Psychson

stucked@buildproc......#2251-03

hanshaze opened this issue · 1 comments

i just found my old usb stick and tried to turn this into a BadUSB....

physon

`Volume: E:

Controller: Phison 2303 (2251-03)
Possible Memory Chip(s):
Toshiba TC58TEG6DDJTA00
Toshiba TC58TEG6DDKTA00
Toshiba TC58NVG6DDJTA00
Toshiba TC58TEG6DDJTAI0
Memory Type: MLC
Flash ID: 98DE9493 7651
Chip F/W: 05.01.10
Firmware Date: 2015-07-15
ID_BLK Ver.: 1.3.10.0
MP Ver.: MPALL v5.1.0D
VID: 13FE
PID: 5200
Manufacturer:
Product: Patriot Memory
Query Vendor ID:
Query Product ID: Patriot Memory
Query Product Revision: PMAP
Physical Disk Capacity: 7918845952 Bytes
Windows Disk Capacity: 7910490112 Bytes
Internal Tags: 2Q2P-SX9L
File System: FAT32
Relative Offset: 4032 KB
USB Version: 3.00 in 2.00 port
Declared Power: 300 mA
ContMeas ID: 64D9-01-00
Microsoft Windows 10 x64 Build 17134

http://www.antspec.com/usbflashinfo/
Program Version: 9.0.0.612
`

...seems compatible, so i downloaded the repo and tried to compile....

this ended up in a bunch of errors.....log below

PS C:\Users\dakra\Desktop\Psychson-master> ls


    Verzeichnis: C:\Users\dakra\Desktop\Psychson-master


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       05.10.2014     09:49                docs
d-----       25.05.2018     10:39                DriveCom
d-----       25.05.2018     12:52                EmbedPayload
d-----       25.05.2018     10:43                firmware
d-----       25.05.2018     12:55                Injector
d-----       25.05.2018     10:44                patch
d-----       05.10.2014     09:49                templates
d-----       25.05.2018     12:56                tools
------       05.10.2014     09:49            115 .gitignore
------       05.10.2014     09:49           1096 LICENSE
------       05.10.2014     09:49           8729 README.md


PS C:\Users\dakra\Desktop\Psychson-master> tools\DriveCom.exe /drive=E /action=DumpFirmware /burner=BN03V104M.BIN /firmware=fw.bin
Action specified: DumpFirmware
PS C:\Users\dakra\Desktop\Psychson-master> ls


    Verzeichnis: C:\Users\dakra\Desktop\Psychson-master


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       05.10.2014     09:49                docs
d-----       25.05.2018     10:39                DriveCom
d-----       25.05.2018     12:52                EmbedPayload
d-----       25.05.2018     10:43                firmware
d-----       25.05.2018     12:55                Injector
d-----       25.05.2018     10:44                patch
d-----       05.10.2014     09:49                templates
d-----       25.05.2018     12:56                tools
------       05.10.2014     09:49            115 .gitignore
-a----       25.05.2018     13:05         205824 fw.bin
------       05.10.2014     09:49           1096 LICENSE
------       05.10.2014     09:49           8729 README.md


PS C:\Users\dakra\Desktop\Psychson-master> tools\DriveCom.exe /drive=E /action=SendFirmware /burner=BN03V104M.BIN /firmware=fw.bin
Action specified: SendFirmware
Gathering information...
Reported chip type: 2303
Reported chip ID: 98-DE-94-93-76-51
Reported firmware version: 5.01.10
Mode: Firmware
Switching to boot mode...
FATAL: System.IO.FileNotFoundException: Die Datei "C:\Users\dakra\Desktop\Psychson-master\BN03V104M.BIN" konnte nicht gefunden werden.
Dateiname: "C:\Users\dakra\Desktop\Psychson-master\BN03V104M.BIN"
   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   bei System.IO.FileStream..ctor(String path, FileMode mode)
   bei DriveCom.Startup._ExecuteImage(String fileName) in C:\Users\dakra\Desktop\Psychson-master\DriveCom\DriveCom\Startup.cs:Zeile 398.
   bei DriveCom.Startup._SendFirmware() in C:\Users\dakra\Desktop\Psychson-master\DriveCom\DriveCom\Startup.cs:Zeile 378.
   bei DriveCom.Startup.Main(String[] args) in C:\Users\dakra\Desktop\Psychson-master\DriveCom\DriveCom\Startup.cs:Zeile 114.
PS C:\Users\dakra\Desktop\Psychson-master> ls


    Verzeichnis: C:\Users\dakra\Desktop\Psychson-master


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       05.10.2014     09:49                docs
d-----       25.05.2018     10:39                DriveCom
d-----       25.05.2018     12:52                EmbedPayload
d-----       25.05.2018     10:43                firmware
d-----       25.05.2018     12:55                Injector
d-----       25.05.2018     10:44                patch
d-----       05.10.2014     09:49                templates
d-----       25.05.2018     12:56                tools
------       05.10.2014     09:49            115 .gitignore
-a----       25.05.2018     13:05         205824 fw.bin
------       05.10.2014     09:49           1096 LICENSE
------       05.10.2014     09:49           8729 README.md


PS C:\Users\dakra\Desktop\Psychson-master>


**would be cool 
   if 
      someone has a quick solution 
          for 
                 this because i dont want to waste my time with hours of researching

......#30°C **