Graham
b53149ce6b
Add RuneLite plugin for collecting XTEA keys
...
The API endpoint isn't always updated immediately, so this is useful for
gathering keys semi-manually if they're needed more urgently.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
346302fc05
Add API endpoint for receiving keys
...
Keys are now initially imported into a key_queue table, which is never
locked exclusively - allowing the API endpoint to function while the
brute forcer is running. The brute forcer moves all pending keys in the
queue to the keys table before running the actual brute forcing.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
df55c3ece3
Fix reconnection on client-side timeouts in the JS5 client
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
3ce76abde7
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
6bfdb07f42
Update comment to confirm the guess was correct
...
Verified against three different build 919 master indexes signed by
Jagex.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
84a43e9fbe
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
8a3b1dff73
Fix off-by-one error in JS5 response buffer capacity calculation
...
In some cases the capacity would be one byte greater than necessary.
I've added a comment explaining why the calculation works and a unit
test that ensures it is calculated correctly for all lengths between 1
and 511*3+1 bytes.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
469fe2eecc
Add environment and language columns to the caches table
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
bc51a68cb3
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
adc1138ca4
Convert packclass try/catch count to an unsigned short smart
...
This fixes compatibility with very modern packclass files.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
211041ab6d
Update support build list
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
3b4fcad8f4
Add link to RuneWiki
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
334424e57a
Fix addMasterIndex()
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
f4ae5540d7
Skip version list entries with a version of zero
...
The client uses these to indicate files that don't exist.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
0cf1881db4
Rename 'Indexes' column to 'Archives'
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
ab964a2b1f
Skip corrupt files when importing a legacy cache
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
f079c415f5
Add initial support for archiving legacy caches
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
ebfe01e4c4
Make executeOnce public
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
2eaba6a680
Fix cache size calculation
...
It didn't take the 2 byte version trailer into account previously.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
39d2ad7ee3
Fix ByteBuf leak
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
8448f74b3c
Add ChecksumTable and VersionList classes
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
007f7d68ef
Add legacy cache support to DiskStoreZipWriter
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
cad6e10eee
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
ab2c56f0af
Set HttpClient timeouts
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
be1f293b0a
Use multi-line comment
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
ac9dc83031
Rename legacyData to legacy and make it public
...
This will be useful for determining if a cache is 3xx or JS5 when
importing it in the archiving service.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
64aa0049ef
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a12aafe608
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
046ccbc2c9
Optimize the master_index_stats view
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
26c6ad21e3
Add class for reading and writing .jag archives
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
3734d4709b
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
02f35fd014
Fix legacy DiskStore support
...
The archive IDs are offset by one in a legacy main_file_cache.dat cache.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
b1c3cbc7e3
Format libs.versions.toml
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
407aff8dd8
Add support for .dat (instead of .dat2) file to DiskStore
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
f38253f2fc
Add else branch to non-exhaustive when statements
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
5cbaf55dd6
Add hash function used by pre-JS5 caches
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
de1ea8bc6f
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
547cc95580
Refactor more code
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
5e82f5dcc0
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
1efa370fdd
Reconnect to the JS5 server if we lose connection while parsing indexes
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
20868a39ad
Fix warnings in CacheExporter
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
09d3b6dbbf
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
2a6ffa87a6
Fix elvis operator on non-nullable type warning
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
3368818ca1
Download names from Polar's fork of RuneStar
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a5b35ae9c3
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
eac114884b
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
405603f2f4
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
f0cd4afcf0
Add sorting and filtering to the caches table
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
76ad27a380
Add junit-platform-launcher dependency
...
Doesn't seem to be bundled with the latest version of IDEA.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
0ff6287122
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago