Benign Download

minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/v8m10awvxkgwn9mh5qnhk06qv6ijg3yr-samba-4.20.8/lib/python3.12/site-packages/samba

Builds a domain SID from RIDHex decoding via int(x, 16)
SHA-256338c29a1be285b1c7a892f7996197d5e390c81100b24022b3283a42bbd0a5298
MaleculeH₂(DbOs)

Evidence

English function-word token "the" lines 1–8
1# backend code for upgrading from Samba3
2# Copyright Jelmer Vernooij 2005-2007
3# Copyright Andrew Bartlett 2011
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3 of the License, or
8# (at your …
English function-word token "that" lines 8–12
8:35… on.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTA …
English function-word token "have" lines 13–19
13:15… Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17#
18
19"""Support code for upgrading from Sa …
Hex decoding via int(x, 16) lines 325–342
⋯10 lines
335 version_id += 1
336
337 type = int(name.split("#", 1)[1], 16)
338
339 if type == 0x1C:
340 rType = 0x2
341 elif type & 0x80:
342 if len(ips) …
Builds a domain SID from RID lines 491–500
491:46… ()
492 except passdb.error:
493 raise Exception("Can't find domain sid for '%s', Exiting." % domainname)
494
495 # Get machine account, sid, rid
⋯5 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.