![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2016
Location: Germany
Device: Kindle 4, Kindle PW2
|
Remote Execution of Kindle Applets
Hello,
first, thank you all for your work on jailbreaking the kindle, writing programs for it, and writing tutorials for newbies (like me)! Now, here is my question: I've jailbreaked my kindle 4, installed ssh, and also written a basic hello world applet for it. I would like to know if it is possible to issue the opening of some webpage in the browser on the Kindle via ssh... Thank you! Last edited by lordhenry; 04-03-2016 at 02:18 PM. Reason: unprecise question... |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Not quite sure we can do that on a K4. On newer devices running FW 5.x, much easier, though
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2016
Location: Germany
Device: Kindle 4, Kindle PW2
|
|
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Sending the right lipc call to appmgr (don't have a device on hand right now).
|
![]() |
![]() |
![]() |
#5 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You have sshd (in the USBnetworking package) installed - You have a network connection to the Kindle (you did write: "remote") - You have public key authentication setup - You have a 'nickname' set in your ~.ssh/config file for the connection details to the Kindle (shown here as: kpw) - Then you can run any executable (or shell command) without logging in simply with: ssh kpw 'ls -l /mnt/us/documents' Code:
$ ssh kpw 'ls -l /mnt/us/documents' -rwxr-xr-x 1 root root 127173 Sep 25 2015 KUAL-KDK-2.0.azw2 -rwxr-xr-x 1 root root 469576 Jan 1 17:22 Kindle User's Guide 3rd Edition_B0058H5MQM.azw3 drwxr-xr-x 2 root root 8192 Mar 29 21:01 Kindle User's Guide 3rd Edition_B0058H5MQM.sdr drwxr-xr-x 2 root root 8192 Aug 15 2013 Kindle_Users_Guide.sdr drwxr-xr-x 2 root root 8192 Apr 2 14:30 cpu_report.sdr -rwxr-xr-x 1 root root 2818 Apr 2 14:17 cpu_report.txt drwxr-xr-x 4 root root 8192 Aug 4 2013 dictionaries OR You set the command to be run as one of the fields in your authorized_keys file for the pub-key that is allowed to run it. Same-same as any other *nix based system. Just google "OpenSSH usage" or whatever, there are giga-bytes of documentation on the net about it. Last edited by knc1; 04-03-2016 at 12:18 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2016
Location: Germany
Device: Kindle 4, Kindle PW2
|
Quote:
Last edited by lordhenry; 04-03-2016 at 03:02 PM. |
|
![]() |
![]() |
![]() |
#7 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
If you had, I could have spent my time on a more helpful reply. Since you also fail to give any background on what you have done, and with what results, to the question you now ask - I'll try once again to give the obvious answer: Do you also know how to run: "grep -r libc *" on the K4 command line? Have you done that? What have you done? With what results? Please consider the following and the content of the linked article: https://www.mobileread.com/forums/sho...d.php?t=272087 before replying. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
AFTER THE EXECUTION | jpraven | Self-Promotions by Authors and Publishers | 0 | 10-31-2013 03:30 AM |
Remote Kindle Indexing on PC. | vugtitan | Amazon Kindle | 17 | 09-02-2010 05:17 PM |
Direct shellscript execution | Viacheslav | iRex | 0 | 08-25-2009 01:31 PM |
iLiad QT/E execution problem! | ericshliao | iRex Developer's Corner | 7 | 02-12-2009 03:36 PM |
iLiad Panel Applets for iLiad's Toolbar | yokos | iRex Developer's Corner | 3 | 05-06-2008 01:56 PM |