View Single Post
Old 12-01-2019, 07:01 PM   #9
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
Quote:
Originally Posted by Marco77 View Post
Hi ezdiy,
I'm ABSOLUTELY baffled as to how sending a buffer to a seemingly random IPC queue can grant you root privesc! ▄█▀█●
PocketBook is full of this stuff, it's the 90s nostalgia over there, none of this modern amazon/apple fascism.

Quote:
Not sure if it's possible, can you keep the device alive (prevent sleep) while there's activity in the services?
Disable timed shutdown in power menu, but keep wifi or bt on when USB is plugged in. If sessions are in place (shell with a terminal, tcp connections), wifi never suspends, and whole reader stays alive in turn. Not a good idea to do without USB, as it will kill battery charge in 2 days or so.

Quote:
This one is a quality-of-life convenience, can you create /mnt/ext1/.ssh if it doesn't exist? Also, I'm trying to get dropbear to accept pubkey authentication to no avail
It might either not like the symlink, or the silly permissions on the fat partition. To figure out what dropbear doesn't like, just launch another instance via /mnt/secure/bin/dropbear -F -p 33 -m -B -Y somepassword -H /mnt/secure in foreground, and it should jabber about what it does not like.

Quote:
scp works fine, not sftp (probably a dropbar limitation). If it's not too complicated, can you include rsync as well?
Done.

Quote:
Generally in PBTerm /mnt/secure/su command works, any idea why /bin/sh doesn't return control?
Not sure what you mean.

Quote:
Great work mate
Thanks for testing.

Last edited by ezdiy; 12-01-2019 at 07:18 PM.
ezdiy is offline   Reply With Quote