View Single Post
Old 11-01-2020, 12:01 PM   #491
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by MrTick View Post
I think I've solved the problem with 5.12+ firmware.
Now the localhost:9101/change requires some form of authentication.
After some poking around with tcpdump I've managed to find the following solution:

9101 POSTs require to authenticate with AuthToken field.
The value is then compared with current session token that's stored in... /tmp/session_token (it changes every reboot at least).

I'm uploading modified cc_update.py (it has to be replaced in extensions/librariansync)

Code:
201101:165222 system: I LibrarianSync:cc_update:: Sending commands...
201101:165223 system: I LibrarianSync:cc_update:: Success.
201101:165223 system: I LibrarianSync:main:: Done in 0.63s.
I've verified in for PW4 5.13.2 and 5.13.3
Awesome news!

Question though, will this fix work with unregistered Kindles as well?
ilovejedd is offline   Reply With Quote