!GczNDVOkmUAxrFFnCg:maralorn.de

❄️ Nix Da(rmstadt)

131 Members
Nächstes Treffen: 03.11.2025.(<https://md.darmstadt.ccc.de/nixda-202507>) | Dekoratives Systemmanagement. How dare you … wenn Nix hilft | Use `/roomnick` for silly sentiments. | https://nix-cheatsheet.pixie.homes72 Servers

Load older messages


SenderMessageTime
28 Apr 2026
@tom:dragar.deTom (SC-O-Mat when)* Vermutlich in viele Fällen der weniger schlimme Fall als dort wo es auf dem Papier Maintainer gibt 🙃😅06:16:36
@astreaprtcl:c-6.devAstreaprtcl awa, ich habe mich letztes Wochenende mal hingesetzt, um einen Wrapper/Helper für nix shell zu bauen, der die sich wiederholende tipparbeit entfernt,
also aus nix shell nixpkgs#clang nixpkgs#cmake nixpkgs#libx11 wird nsh clang,cmake,libx11
vielleicht hilft das irgendwelchen wesen hier (ja es ist ein overengineered shell alias und funktioniert leider nur mit nixpkgs, kann aber unterschiedliche nixos-branches wählen)
https://git.c-6.dev/astreaprtcl/nixos/-/blob/mistress/modules/programs/nsh.sh?ref_type=heads (shell script)
https://git.c-6.dev/astreaprtcl/overlay (c++ version)
08:53:01
@zitrone:utwente.iozitrone hab einfach mein nixpkgs "n" genannt
nix shell n#{clang,cmake,libx11}
ist mir kurz genug
08:56:20
@zitrone:utwente.iozitroneaber mehr sonderzeichen zu tippen ig08:56:48
@astreaprtcl:c-6.devAstreaprtcl fair :3 08:57:21
@atemu12:matrix.orgAtemu

Uhhh ich hab dazu kinda schon was flake-compat-kit implementiert ^^'

Ich sollte das echt mal pulishen..

10:53:25
@deraffe:matrix.orgderaffeJa, bitte.10:55:59
@atemu12:matrix.orgAtemuKeiner hat an den Git forge der Herzen gedacht 💔19:30:13
@atemu12:matrix.orgAtemuhttps://git.darmstadt.ccc.de/atemu/flake-compat-kit19:30:15
@atemu12:matrix.orgAtemu(Very WIP and not quite ready to use. Only use if you want to read the bash script to figure out what this does and how.)19:30:56
@hexa:lossy.networkhexaich denke regelmäßig an die updates19:38:30
@hexa:lossy.networkhexadas muss reichen19:38:33
30 Apr 2026
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/515023 hat das kernel update für stable (6.12.85)10:41:56
@atemu12:matrix.orgAtemu copy.fail kann uns sowieso nix!!1!

$ python /tmp/copy_fail_exp.py
Traceback (most recent call last):
  File "/tmp/copy_fail_exp.py", line 8, in <module>
    f=g.open("/usr/bin/su",0);i=0;e=zlib.decompress(d("78daab77f57163626464800126063b0610af82c101cc7760c0040e0c160c301d209a154d16999e07e5c1680601086578c0f0ff864c7e568f5e5b7e10f75b9675c44c7e56c3ff593611fcacfa499979fac5190c0c0c0032c310d3"))
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/su'

(/j)
11:03:57
@hexa:lossy.networkhexahab schon geranted, dass mal wieder niemand shutil.which nutzt11:04:36
@hexa:lossy.networkhexahatte auf vielen unstable hosts einfach schon 6.18.22 oder neuer11:04:52
@atemu12:matrix.orgAtemuUhm, btw. ich hab gehört wir haben seit neustem Root auf unserem shitty Android Tablet? :D11:06:21
@atemu12:matrix.orgAtemu(inb4 kernel ist zu alt um die vuln zu haben)11:06:46
@benjaminsparks:chat.alugha.appBen Sparksthe Python stdlib is truly a graveyard of massive proportions, aber shutil.which ist was gutes 😄11:07:36
@atemu12:matrix.orgAtemu Uhm, huh. o.o

$ python /tmp/copy_fail_exp.py
Traceback (most recent call last):
  File "/tmp/copy_fail_exp.py", line 8, in <module>
    f=g.open("/run/wrappers/bin/su",0);i=0;e=zlib.decompress(d("78daab77f57163626464800126063b0610af82c101cc7760c0040e0c160c301d209a154d16999e07e5c1680601086578c0f0ff864c7e568f5e5b7e10f75b9675c44c7e56c3ff593611fcacfa499979fac5190c0c0c0032c310d3"))
PermissionError: [Errno 13] Permission denied: '/run/wrappers/bin/su'
11:09:06
@hexa:lossy.networkhexadu darfst nur x, nicht r11:10:27
@hexa:lossy.networkhexader exploit will aber r11:10:32
@atemu12:matrix.orgAtemuRight11:11:13
@atemu12:matrix.orgAtemuSo NixOS not vulnerable?11:11:22
@atemu12:matrix.orgAtemuOder ist mein kernel einfach zu neu?11:11:35
@hexa:lossy.networkhexaes geht gar nicht um suid binaries11:11:42
@hexa:lossy.networkhexaes geht darum, dass du eine read confusion erzeugen kannst11:11:50
@hexa:lossy.networkhexaindem du mit dem page cache tamperst11:12:10
@atemu12:matrix.orgAtemuIch hab's mir noch nicht angeschaut, aber man braucht dann denke ich immernoch eine SUID binary?11:13:22
@hexa:lossy.networkhexadas ist ein möglicher effekt, den du offensichtlich damit erreichen kannst11:15:54

Show newer messages


Back to Room ListRoom Version: 6