Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Exploring X11 windows and devices and emulating mouse movements and keystrokes (globalcode.info)
98 points by todsacerdoti on Feb 25, 2022 | hide | past | favorite | 8 comments


Wow. Just after a cursory glance at the underlying relpipes project, I must say: This looks exactly like something I've hoped somebody what develop it for decades.


The website and tool is very nice. However, to be honest, there are various attemps to beyond-ASCII pipes. One popular is the MS Windows PowerShell, but there are also less known ones in the Linux world (I cannot even name a single one out of heart in the moment). Interestingly, passing JSON via pipes has got a defacto standard/alternative for structured data passing.


Well, the project does mention that they're not trying to replace any existing approach but instead provide additional functionality over the existing stuff. My understanding is that they can grab the JSON, XML or whatever else other projects do, use some existing tool on the parsed data and then passing it forward to other tools as JSON, XML or whatever. I think the diagram at the end of [0] shows it well.

[0] https://relational-pipes.globalcode.info/v_0/index.xhtml


Same in Windows. Every control is a window with its handle and you can embed other apps inside


And you can poke at any window in the system with WinSpy++, the original DOM inspector from before devtools were cool


I remember an old win95 software called 'revelation' that could textplain password edit controls. Would it still work post winxp?


Yes and no. That tool would simply unmask the text. If the text is not there to begin with, then there is nothing to unmask. So it depends on the programmer who creates the text in there. For me, since this was an obvious security hole, I always inherited base classes and created the real text to be kept somewhere else in memory. Still doable to be found with Cheat Engine for example, but harder by simply hovering Spy++ over it.


Does anyone have any resources for doing mousekey emulation outside of xwindows, say, by simulating a uinput device? The xkb settings get me partway there, but I want to use four keys instead of having to use eight for diagonals.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: