m4heshd / offlinebay

Official repository of the project OfflineBay
MIT License
118 stars 23 forks source link

Failed to read the dump file #18

Open jzatarain opened 5 years ago

jzatarain commented 5 years ago

I just downloaded the app for the first time, and when I opened it and searched for something, I only got an error saying: "Failed to read the dump file. Possible corruption or file doesn't exist." What do I need to do to work this out?

fckthisshieeeeet commented 5 years ago

Yeah i got the same issue : i tried many way to get .csv dump files and i tried to update with the option in the software and i tried all of this with a vpn for torrent and each time it told me "Dump file invalid. Mismatching header" or Failed to read the dump file. Possible corruption of file doesn't exist."

Naimarha commented 5 years ago

Hi there, I could solve this issue using the "Update dump file" option in the "Tools" menu. Hope this works.

yusiwen commented 5 years ago

The site piratebay.org seems down currently, is there another way to get the dump file?

DavidHulsman commented 5 years ago

A bit late, but you may be able to find an individual backup here: https://web.archive.org/web/*/https://thepiratebay.org/static/dump/csv/torrent_dump_full.csv.gz

BachoSeven commented 4 years ago

Yea, you can try this:

https://web.archive.org/web/20190924160713/https://thepiratebay.org/static/dump/csv/torrent_dump_full.csv.gz

GreenLunar commented 2 years ago

Hello,

Can someone please tell me how to decode the HASH(B64) column or refer me to a documentation?

$ grep slackware torrent_dump_full.csv.gz
2008-Dec-17 08:12:18;ZA/oTGE8F/ZjVR0hhommTorr6r4=;"slackware-12.2-dvd-iso";4154949894

I've tried to decode with $ echo ZA/oTGE8F/ZjVR0hhommTorr6r4= | base64 -d which didn't give a reasonable result.

TIA

GreenLunar commented 2 years ago

Let's take slackware-12.2-dvd-iso

$ grep "slackware" torrent_dump_full.csv 
2008-Dec-17 08:12:18;ZA/oTGE8F/ZjVR0hhommTorr6r4=;"slackware-12.2-dvd-iso";4154949894

Following size (4154949894) and date (2008-Dec-17 08:12:18), I guess this is the torrent https://thepiratebay.org/description.php?id=4582957

How do I go from 640FE84C613C17F663551D218689A64E8AEBEABE to ZA/oTGE8F/ZjVR0hhommTorr6r4=?

BachoSeven commented 2 years ago

oh got it, to get the hash you just need to convert the raw decoded bytes to hexadecimal with xxd:

base64 -d <<< ZA/oTGE8F/ZjVR0hhommTorr6r4= | xxd -p
GreenLunar commented 2 years ago

Great! Thank you. How did you figure this out?

BachoSeven commented 2 years ago

The output was garbled bytes so I tried :)

Btw, if you place the hash in a base64 decoding website they automatically do this, but GNU base64 doesn't.