MCPcopy Index your code
hub / github.com/Pizz33/GoThief

github.com/Pizz33/GoThief @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
28 symbols 49 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GoThief

集成了截图 键盘记录 剪贴版功能,用于网络限制场景下的信息搜集

背景

最近在攻防比赛中碰到这样的场景,目标机器访问内部应用系统由VPN进行统一管控,连接VPN后会断开与外网的连接,导致不能实时下发指令,因此便有了开发这个小工具的想法,通过截图 键盘记录 剪贴版获取目标在连接VPN后的操作,搜集敏感信息进行下一步的横向

Usage

通过输入不同参数调用不同功能,默认输出文件保存至目录 C:\Users\Public\Gothief

go build -trimpath -ldflags="-s -w -H windowsgui" main.go

  -c    clipboard 剪贴板
  -k    keylogger 键盘记录
  -s    screenshots 截屏

实现效果

image

image

References

https://github.com/atotto/clipboard

https://github.com/vova616/screenshot

https://github.com/uknowsec/keylogger

Extension points exported contracts — how you extend this code

HOOKPROC (FuncType)
(no doc)
main.go

Core symbols most depended-on inside this repo

monitorClipboard
called by 1
main.go
takeScreenshots
called by 1
main.go
SetWindowsHookEx
called by 1
main.go
CallNextHookEx
called by 1
main.go
UnhookWindowsHookEx
called by 1
main.go
GetMessage
called by 1
main.go
getForegroundWindow
called by 1
main.go
getWindowText
called by 1
main.go

Shape

Function 15
TypeAlias 8
Struct 4
FuncType 1

Languages

Go100%

Modules by API surface

main.go28 symbols

For agents

$ claude mcp add GoThief \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact