Opening Zinio PDFs - Android Q&A, Help & Troubleshooting

I was digging around in Zinio app folder on my tablet and it appears that each page of a magazine is stored as a PDF. When I try to open it, it says it's password protected. Has anyone taken a look at this? Is the password floating around or is there a way to open the file without the password?
Thanks!

fruv said:
I was digging around in Zinio app folder on my tablet and it appears that each page of a magazine is stored as a PDF. When I try to open it, it says it's password protected. Has anyone taken a look at this? Is the password floating around or is there a way to open the file without the password?
Thanks!
Click to expand...
Click to collapse
Hey it seems peeps here either can't or won't answer this question.
I have the same problem ... Common everyone, please assist us. Any answer is cool, but preferably a solution.
Thank you

Zinio PDF files
Hello there. Look into the same folder where those PDFs are downloaded. There you will find the same exact files but in JPEG format and they will open freely with any image viewer

Sorry but they are just thumbnails - not large enough to read...

It seems that each magazine's PDFs are encrypted using a different password, although the PDFs for the same magazine all use the same password. Two such passwords I recovered are ca2f3a202e73a5588510be105454d8f3 and f51daacd3e62829f0088f387bf5b311d. What I basically did was make a dump of the Zinio process's memory using gdb, run "strings" on it, then feed it into John the Ripper (jumbo) to crack the password. Unfortunately, I'm not sure how this password is generated - it must be stored/accessible somewhere locally, as you can read magazines you've already downloaded without an internet connection. However, the string only appeared once in memory, and it did not appear in plaintext in any of the other stored files, leading me to believe it is probably generated by the app at runtime somehow. MD5 of something maybe?
My device is running jailbroken iOS, so you all will have to figure out how to dump the process's memory for yourselves, but after I tarred and scp'd everything off my device:
Code:
pdf2john page0.pdf > crackme
strings memdumps.tar | tr -d ' ' | john --stdin crackme
then you can mass-decrypt and merge all the PDFs with something like this (replace 200 with the last-numbered file in the directory, I do this because simply doing *.pdf would merge the pages in the wrong order.):
Code:
mkdir decrypted
for i in *.pdf; do qpdf --decrypt --password=de4dbeeflongpasswordhere "$i" decrypted/"$i"; done
cd decrypted
pdfunite page{0..200}.pdf allpages.pdf

Hi, I have jailbroken IOS also but IOS 14.8. Is dumping the application heap what is needed to get the app's memory? I would be looking for ideas how to do this as I can't find gdb for 14.8?
thank you

Related

Importing Certificates

I need to import a certificate for my WIFI. I can get this as a PEM or DER format certificate from our admins, which I can use on anything else from a laptop to a pda.
On the Nexus the certificate needs to be .p12 files (PKCS#12). I do not have one of these, nor can I get one, nor can I find a way to convert the current PEM/DER to one of these.
How do I do this? It seem pointless if the nexus requires a different format than that provided to people to work with all other devices. Admins are not going to start issuing a special format, just for nexus users, Especially when that format seems to need a private key in addition and/or another password too.
Anyone else managed to do this?
I installed a certificate (a .crt file) by opening it with the web browser (via HTTP). You could also try opening it in Astro or another file manager.
A lot of people have complained about this. Apparently you have to import it from the web browser. File and gmail apps don't seem to know how to handle the certs.
You can forward it to your gmail account then use the web browser to get to gmail and import it from there.
Hi Guys,
I don't mean to hijack the thread, I've been trying to find the full encryption standards and protocols supported by the nexus one and have not had much luck. I presume you guys might have an idea.
Anyone got a link ? Thanks for your help. Ash.
robert-qfh said:
I installed a certificate (a .crt file) by opening it with the web browser (via HTTP). You could also try opening it in Astro or another file manager.
Click to expand...
Click to collapse
UmbraeSoulsbane said:
A lot of people have complained about this. Apparently you have to import it from the web browser. File and gmail apps don't seem to know how to handle the certs.
You can forward it to your gmail account then use the web browser to get to gmail and import it from there.
Click to expand...
Click to collapse
I've tried opening with a few file browsers, no luck as they refuse to open them, tried various ways of opening with web browsers, no luck as all they want to do is save them, and then the file browsers dont want to open. Also tried email and opening through the web or client. No luck.
Can you guys break it down how you got it to work ?
Thanks
Ash.
Anyone know how to load a .crt and .ca certificates on the nexus one ?
I've tried doing everyway with and without the certificates.
Thanks
Ash.
Just tried uploading a .DER cert to my personal FTP and goto it via the browser and it simply opened it like a text file. .P12 files are recognised by the browser fine and the user is prompted for the passkey but that is expected as .P12 seem to be the only type of cert that works on Android.
You could try to manually modify wpa_supplicant.conf . Depending on the network configuration this may vary. This is the same way you would do it in Linux. I remember I did this in my G1 ( I dunno if you need root, my G1 was rooted anyway), but the location of the file was not in /etc like it is usually in most Linux. My conf looked like this:
network={
ssid="somenetworkWPA"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP
eap=PEAP
identity="[email protected]"
password="pass"
phase2="autheap=MSCHAPV2"
ca_cert="/sdcard/mycert.der"
}
There are plenty of samples and explanations around the net about changing this file. Hope this helps.
janfsd said:
You could try to manually modify wpa_supplicant.conf . Depending on the network configuration this may vary. This is the same way you would do it in Linux. I remember I did this in my G1 ( I dunno if you need root, my G1 was rooted anyway), but the location of the file was not in /etc like it is usually in most Linux.
Click to expand...
Click to collapse
It's /data/misc/wifi/wpa-supplicant.conf. It's owned by wifi:wifi with permissions 770. So it appears you'll need to be root.

[Q] can't open certain pdf docs on my tab

I put some pdf docs to my tablet. I tried to open them, but some of them couldn't be opened - as it said. I have tried out almost all the pdf readers, none could open those files. Oh, and before asking, yes, I can open all of them on the computer.
It seems like the tablet just doesn't recognize these files. There are Chinese letters in the files' names, it doesn't know the sizes either... etc.
Why is it? What do you think? Most of the ones that cannot be open has photos in them. Books, I mean. Books that have been photocopied and put to a pdf file. So I can't mark words like in a normal pdf ebook.
Hmm, I hope we'll find out what's wrong...and how can be solved.
Thanks!
hohooo, I have just found out how can I manage to open any file. I had to rename all the files, changing all the Hungarian titles...and now the device recognizes them.
Then my question is: How could I make the device to be able to read/open the files having Hungarian names? Should I change the whole language of the device?
Please use the Q&A Forum for questions Thanks
Moving to Q&A

SMS Database Android

Hi,
I'm trying to create a desktop (java based) application that extracts SMS from an android device and prints the SMS onto a relational database. I just have a few questions......
/*Answer Found*/
After research I found out that the SMS are stored in a database. I've been pointed in various directions, but the most common is directory is com.android.provider.telephony.SMS although I can't actually find it on my phone. My phone is rooted and I'm looking for the file using a "File manager" app from the Play store.
So my first question would be "Where is the SMS database stored"? I'm assuming it's the same place for all phones as long as it's android based. Please correct me if I'm wrong......
I'm aware the database will be encrypted. Does anyone know what type of encryption is on the database, and if so - is it easy to crack?
Thanks in advance,
Wazza
Update: OK - So it turns out the file explorer I was using was a bit......naff. I've downloaded another and am now able to see the relevant DB.
My idea was to run the developers USB debugging mode onto the computer and extract the DB like that - However, the folders / files being shown when it's plugged into the PC are those on the SDCARD. (I believe this is the level above root?).
Update 2: Seems as if I jumped the gun posting this topic. A few more hours research and I've got to where I need to be.
For those who don't know - this is how I did it.
Plugging your phone into the PC and selecting USB Debugging mode temporarily disables the "SDCARD" on your phone so you can't tamper with it whilst uploading files via the PC.
I downloaded a file manager that allows the user to view root access files / folders. I then found the mmssms.db, copied it and pasted it into a folder on the "SDCARD". I was then able to plug the phone into USB Debugging mode and transfer the database file from the phone onto my desktop.
My next challenge is viewing the database. As started in the OP, I'm aware the database is most likely encrypted. How would I go about breaking this encryption and viewing it on a database.
:good:
If you want to make backup of SMS, just use SMS Backup & Restore. It will export your database to xml file.
przemcio510 said:
If you want to make backup of SMS, just use SMS Backup & Restore. It will export your database to xml file.
Click to expand...
Click to collapse
Thanks przemcio but I'm doing it as a project. I don't want the easy way around

link to file on Android from Excel

Hi all!
I am very curious if anyone here can give me a push in the right direction...
Let me start by saying that i have made an excel sheet in windows for the purpose of administring my mail. I scan my mail and name it in de sheet accordingly. F.e.: filename 2018-02-015.jpg is in excel as follows:
column A: 2018-02-015. Column B "jpg". In that way i can numer the files continuesly, but can select different filetypes (f.e.: pfd, msg, docx etc...) along the way. Now....
I use a formula to calculate the complete filepath so i can click in the cel to open the file. In windows this looks als follows:
=HYPERLINK(TEKST.SAMENVOEGEN("C:\Data\CloudStation\Post\gescande stukken\Inkomend\2018";A5;".";B5); "doc")
I use a duch version of excel... sorry... "tekst.samenvoegen" is probably "concatenate". Now... if the file i link to exists in the location mentioned in the formula, windows opens it flawless.
You might have noticed the term cloudstation in the path. That's because my goal is to sync with my mobile. That's the part that works already. But since i do not have the same paths on my Phone as i have in windows. I had to create another comlumn for the sake of opening files on android. At the moment i can open the sheet on android, look up the line i need and then navigate manually through the filesystem to open it. But it would be really neat if i could (just like in windows) click on the file in excel en open it that way.
What i tried is the following:
=HYPERLINK(TEKST.SAMENVOEGEN("/storage/0123-4567/Android/data/com.synology.dscloud/files/Data/Post/gescande stukken/Inkomend/2018/";A5;".";B5); "and")
since the name of the SD card seems to be 0123-4567 and the files i want to call upon also exsist in the target dir. i think it should work. But since i'm more of a windows man i'm afraid i'm overlooking something.... Android tells me that the link is not valid or i'm not authorized tot open it...
Who can halp me along? Thanks in advance!
kind regards,
some dutch guy

Import contacts from vcf file

I have exported multiple contacts successfully in to one single vcf file. If copy this via WebDAV to my share, the file is copyed. But when I now try to import this vcf, only one contact is imported. If i open this vcf with a editor on the device, it shows only obe contact.
Do I rename the file to contacts.vcf.txt and open this in the same editor on the device, i have multiple contacts inside. If i rename it back to contacts.vcf, its again only one contact inside.
What's going on here and how can I import successfully a vcf file with multiple contacts inside?
Lifear said:
I have exported multiple contacts successfully in to one single vcf file. If copy this via WebDAV to my share, the file is copyed. But when I now try to import this vcf, only one contact is imported. If i open this vcf with a editor on the device, it shows only obe contact.
Do I rename the file to contacts.vcf.txt and open this in the same editor on the device, i have multiple contacts inside. If i rename it back to contacts.vcf, its again only one contact inside.
What's going on here and how can I import successfully a vcf file with multiple contacts inside?
Click to expand...
Click to collapse
Vcards have special formats, maybe your formatting isn't correct after adding seperate contacts to one file?
It should look like this(2 contacts within that file):
BEGIN:VCARD
VERSION:2.1
N:john;doe;;;
FN:John doe
TEL;CELL:1234567
END:VCARD
BEGIN:VCARD
VERSION:2.1
N:john;doe2;;;
FN:John doe2
TEL;CELL:123456789
END:VCARD
The problem seems to be the transfer of the file. If I use Google Drive as a backup, the file stays intact. I will test a other WebDAV server and see afterwards if there the same problem exists. If not, I try to change my server setting.
The file itself is created by Google contacts, I assume, that it writes a correct structure.
UPDATE: I have made some more test's. The file upload seems to be work correctly. If i upload the file to the server, the file is saved there with the correct content. I could open it on the shell with "cat contacts.vcf" and see, that all entry's and contacts are there. However, if I open the file via a browser or other WebDAV client via GET, the file seems to be broken. I have only one entry. Additionally, before this "conversion" the file started with:
BEGIN:VCARD
VERSION:2.1
...
Click to expand...
Click to collapse
But now i have it look like:
BEGIN:VCARD
VERSION:3.0
...
Click to expand...
Click to collapse
Not at all, that i have only one contact, i now have vCard version 3 instead of 2.1. I'm sure this is a server side issue. But i have no idea how to fix this.
Lifear said:
The problem seems to be the transfer of the file. If I use Google Drive as a backup, the file stays intact. I will test a other WebDAV server and see afterwards if there the same problem exists. If not, I try to change my server setting.
The file itself is created by Google contacts, I assume, that it writes a correct structure.
UPDATE: I have made some more test's. The file upload seems to be work correctly. If i upload the file to the server, the file is saved there with the correct content. I could open it on the shell with "cat contacts.vcf" and see, that all entry's and contacts are there. However, if I open the file via a browser or other WebDAV client via GET, the file seems to be broken. I have only one entry. Additionally, before this "conversion" the file started with:
But now i have it look like:
Not at all, that i have only one contact, i now have vCard version 3 instead of 2.1. I'm sure this is a server side issue. But i have no idea how to fix this.
Click to expand...
Click to collapse
Strange that your webdav modifies the content of a file
As workaround you can zip the file.
Yes, really strange. I use Nginx for the webserver and SabreDAV for DAV. I now know that the problem comes from SabreDAV and not Nginx. If i use pure Nginx WebDAV, the transfer works without any problem in both directions.
To bad, that development of SabreDAV is stalled since last year. Maybe I found a fix for SabreDAV and can make a pull request in their GIT repository.
Lifear said:
Yes, really strange. I use Nginx for the webserver and SabreDAV for DAV. I now know that the problem comes from SabreDAV and not Nginx. If i use pure Nginx WebDAV, the transfer works without any problem in both directions.
To bad, that development of SabreDAV is stalled since last year. Maybe I found a fix for SabreDAV and can make a pull request in their GIT repository.
Click to expand...
Click to collapse
I use nginx too, but with nextcloud and it's own dav access. No problems here.
Hmm last time as i have played with NextCloud it uses SabreDAV 3.2.2 as the base for its DAV operations. But it was terrible slow against a pure SabreDAV installation on the same hardware. I wonder if it uses actually also SabreDAV or maybe they have made some modifications? And you say, you can upload such a export and download it again without getting the vcard converted to a single vcard? we live in a strange world...
Meanwhile is have disabled WebDAV and use Nginx WebDAV on the same url/path as a workaround. This works great and is a little bit faster than SabreDAV/WebDAV other the PHP stack. But maybe we can get a fix by SabreDAV itself. The behaviour is accepted as a bug.
Lifear said:
Hmm last time as i have played with NextCloud it uses SabreDAV 3.2.2 as the base for its DAV operations. But it was terrible slow against a pure SabreDAV installation on the same hardware. I wonder if it uses actually also SabreDAV or maybe they have made some modifications? And you say, you can upload such a export and download it again without getting the vcard converted to a single vcard? we live in a strange world...
Meanwhile is have disabled WebDAV and use Nginx WebDAV on the same url/path as a workaround. This works great and is a little bit faster than SabreDAV/WebDAV other the PHP stack. But maybe we can get a fix by SabreDAV itself. The behaviour is accepted as a bug.
Click to expand...
Click to collapse
Sure, Sabredav is included in nextcloud but I think it is they develop it independently from its source. I can upload vcf like the format I mentioned before. If I download them again from nextcloud contacts they are changed a little bit:
BEGIN:VCARD
VERSION:4.0
PRODID:+//IDN bitfire.at//DAVdroid/1.11-ose ez-vcard/0.10.3
UID: xxxxxxxxxxxxxxxx
...
...
REV:20180422T201525Z
END:VCARD
But I have no problems to import them again. So android uses an older vcf format than nextcloud/carddav.

Categories

Resources