Maja changed the topic of ##bash-crimes to: we bash back | club of folks preoccupied in whether they could, not whether they should | logs https://libera.irclog.whitequark.org/~h~bash-crimes
dakkar has joined ##bash-crimes
dakkar has quit [Ping timeout: 260 seconds]
dakkar has joined ##bash-crimes
dakkar has quit [Ping timeout: 245 seconds]
<sdomi> is there a "bash" way to create a fake tty and let another application connect to that tty?
<sdomi> `socat -d pty,raw,echo=0 pty,raw,echo=0`
<sdomi> opens a raw pty under /dev/pts/*
<sdomi> now I can `slattach /dev/pts/4` and bind myself to `/dev/pts/5` and do EVIL
<sdomi> it's not terribly smart, but i'm sending packets and getting replies
<sdomi> (this is through a socat TAP device thing, not SLIP; I want to do IPv6 and SLIP doesn't support it, so i'd need more hacks (ipip/similar ;-;) than with this)
<sdomi> famfo: ^