Linux box325.rapidenet.ca 5.14.0-687.25.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 13 11:40:33 EDT 2026 x86_64
LiteSpeed
Server IP : 68.168.116.250 & Your IP : 216.73.216.215
Domains :
Cant Read [ /etc/named.conf ]
User : protectionrat
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python3.9 /
site-packages /
borg /
testsuite /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-04-07 04:02
__init__.py
14.17
KB
-rw-r--r--
2026-03-29 11:46
archive.py
11.77
KB
-rw-r--r--
2026-03-29 11:46
archiver.py
247.53
KB
-rw-r--r--
2026-03-29 11:46
attic.tar.gz
2.76
KB
-rw-r--r--
2026-03-29 11:46
benchmark.py
2.87
KB
-rw-r--r--
2026-03-29 11:46
cache.py
9.04
KB
-rw-r--r--
2026-03-29 11:46
checksums.py
1.68
KB
-rw-r--r--
2026-03-29 11:46
chunker.py
6.08
KB
-rw-r--r--
2026-03-29 11:46
chunker_pytest.py
5.29
KB
-rw-r--r--
2026-03-29 11:46
chunker_slow.py
1.5
KB
-rw-r--r--
2026-03-29 11:46
compress.py
8.72
KB
-rw-r--r--
2026-03-29 11:46
crypto.py
6.65
KB
-rw-r--r--
2026-03-29 11:46
efficient_collection_queue.py
1.57
KB
-rw-r--r--
2026-03-29 11:46
file_integrity.py
6.15
KB
-rw-r--r--
2026-03-29 11:46
hashindex.py
20.17
KB
-rw-r--r--
2026-03-29 11:46
hashindex_stress.py
1.14
KB
-rw-r--r--
2026-03-29 11:46
helpers.py
49.67
KB
-rw-r--r--
2026-03-29 11:46
item.py
4.48
KB
-rw-r--r--
2026-03-29 11:46
key.py
19.72
KB
-rw-r--r--
2026-03-29 11:46
locking.py
13.4
KB
-rw-r--r--
2026-03-29 11:46
logger.py
1.54
KB
-rw-r--r--
2026-03-29 11:46
lrucache.py
1.4
KB
-rw-r--r--
2026-03-29 11:46
nanorst.py
1008
B
-rw-r--r--
2026-03-29 11:46
nonces.py
7.02
KB
-rw-r--r--
2026-03-29 11:46
patterns.py
16.96
KB
-rw-r--r--
2026-03-29 11:46
platform.py
8.52
KB
-rw-r--r--
2026-03-29 11:46
remote.py
6.28
KB
-rw-r--r--
2026-03-29 11:46
repository.py
47.31
KB
-rw-r--r--
2026-03-29 11:46
shellpattern.py
3.09
KB
-rw-r--r--
2026-03-29 11:46
upgrader.py
6.74
KB
-rw-r--r--
2026-03-29 11:46
version.py
1.76
KB
-rw-r--r--
2026-03-29 11:46
xattr.py
3.28
KB
-rw-r--r--
2026-03-29 11:46
Save
Rename
from hashlib import sha256 from io import BytesIO from binascii import unhexlify from .chunker import cf from ..chunker import Chunker from ..constants import * # NOQA from . import BaseTestCase def H(data): return sha256(data).digest() class ChunkerRegressionTestCase(BaseTestCase): def test_chunkpoints_unchanged(self): def twist(size): x = 1 a = bytearray(size) for i in range(size): x = (x * 1103515245 + 12345) & 0x7FFFFFFF a[i] = x & 0xFF return a data = twist(100000) runs = [] for winsize in (65, 129, HASH_WINDOW_SIZE, 7351): for minexp in (4, 6, 7, 11, 12): for maxexp in (15, 17): if minexp >= maxexp: continue for maskbits in (4, 7, 10, 12): for seed in (1849058162, 1234567653): fh = BytesIO(data) chunker = Chunker(seed, minexp, maxexp, maskbits, winsize) chunks = [H(c) for c in cf(chunker.chunkify(fh, -1))] runs.append(H(b''.join(chunks))) # The "correct" hash below matches the existing chunker behavior. # Future chunker optimisations must not change this, or existing repos will bloat. overall_hash = H(b''.join(runs)) self.assert_equal(overall_hash, unhexlify("a43d0ecb3ae24f38852fcc433a83dacd28fe0748d09cc73fc11b69cf3f1a7299"))