Closed ZaddyWaddy closed 2 months ago
My friend @SecDbg will look at it, since my english is corrupted💀
In order to fix the first issue, redownload the latest version from the repo. You're using an outdated one with two hideconsole packages, and this was fixed.
The second error? No fucking idea. I have no idea what is causing it, it's something to do with the sql parsing library. You're the second person I've seen with this error, and I don't know why it happens. I've tried replicating it but can't. I've built ThunderKitty on two PCs, and in a VM, and it's worked fine for me every time.
ah thanks for the help i was thinking it was to do with the version of mingw i had or something im on the latest one i thought i might have needed to downgrade tho
........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\hooks.go:13:7: undefined: libc.X__ccgo_sqlite3_log ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:347:28: tls.ID undefined (type libc.TLS has no field or method ID) ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:356:33: tls.ID undefined (type libc.TLS has no field or method ID) ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:365:28: tls.ID undefined (type libc.TLS has no field or method ID) ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:398:66: tls.ID undefined (type libc.TLS has no field or method ID) ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:407:66: tls.ID undefined (type *libc.TLS has no field or method ID) ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:26349:12: undefined: libc.X__mingw_vsnwprintf ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:92826:10: undefined: libc.X_InterlockedCompareExchange ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:92832:9: undefined: libc.XInitializeCriticalSection ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:92854:10: undefined: libc.X_InterlockedCompareExchange ........\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:92854:10: too many errors Error building executable: exit status 1
yeah i downloaded the latest one and it gives me that ill take more of a look into it if i find a fix ill update this
are you on windows?
The issue happens on Windows, both 10 and 11. I still can't reproduce it so not sure why.
i will reproduce with you
Shut the fuck up
windows 11 yeah
im trying with msys64 apparently before i had some other one like cygwin or smth like that i forgot what it said
Cygwin is the same thing as Msys or whatever as far as I know, they're both just CLI tools. Did you install MinGW-w64 using Msys like the Microsoft guide stated?
i did just now not before tho im trying it its taking a while for the go run command to work tho
yeah im so cooked might just install linux on a vm
hmm so gcc is installed also idk if the builder would work for linux, haven't tested compatibility you get the error while trying to actually build the stub right? not when running the builder
yeah when building the stub
idk man
Damnit. One solution I might suggest is creating a Windows VM and installing the Go toolkit and MinGW-w64 through Mysy2.
You won't be able to use the actual builder gui, but you can copy the main.go file from your main pc and build it using the command go build -ldflags "-s -w -H=windowsgui" main.go
You have to copy over the other files aswell if you do that. Might work
any specific windows version or nah?
i might try win 10 cuz im on win 11 right now
Windows 11 worked for me, but windows 10 is compatible the same as far as i know
is there any specific version of go i need i always just download the latest version
latest is fine, same with msys2 and mingw toolchain. latest versions of all
At this point I've no idea what actually causes the error. I doubt it's anything hardware related but at the same time I've had someone reinstall everything from scratch to no avail
is the visual studio code extension a requirement or nah
Nah vsc isn't required at all
alright the vm is installing right now
vm gave me an error about the graphics driver or something idk what happened
im trying to do it after uninstalling git on my pc now
yeah nah didnt work fuck knows
@SecDbg maybe we will release a console app? so we can avoid these typa problems?
okay i fixed it by changing all the sqlite ones u used to this one github.com/mattn/go-sqlite3
not sure if it will still send the stuff to telegram but i can see maybe?
it works
@SecDbg maybe we will release a console app? so we can avoid these typa problems?
builder isn't the issue. stub is
it works
It sent the message to telegram and compiled fine?
yeah
just from changing it over to the other sqlite github.com/mattn/go-sqlite3
did you change the code at all, for the different sqlite package, or did you keep it the same?
i changed the code in utils/browser for a few of them i think conn cookies downloads history logins all those just changing them to github.com/mattn/go-sqlite3 instead of the modernc
everything still seems to be working with it to such as anti triage vm and other stuff
should i upload it to virus total or another site?
it'll be detected right now anyway, stealer isn't undetected by windows defender atm as far as i know
alr alr
something is flagging, no idea if its a string or byte sequence or what
idk if we're gonna continue working on thunderkitty, i might start working on my own one that does everything in memory
still 6/74 on virus total thats crazy
not detected by malwarebytes either which is what most ppl use
main.go:6:2: found packages HideConsole (hideconsole.go) and HideConsoleWindow (hideconsolewindow.go) in C:\Users\urfat\Desktop\ThunderKitty-main\utils\hideconsole Error building executable: exit status 1
also gives this sometimes
modernc.org/sqlite/lib
....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\hooks.go:13:7: undefined: libc.X__ccgo_sqlite3_log ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:347:28: tls.ID undefined (type libc.TLS has no field or method ID) ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:356:33: tls.ID undefined (type libc.TLS has no field or method ID) ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:365:28: tls.ID undefined (type libc.TLS has no field or method ID) ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:398:66: tls.ID undefined (type libc.TLS has no field or method ID) ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\mutex.go:407:66: tls.ID undefined (type *libc.TLS has no field or method ID) ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:26349:12: undefined: libc.X__mingw_vsnwprintf ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:92826:10: undefined: libc.X_InterlockedCompareExchange ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:92832:9: undefined: libc.XInitializeCriticalSection ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:92854:10: undefined: libc.X_InterlockedCompareExchange ....\go\pkg\mod\modernc.org\sqlite@v1.30.1\lib\sqlite_windows.go:92854:10: too many errors main.go:6:2: found packages HideConsole (hideconsole.go) and HideConsoleWindow (hideconsolewindow.go) in C:\Users\urfat\Desktop\ThunderKitty-main\utils\hideconsole