{"id":13339678,"url":"https://github.com/niklata/shmcat","last_synced_at":"2026-01-11T10:46:39.938Z","repository":{"id":53507877,"uuid":"19569649","full_name":"niklata/shmcat","owner":"niklata","description":"Dumps the contents of a SysV shared memory segment","archived":false,"fork":false,"pushed_at":"2022-08-04T01:22:52.000Z","size":5,"stargazers_count":18,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-24T02:32:24.587Z","etag":null,"topics":["posix","shm","sysv-ipc","unix"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/niklata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-08T10:30:45.000Z","updated_at":"2024-08-19T07:31:48.000Z","dependencies_parsed_at":"2022-08-23T11:20:55.240Z","dependency_job_id":null,"html_url":"https://github.com/niklata/shmcat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklata%2Fshmcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklata%2Fshmcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklata%2Fshmcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niklata%2Fshmcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niklata","download_url":"https://codeload.github.com/niklata/shmcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243052055,"owners_count":20228327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["posix","shm","sysv-ipc","unix"],"created_at":"2024-07-29T19:21:08.189Z","updated_at":"2025-03-11T14:32:17.087Z","avatar_url":"https://github.com/niklata.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shmcat\n\nCopyright (c) 2014-2017 Nicholas J. Kain.\n\nLicense: MIT\n\n## Introduction\n\nPrints the contents of a SysV shm segment.\n\n## Motivation\n\nSysV shared memory can be used as a persistent store of state that lives\nin a separate namespace from the filesystem and the process table.  Thus,\nit is not uncommon for it to be used as a covert channel for malware.\n\nIt would be useful to be able to examine the contents of shm segments,\nbut unfortunately there is no standard tool to do so.  shm segments can\neasily be listed using the POSIX ipcs utility, but there is no standard\nprogram to dump the contents of a shm segment given a shmid.\n\nshmcat is a very simple program written to fill this gap and make it\neasy to analyze the contents of shm segments.\n\n## Building\n\n`gcc -O2 -std=gnu99 shmcat.c -o shmcat`\n\n## Install\n\nCopy to wherever you like.  A good place might be `/usr/local/sbin`.\n\n## Usage\n\nFirst, find an interesting shmid.  To get a list of all shmids on\nthe system:\n\n`ipcs -m`\n\nNow, given the \u003cshmid\u003e:\n\n`shmcat \u003cshmid\u003e`\n\nThe output should be very similar to that of a hex editor.  It can of\ncourse be redirected to a file using standard unix shell facilities.\n\n## Downloads\n\n* [GitLab](https://gitlab.com/niklata/shmcat)\n* [Codeberg](https://codeberg.org/niklata/shmcat)\n* [BitBucket](https://bitbucket.com/niklata/shmcat)\n* [GitHub](https://github.com/niklata/shmcat)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklata%2Fshmcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniklata%2Fshmcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniklata%2Fshmcat/lists"}