#
…

2021-01-07

00:36ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:48ransom has joined #asahi-dev
01:14qyousef has joined #asahi-dev
01:30rbenua has joined #asahi-dev
01:59KarboniteKream has joined #asahi-dev
02:54aratuk has joined #asahi-dev
03:02thecake21[m] has joined #asahi-dev
03:04blazra[m] is now known as blazra
03:09blazra has quit [Quit: authenticating]
03:10blazra has joined #asahi-dev
03:30awordnot0 has joined #asahi-dev
03:31awordnot has quit [Read error: Connection reset by peer]
03:31awordnot0 is now known as awordnot
03:54wiloon has joined #asahi-dev
03:54wiloon_ has quit []
04:33KarboniteKream has quit [Ping timeout: 256 seconds]
04:55browzing has quit [Ping timeout: 256 seconds]
05:21browzing has joined #asahi-dev
05:26browzing has quit [Ping timeout: 246 seconds]
05:33ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:56browzing has joined #asahi-dev
06:01KarboniteKream has joined #asahi-dev
06:02browzing has quit [Ping timeout: 272 seconds]
06:15browzing has joined #asahi-dev
06:20browzing has quit [Ping timeout: 256 seconds]
06:40awordnot has quit [Quit: The Lounge - https://thelounge.chat]
07:07awordnot has joined #asahi-dev
07:25KarboniteKream has quit [Ping timeout: 260 seconds]
08:04KarboniteKream has joined #asahi-dev
08:27aratuk has quit [Remote host closed the connection]
08:46bear24rw has quit [Remote host closed the connection]
08:47bear24rw has joined #asahi-dev
08:52bear24rw has quit [Ping timeout: 246 seconds]
09:05aratuk has joined #asahi-dev
09:05aratuk has quit [Client Quit]
09:15bear24rw has joined #asahi-dev
09:21aratuk has joined #asahi-dev
09:39_whitelogger has joined #asahi-dev
10:17browzing has joined #asahi-dev
10:21browzing has quit [Ping timeout: 240 seconds]
10:27ts170[m] has joined #asahi-dev
10:43zopieux has joined #asahi-dev
10:53bear24rw has quit [Remote host closed the connection]
11:00Mary_ has joined #asahi-dev
11:03bear24rw has joined #asahi-dev
11:08bear24rw has quit [Ping timeout: 264 seconds]
11:08jinen[m] has joined #asahi-dev
12:16Brnocrist has joined #asahi-dev
12:16keystone[m] has left #asahi-dev ["User left"]
12:17konstater has joined #asahi-dev
12:22flying_sausages has joined #asahi-dev
12:24Jamie[m]2 has joined #asahi-dev
12:25j`eymarcan: I dont get how this feeder thing connects to the mac?
12:37plainbits has joined #asahi-dev
12:52delroth[m]marcan: some of the .py compare that URL with "" and some with b""
12:52delroth[m]I wouldn't be surprised if you had some Py3 brokenness
12:54delroth[m]just nix-shell -p python2Packages.pyserial :>
13:07sharpiro has quit [Ping timeout: 264 seconds]
13:07dagb has joined #asahi-dev
13:10alexanderwillner has joined #asahi-dev
13:15mah has joined #asahi-dev
13:36jn__does the keycode 00 act as a key release event?
13:36jn__ / keypress 00
13:45mah has quit [Ping timeout: 264 seconds]
13:51j`eymarcan: i forgot what you were curl-ing with this script
13:59jn__probably whatever commands will be useful to run in recovery mode
14:00j`eyjn__: I wondered about the particulars :P
14:00aratuk has joined #asahi-dev
14:01jn__fair enough
14:16aratuk has quit [Remote host closed the connection]
14:24riker77 has quit [Quit: Quitting IRC - gone for good...]
14:36artemistmarcan: you could put `UsePrivilegeSeparation no` in the sshd config file
14:36artemistugggggggh
14:39mah has joined #asahi-dev
14:40ceph3us has joined #asahi-dev
14:50j`eydscl . -list /Users on my intel mac shows _sshd
14:53KindOne has joined #asahi-dev
14:54ceph3us has quit [Remote host closed the connection]
15:01ceph3us has joined #asahi-dev
15:02ceph3usyeah it turns out i'm a fool and i was actually ssh-d into a linux machine at the time >_>
15:02ceph3usshould have double checked that
15:02mah is now known as mch
15:03mch is now known as mah
15:03mah has quit [Quit: Leaving]
15:03Pluggi has joined #asahi-dev
15:10plainbits has quit [Quit: Go to sleep. Night!]
15:29Axenntio has joined #asahi-dev
15:29Axenntio has quit [Client Quit]
15:29Axenntio has joined #asahi-dev
15:32Axenntio_ has joined #asahi-dev
15:35Axenntio_ has quit [Remote host closed the connection]
15:36Axenntio has quit [Ping timeout: 264 seconds]
15:54brentr123[m] has joined #asahi-dev
15:54CDFHMight sound like a stupid question, but how about a reverse SSH tunnel from the mac, it has an ssh binary right?
15:54riker77 has joined #asahi-dev
15:54brentr123[m]I think recovery mode just locks down everything
15:56davidrysk[m]artemist: UsePrivilegeSeparation was removed
15:56davidrysk[m]brentr123: it doesn't lock down much, it's more that system features are just missing
16:11davidrysk[m]I successfully compiled a binary on my M1 Mac and ran it on the Intel Mac in recovery :)
16:12davidrysk[m]and as I expected, getpwnam() does not work, just, why doesn't it work
16:19davidrysk[m]okay so getpwnam() works, but the alias between the `sshd` and `_sshd` user is not effective
16:20davidrysk[m]or macOS is doing something funny
16:21davidrysk[m]we'll see :)
16:21davidrysk[m]yeah, the alias is indeed not effective in recovery, while it is effective in system
16:22davidrysk[m]my guess is that dscl user lookups don't work in recovery because that authentication module is unimplemented
16:25davidrysk[m]oh yeah, any changes to Recovery get blown away on reboot
16:28davidrysk[m]anyway, I think the pam config is not correct and is not using opendirectory for user/pass
16:31bear24rw has joined #asahi-dev
16:35bear24rw has quit [Ping timeout: 256 seconds]
16:41bear24rw has joined #asahi-dev
16:46bear24rw has quit [Remote host closed the connection]
16:54bear24rw has joined #asahi-dev
16:57Axenntio has joined #asahi-dev
16:58carlosn has joined #asahi-dev
16:58CDFHI have managed to get a shell on an M1 mac in recovery mode with a very small amount of netcat and bash reverse shell fuckery
17:00bear24rw has quit [Ping timeout: 264 seconds]
17:00CDFHHost Machine: nc -l -p 12345 -vvv
17:00CDFHCommands:
17:00CDFHMac in Recovery: bash -i >& /dev/tcp/ip_of_host/12345 0>&1
17:03davidrysk[m]yeah, I figured that would work :)
17:08CDFHNot ideal, but functional :)
17:16bear24rw has joined #asahi-dev
17:24ghantaz has joined #asahi-dev
17:36marcanrecovery mode has netcat
17:36ghantaz has quit [Ping timeout: 245 seconds]
17:36marcanbut the annoying thing about that is no tty :-)
17:36marcanthat's why I was hoping for script or something
17:36marcanit would be nice to just enable ssh, but I won't waste more than another hour on that tomorrow
17:37Shizsleeping schedule strikes again
17:41modwizcode has joined #asahi-dev
17:43marcanyeah, I was just wrapping up IRC before going to sleep :p
17:43tiago_ has joined #asahi-dev
17:43davidrysk[m]marcan: the easiest way is to probably handpatch a copy of sshd to nop out the getpwnam() check
17:44marcansee #asahi
17:57ceph3us has left #asahi-dev [#asahi-dev]
17:57ceph3us has joined #asahi-dev
17:58browzing has joined #asahi-dev
18:08Axenntio_ has joined #asahi-dev
18:08Axenntio has quit [Remote host closed the connection]
18:09Axenntio_ has quit [Remote host closed the connection]
18:09Axenntio has joined #asahi-dev
18:09Axenntio has quit [Remote host closed the connection]
18:19Calchan has joined #asahi-dev
18:20stormclad has joined #asahi-dev
18:20bear24rw has quit [Remote host closed the connection]
18:21bear24rw has joined #asahi-dev
18:23tiago_ is now known as tmartins
18:24bear24rw has quit [Remote host closed the connection]
18:24bear24rw has joined #asahi-dev
18:25bear24rw has quit [Remote host closed the connection]
18:25bear24rw has joined #asahi-dev
18:25tmartins is now known as tiagom
18:26tiagom has quit [Quit: tiagom]
18:26tiagom has joined #asahi-dev
18:28tbodt has joined #asahi-dev
18:33bear24rw has quit [Remote host closed the connection]
18:33bear24rw has joined #asahi-dev
18:42rafaelmartins has joined #asahi-dev
18:57Axenntio has joined #asahi-dev
18:58Axenntio_ has joined #asahi-dev
18:58Axenntio_ has quit [Remote host closed the connection]
18:59King_InuYasha has joined #asahi-dev
19:01Axenntio has quit [Remote host closed the connection]
19:01King_InuYasha is now known as Conan_Kudo
19:01Conan_Kudo is now known as King_InuYasha
19:02Eighth_Doctor has joined #asahi-dev
19:05Axenntio has joined #asahi-dev
19:06Axenntio_ has joined #asahi-dev
19:06Axenntio_ has quit [Remote host closed the connection]
19:08Axenntio_ has joined #asahi-dev
19:09Axenntio_ has quit [Remote host closed the connection]
19:14Axenntio has quit []
19:15Axenntio_ has joined #asahi-dev
19:28Axenntio_ has quit [Remote host closed the connection]
19:33ConeOfAttack[m] has joined #asahi-dev
19:42fl35[m] has joined #asahi-dev
19:42plainbits has joined #asahi-dev
20:10Axenntio has joined #asahi-dev
20:11Axenntio has quit [Remote host closed the connection]
20:13Axenntio has joined #asahi-dev
20:20ransom has joined #asahi-dev
20:23plainbits has quit [Ping timeout: 272 seconds]
20:28ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:29Axenntio has quit [Ping timeout: 240 seconds]
20:30sharpiro has joined #asahi-dev
20:31Axenntio has joined #asahi-dev
20:32browzing has quit [Ping timeout: 246 seconds]
20:32sharpiro_ has joined #asahi-dev
20:34Axenntio has quit [Remote host closed the connection]
20:35sharpiro has quit [Ping timeout: 256 seconds]
20:48tiagom has quit [Quit: tiagom]
20:55plainbits has joined #asahi-dev
20:59browzing has joined #asahi-dev
21:17tiagom has joined #asahi-dev
21:30skg has joined #asahi-dev
21:30_plainbits_ has joined #asahi-dev
21:30bear24rw has quit [Remote host closed the connection]
21:31bear24rw has joined #asahi-dev
21:32bear24rw has quit [Remote host closed the connection]
21:32bear24rw has joined #asahi-dev
21:32xerpi[m] has joined #asahi-dev
21:32ransom has joined #asahi-dev
21:34plainbits has quit [Ping timeout: 272 seconds]
21:43ransom_ has joined #asahi-dev
21:45ransom has quit [Ping timeout: 272 seconds]
21:47aratuk has joined #asahi-dev
21:50aratuk_ has joined #asahi-dev
21:53aratuk has quit [Ping timeout: 256 seconds]
21:58jevinskie[m] has joined #asahi-dev
22:01ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:02ransom has joined #asahi-dev
22:04_plainbits_ has quit [Ping timeout: 272 seconds]
22:05plainbits has joined #asahi-dev
22:20krbtgt has joined #asahi-dev
22:27plainbits has quit [Quit: Go to sleep. Night!]
22:46stormclad has quit [Remote host closed the connection]
22:47stormclad has joined #asahi-dev
23:03ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:04ransom has joined #asahi-dev
23:39modwizcode has quit [Quit: Later]
23:55Lightsword has joined #asahi-dev
…