Giter VIP home page Giter VIP logo

Comments (5)

retoheusser avatar retoheusser commented on September 7, 2024 3

I highly doubt that this is possible, as the filename hashes are almost certainly non-guessable. They are directly returned from the Google storage bucket. However what you can do is to fetch your feed every day (with a cron job or similar) and store the results in a database. Then you will have a history of your friends' posts, as the .webp urls are static and infinitely valid.

from toofake.

MichaelNeys avatar MichaelNeys commented on September 7, 2024

I agree that the filename hashes are non-guessable. Is only the filename hash from the most recent bereal stored in the Google storage bucket?
Or maybe pulling a get request from the link https://cdn.bereal.network/Photos/(userhash)/post/*.webp, but I don't know how that could be achieved to fetch a list of contents from there...

from toofake.

retoheusser avatar retoheusser commented on September 7, 2024

I agree that the filename hashes are non-guessable. Is only the filename hash from the most recent bereal stored in the Google storage bucket? Or maybe pulling a get request from the link https://cdn.bereal.network/Photos/(userhash)/post/*.webp, but I don't know how that could be achieved to fetch a list of contents from there...

How do you want to do that if the hashes are not guessable and without knowing them? 🤷🏽

from toofake.

MichaelNeys avatar MichaelNeys commented on September 7, 2024

You don't need to know them I guess. It is possible to do ls or dir in a command line to get a list of files in a folder.
The photos on the servers from bereal are also files in a folder, but that's the thing I don't know, how to get a list of contents from a folder / url.

from toofake.

retoheusser avatar retoheusser commented on September 7, 2024

But we're not talking about your local computer where you can just traverse directories, but about Google storage bucket. If it was possible what you intend they would have a severed directory listing vulnerability and I doubt that Google has such an obvious vulnerability.

The photos on the servers from bereal are also files in a folder

I don't think that storage bucket is a simple folder on a filesystem. That's a world-class highly scalable virtualized abstraction of a filesystem.

from toofake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.