![]() |
#1 |
Connoisseur
![]() ![]() Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
|
Open X server port
While experimenting with IDS, I found that if the Iliad experiences a connection error (like it does connecting to my IDS proxy
![]() then it pops up a dialog and waits for a click. While it is in this state, the network is up and running and there is an unprotected X server running on port 6000. You can happily run X clients on it from another local host or grab window information etc. While this is very cool (see attached screenshots), I haven't found a way to exploit it. You can run apps to be displayed on the Iliad and see how they look. You can kill off windows. But I haven't found any way of making it do anything more interesting. Ideas anybody? Here's the output from xlsclients -l: [chris@apple sbin]$ xlsclients -l Window 0x600001: Machine: ereader Name: pageBar Icon Name: pageBar Command: pageBar Instance/Class: pageBar/PageBar Window 0xa00001: Machine: ereader Name: contentLister Icon Name: contentLister Command: contentLister Instance/Class: contentLister/ContentLister Window 0xc00001: Machine: ereader Name: connectionMgr Icon Name: connectionMgr Command: connectionMgr Instance/Class: connectionMgr/ConnectionMgr Window 0xe00001: Machine: ereader Name: downloadMgr Icon Name: downloadMgr Command: downloadMgr Instance/Class: downloadMgr/DownloadMgr Window 0x400004: '' Name: Panel 0 Icon Name: Panel 0 Command: /usr/bin/matchbox-panel --size 39 --no-menu --bgcolor White --no-session --default-apps mb-applet-icon-container ... and here's xwininfo for the matchbox panel: [chris@apple sbin]$ xwininfo -id 0x400004 xwininfo: Window id: 0x400004 "Panel 0" Absolute upper-left X: 0 Absolute upper-left Y: 935 Relative upper-left X: 0 Relative upper-left Y: 935 Width: 768 Height: 39 Depth: 8 Visual Class: StaticGray Border width: 0 Class: InputOutput Colormap: 0x20 (installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +0+935 -0+935 -0-50 +0-50 -geometry 768x39+0-50 |
![]() |
![]() |
![]() |
#2 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
I'm specially interested in the XTEST extension, so to use xautomation (that's the package of the xte program) to "emulate" a keyboard using the remote keyboard O:-). BTW, what OS version are you using (2.6.1 or 2.7)? Thanks :-) -- Ps: Hello again to the forum. I've been missing quite a bit... Dario (...still thinking of ways to re-enable the ssh daemon in modern firmwares...) |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#4 | |
Connoisseur
![]() ![]() Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#5 | |
Connoisseur
![]() ![]() Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Ranting... It's a pity that the included minimo (/usr/bin/browser) seems to have keyboard shortcuts disabled (at least, in the 2.4 scratchbox setup I can't make it to open dialogs, which is consistent with the tests that lhl did in https://www.mobileread.com/forums/showthread.php?t=7297). We only need to be able to open a text file and save it in /etc/er_registry.txt... that should not be very difficult O:-). Another approach would be to be able to make a symbolic link (what symbolic link is left as an exercise to the reader ;-). End of rant. |
|
![]() |
![]() |
![]() |
#7 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Yes, I know about the mandatory "begin with '%PDF-1.'" but ajter that there are commands and objects. It's possible to have an object with plain text spreaded in some lines and still have a valid pdf? Any PDF gurus here? |
|
![]() |
![]() |
![]() |
#8 | |
Connoisseur
![]() ![]() Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
|
Quote:
x2x also works - allowing complete control with the mouse and keyboard of the remote client. Problem is that the download manager sits on top of all other windows that are running and quitting it closes the net connection. Is there any way to make X bring a hidden window to the top? |
|
![]() |
![]() |
![]() |
#9 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
Quote:
Then, the pdf file should begin in ascii (the beginning of PDFs is usually ascii, albeit with lines delimited with CRs instead of NLs, so I don't expect problems here), and the "object with the plain-text script" has to be near to the beginning (to be sure that bash don't bail out because of extrange characters). Is it easily doable? Thanks scotty1024 :-) P.S.: I have not tested with pdftk, but I think it doesn't put the embedded files near the the beginning of the generated pdf... or am I mistaken? |
|
![]() |
![]() |
![]() |
#12 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Evangelist
![]() ![]() ![]() Posts: 458
Karma: 293
Join Date: May 2006
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#14 | |
Connoisseur
![]() ![]() Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 | |
Evangelist
![]() ![]() ![]() Posts: 458
Karma: 293
Join Date: May 2006
|
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Xournal port for R2.0 | Mackx | iRex | 156 | 10-13-2013 02:15 AM |
Can't open Calibre at Snow Leopard Server | ganymede | Calibre | 0 | 11-13-2009 12:40 AM |
calibre-server on port 80 problem | jquest | Calibre | 2 | 11-06-2009 06:04 AM |
TrueCrypt port to DR? | mail4peter | iRex | 0 | 10-07-2009 09:48 AM |
Reference Open eBook Forum: Open eBook Publication Structure. IMP. V1.0.1 14 September 2007 | DaleDe | IMP Books | 0 | 09-14-2007 05:06 PM |