ActivityPub Viewer

A small tool to view real-world ActivityPub objects as JSON! Enter a URL or username from Mastodon or a similar service below, and we'll send a request with the right Accept header to the server to view the underlying object.

Open in browser →
{ "@context": [ "https://www.w3.org/ns/activitystreams", { "ostatus": "http://ostatus.org#", "atomUri": "ostatus:atomUri", "inReplyToAtomUri": "ostatus:inReplyToAtomUri", "conversation": "ostatus:conversation", "sensitive": "as:sensitive", "toot": "http://joinmastodon.org/ns#", "votersCount": "toot:votersCount", "litepub": "http://litepub.social/ns#", "directMessage": "litepub:directMessage" } ], "id": "https://social.mildlyfunctional.gay/users/artemist/statuses/113524977435370755", "type": "Note", "summary": null, "inReplyTo": null, "published": "2024-11-22T05:34:44Z", "url": "https://social.mildlyfunctional.gay/@artemist/113524977435370755", "attributedTo": "https://social.mildlyfunctional.gay/users/artemist", "to": [ "https://social.mildlyfunctional.gay/users/artemist/followers" ], "cc": [ "https://www.w3.org/ns/activitystreams#Public" ], "sensitive": false, "atomUri": "https://social.mildlyfunctional.gay/users/artemist/statuses/113524977435370755", "inReplyToAtomUri": null, "conversation": "tag:mildlyfunctional.gay,2024-11-22:objectId=2460109:objectType=Conversation", "content": "<p>wow, openbsd did something i actually like:<br>ELFs (elves?) have a section called <code>.openbsd.randomdata</code>, and any variable you put in there will be filled with random data by the kernel or dynamic linker when the program is started. OpenBSD puts its stack cookies there so they're ready immediately on program start.</p><p>Linux and FreeBSD both put a fixed number of random bytes into the ELF auxiliary vector (for linux, 16 bytes in <code>AT_RANDOM</code>; for FreeBSD <code>8 * sizeof(long)</code> bytes in <code>AT_CANARY</code>). Their respective libc implementations then have constructors that initialize the global canary variables.</p><p>This can be a bit annoying since libc has to make sure its constructor and anything that runs before it don't try to use the stack canary. Normal programs also can't use this mechanism to get syscall-free random numbers since they'd have no way of knowing which are stack canaries they can't leak.</p>", "contentMap": { "en": "<p>wow, openbsd did something i actually like:<br>ELFs (elves?) have a section called <code>.openbsd.randomdata</code>, and any variable you put in there will be filled with random data by the kernel or dynamic linker when the program is started. OpenBSD puts its stack cookies there so they're ready immediately on program start.</p><p>Linux and FreeBSD both put a fixed number of random bytes into the ELF auxiliary vector (for linux, 16 bytes in <code>AT_RANDOM</code>; for FreeBSD <code>8 * sizeof(long)</code> bytes in <code>AT_CANARY</code>). Their respective libc implementations then have constructors that initialize the global canary variables.</p><p>This can be a bit annoying since libc has to make sure its constructor and anything that runs before it don't try to use the stack canary. Normal programs also can't use this mechanism to get syscall-free random numbers since they'd have no way of knowing which are stack canaries they can't leak.</p>" }, "attachment": [], "tag": [], "replies": { "id": "https://social.mildlyfunctional.gay/users/artemist/statuses/113524977435370755/replies", "type": "Collection", "first": { "type": "CollectionPage", "next": "https://social.mildlyfunctional.gay/users/artemist/statuses/113524977435370755/replies?min_id=113525005800106901&page=true", "partOf": "https://social.mildlyfunctional.gay/users/artemist/statuses/113524977435370755/replies", "items": [ "https://social.mildlyfunctional.gay/users/artemist/statuses/113525005800106901" ] } }, "likes": { "id": "https://social.mildlyfunctional.gay/users/artemist/statuses/113524977435370755/likes", "type": "Collection", "totalItems": 5 }, "shares": { "id": "https://social.mildlyfunctional.gay/users/artemist/statuses/113524977435370755/shares", "type": "Collection", "totalItems": 0 } }