Commit graph

400 commits

Author SHA1 Message Date
Sam Carlton
16fdd159a9 Add getArrayBufferFromFileData function 2022-08-21 08:45:55 -05:00
Sam Carlton
e5b3ba3d9e Trim readFile error message 2022-08-21 08:45:04 -05:00
Sam Carlton
fa156c3733 Use getZipFileReader on readFileBlob 2022-08-21 08:44:36 -05:00
Sam Carlton
ff8e07e11a Add getZipFileReader method 2022-08-21 08:43:04 -05:00
Sam Carlton
3f238dfd4e Add loadFile method 2022-08-21 08:42:32 -05:00
Sam Carlton
c883fe85d6 Message extraction start 2022-08-20 22:38:15 -05:00
Sam Carlton
6d0fafd041 Throw for falsy fileArrayBuffer 2022-08-20 21:35:57 -05:00
Sam Carlton
0cfb9efe29 Catch zipReader errors 2022-08-20 21:35:26 -05:00
Sam Carlton
ada3aec3f6 Make worker self.onmessage into classic function 2022-08-20 21:35:02 -05:00
Sam Carlton
8b15f2580b Pass all message details through receivers 2022-08-20 21:34:29 -05:00
Sam Carlton
c2021fe6fd Fix v2 scans timing out after finishing 2022-08-07 16:07:30 -05:00
Sam Carlton
9e1a7c0158 Fix scan page not receiving v2 messages 2022-08-07 16:07:01 -05:00
Sam Carlton
c79603b361 Fix scan not receiving from Worker 2022-08-07 16:06:26 -05:00
Sam Carlton
6b08545081 Fix data not transferring into Worker 2022-08-07 16:05:43 -05:00
Sam Carlton
f73635de08 Make scan finish verbiage more consistent 2022-08-07 16:03:47 -05:00
Sam Carlton
dcf0a3a265 Use runScanWorker for v2 scan 2022-08-07 15:15:01 -05:00
Sam Carlton
6de839a6d6 Make scan imports relative for Worker compat 2022-08-07 15:13:56 -05:00
Sam Carlton
d37603fcd5 Move scan business login into scan file 2022-08-07 14:33:58 -05:00
Sam Carlton
f82e47c4b6 Put scan steps into single method 2022-08-07 14:19:40 -05:00
Sam Carlton
9ec294c629 Remove undefined arg 2022-08-07 14:18:14 -05:00
Sam Carlton
e3af5f7bb8 Add Scan Worker 2022-08-07 14:18:00 -05:00
Sam Carlton
b857977fbe Reenable V2 Scanner 2022-07-27 21:25:49 -05:00
Sam Carlton
e008ad7ddf Reenable MachoNode 2022-07-27 21:25:36 -05:00
Sam Carlton
3be1dd52a7 Try importing buffer index
# Conflicts:
#	helpers/scanner/client.mjs
2022-07-26 23:25:27 -05:00
Sam Carlton
3ee6a8c13e Remove big int import 2022-07-26 21:31:51 -05:00
Sam Carlton
df266d7760 Use native BigInt
# Conflicts:
#	helpers/scanner/parsers/plist.js
2022-07-26 21:28:44 -05:00
Sam Carlton
f22bfe4d03 Import zip.js at top 2022-07-22 12:20:12 -05:00
Sam Carlton
0d50f7a70a Wrap scan steps in try catch 2022-07-22 12:19:55 -05:00
Sam Carlton
f717f4bf22 Import parseMacho normally 2022-07-22 00:07:35 -05:00
Sam Carlton
9e16769fa5 Disable v2 scanner 2022-07-21 22:57:41 -05:00
Sam Carlton
65692733f2 Try disabling MachoNode 2022-07-21 22:47:02 -05:00
Sam Carlton
07ee8760b5 Rebuild endian-reader as class 2022-07-21 22:42:26 -05:00
Sam Carlton
622856cacb Move pretty bytes with other modules 2022-07-21 22:15:56 -05:00
Sam Carlton
4004ac2002 Use standard import for zip.js 2022-07-21 21:57:20 -05:00
Sam Carlton
ca58913ccc Convertr scanner client to mjs 2022-07-21 21:52:12 -05:00
Sam Carlton
78f3b7a04a Enable new scan with version 2 query parameter 2022-07-21 21:48:21 -05:00
Sam Carlton
01d0ba8dbf Fix missing function 2022-07-21 21:47:38 -05:00
Sam Carlton
f499b3eecb Log parser start 2022-07-21 21:31:21 -05:00
Sam Carlton
62a5b430e1 Continue on parser fail 2022-07-21 21:31:14 -05:00
Sam Carlton
d7112ae322 FIx File proccessing for Browser and Node 2022-07-21 21:30:50 -05:00
Sam Carlton
7f9d891ab7 Import MachoManic Magics to determine bits 2022-07-21 21:17:45 -05:00
Sam Carlton
127c37c52e Use Buffer directly for macho parser 2022-07-21 20:28:14 -05:00
Sam Carlton
d17ec1c23b Import Buffer directly 2022-07-21 19:54:54 -05:00
Sam Carlton
44eef3d075 Switch back to imported buffer 2022-07-21 19:52:32 -05:00
Sam Carlton
7fa813fcac Comment Magic types 2022-07-21 19:49:43 -05:00
Sam Carlton
fae37c476b Add context to FileBlob 2022-07-21 18:47:34 -05:00
Sam Carlton
e161af18cf Trim error messages 2022-07-19 22:27:49 -05:00
Sam Carlton
c04da29933 User local MachoNode 2022-07-19 22:27:37 -05:00
Sam Carlton
5bce0c5dc3 Move makeFileBuffer logic to function 2022-07-19 22:26:19 -05:00
Sam Carlton
15ddc6c4b8 Add MachoNode locally 2022-07-19 22:24:49 -05:00