ugh. searching "how do I do xdotool type stuff with wayland" and one of the first results is "No, such features were explicitly excluded from the Wayland design for security reasons."
Conversation
Notices
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 02:35:21 JST Foone🏳️⚧️ -
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 02:38:55 JST Foone🏳️⚧️ everyone who thinks "I know, I'll make computers not automatable, that'll make them more secure!" has fundamentally misunderstood what computers are for
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 02:41:53 JST Foone🏳️⚧️ the most secure computer is one that's not turing complete
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 03:44:13 JST Foone🏳️⚧️ I've said it before and I'll say it again:
there is one and only one way to reliably script keyboard/mouse input:a USB microcontroller.
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 03:48:23 JST Foone🏳️⚧️ there are no reliably working software solutions. You might think you know one, but unless it involves "I built my own kernel with a completely different input subsystem", it probably has some caveats.
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 03:52:05 JST Foone🏳️⚧️ and unfortunately on windows that option isn't available, so USB stick is the only one
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 03:53:22 JST Foone🏳️⚧️ and I say all this knowing it's only a matter of time before some big company gets their c-suite staff hacked through a mechanical keyboard with an insecure programmable MCU, and some fucker invents "secure input devices", where USB devices get cryptographically signed so that "not just anyone" can make one
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 03:56:46 JST Foone🏳️⚧️ at which point I'm buying a logitech keyboard and a bunch of solenoids and building a very loud automatable keyboard
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 04:17:40 JST Foone🏳️⚧️ @mxk nope!
that's actually why I developed the USB microcontroller that I use regularly.
AHK (and the APIs it calls, for that matter) cannot consistently cross 32/64bit, user accounts, and directx/win32 -
mxk (mxk@hachyderm.io)'s status on Thursday, 09-Nov-2023 04:17:41 JST mxk @foone arguably, on Windows AutoHotkey works pretty well (despite being a terrible programming language)
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 04:24:33 JST Foone🏳️⚧️ @forestpines then it's not very secure at all. I have a lot of screwdrivers and soldering irons
-
Coding Cottagecore Bogwitch (forestpines@hachyderm.io)'s status on Thursday, 09-Nov-2023 04:24:34 JST Coding Cottagecore Bogwitch @foone what about if it's Foone complete
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 04:29:48 JST Foone🏳️⚧️ @mei yeah. the best (software) option I've found for injecting input into a windows system was "run it in a VM and inject it into the VM's hypervisor instead"
-
mei (mei@donotsta.re)'s status on Thursday, 09-Nov-2023 04:29:59 JST mei @foone that was literally my first thought. "inject input at the hypervisor" was my second, more practical one. -
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 06:17:20 JST Foone🏳️⚧️ @StompyRobot I'm broke, that's why. I did buy a "keyboard automation device" from aliexpress that is just a single solenoid, though. very amusing device
-
Peaceful Assembly Robot (stompyrobot@mastodon.gamedev.place)'s status on Thursday, 09-Nov-2023 06:17:21 JST Peaceful Assembly Robot @foone why wait?
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 06:56:17 JST Foone🏳️⚧️ @lispi314 unfortunately I'm a reverse engineer so that's like 99% of what I work on
-
LisPi (lispi314@udongein.xyz)'s status on Thursday, 09-Nov-2023 06:56:19 JST LisPi @foone You just need a bug that allows you to execute code in kernel space and a lot of reverse-engineer work. Easy⸮
Another reason proprietary software is garbage. -
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 09-Nov-2023 07:28:34 JST Foone🏳️⚧️ @1000millimeter @StompyRobot I don't have a picture of mine on hand, but it's one of these:
-
1000millimeter (1000millimeter@chaos.social)'s status on Thursday, 09-Nov-2023 07:28:35 JST 1000millimeter @foone @StompyRobot Please share a picture
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Friday, 10-Nov-2023 08:02:47 JST Foone🏳️⚧️ @pwalck digispark is the smallest I know of
-
Pontus (pwalck@camp.smolnet.org)'s status on Friday, 10-Nov-2023 08:02:48 JST Pontus @foone I just did that exact search, for the N-th time, thinking that "surely there must be better we workarounds by now"...
Do you know of any super slim USB microcontrollers, sort of like those tiny radio things?
-
jmjl (jmjl@fedi.tilde.green)'s status on Sunday, 31-Mar-2024 03:26:11 JST jmjl @foone Try https://github.com/atx/wtype, but I'm not sure if it'll work for you. If that doesn't work, you already told what you have to do, emulate it at a lower layer, maybe using https://github.com/tio/input-emulator
I'm not sure if any of those will work for you, but I guess it might help?
-