{"id":20860493,"url":"https://github.com/wakeward/playground","last_synced_at":"2026-04-10T23:06:04.665Z","repository":{"id":256160590,"uuid":"854472340","full_name":"wakeward/playground","owner":"wakeward","description":"General repository for experimenting with different coding languages","archived":false,"fork":false,"pushed_at":"2025-02-04T23:04:11.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T00:18:35.831Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wakeward.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-09T08:30:41.000Z","updated_at":"2025-02-04T23:04:14.000Z","dependencies_parsed_at":"2024-12-30T22:22:54.289Z","dependency_job_id":"b4c14529-23e6-4355-b2d8-1baf79b8d4f1","html_url":"https://github.com/wakeward/playground","commit_stats":null,"previous_names":["wakeward/playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wakeward%2Fplayground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wakeward%2Fplayground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wakeward%2Fplayground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wakeward%2Fplayground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wakeward","download_url":"https://codeload.github.com/wakeward/playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243233372,"owners_count":20258259,"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":[],"created_at":"2024-11-18T04:55:50.198Z","updated_at":"2025-12-27T00:51:12.157Z","avatar_url":"https://github.com/wakeward.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Playground\n\nGeneral repository for experimenting with different coding languages\n\n## Assembly\n\n`ww.asm` - \"Hello World\" example which prints \"wakeward\"\n`rs.asm` - reverse shell in assembly [Thx Xre0uS](https://github.com/Xre0uS/linux-reverse-shell-in-assembly/blob/main/reverse.asm)\n\n\n### Build and Execution\n\n#### ww.asm\n\n```bash\nnasm -f elf32 ww.asm -o ww.o\nld -m elf_i386 ww.o -o ww\n\n./ww\n```\n\n#### rs.asm\n\nSetup `nc` listener\n\n```bash\nnc -nlvp 4444\n```\n\nBuild and Execute\n\n```bash\nnasm -f elf64 rs.asm -o rs.o\nld rs.o -o rs\n\n./rs\n```\n\n### Notes from code reviewing\n\nFrom `rs.asm`\n\n- `CDQ` - Covert Doubleword to Quadword is an instruction that extends the sign bit of `EAX` into the `EDX` register.\n- `syscall` - is default way of entering kernel mode on x86-64. This instruction is not available in 32 bit modes of operation on Intel processors.\n- `XCHG` - Exchanges (swaps) the value of 2 registers\n- `JNS` - Jump if not sign\n- `SIL` - General purpose register (64-bit, the least significant bit 8 bits is assessible)\n\n[Ref](https://www.aldeid.com/wiki/Main_Page)\n\n## Go\n\nTesting\n\n```go\ngo run main.go\n```\n\nBuild for Linux (current environment)\n\n```go\ngo build -o rs main.go\n```\n\n## C\n\nBuild\n\n```bash\ngcc rs.c -o rs\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwakeward%2Fplayground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwakeward%2Fplayground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwakeward%2Fplayground/lists"}