Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

compile erro #15

Open
GhostRock37 opened this issue May 25, 2023 · 6 comments
Open

compile erro #15

GhostRock37 opened this issue May 25, 2023 · 6 comments

Comments

@GhostRock37
Copy link

hello,

i have an error when i use the framework.
I have golang go1.19.9 linux/amd64

do you have any idea ?

┌──(kali㉿kali)-[~/Freeze-main]
└─$ ./Freeze -I shellcode_roro.bin -encrypt -O shellcode_roro.exe

    ___________                                    
    \_   _____/______   ____   ____ ________ ____  
     |    __) \_  __ \_/ __ \_/ __ \\___   // __ \ 
     |     \   |  | \/\  ___/\  ___/ /    /\  ___/ 
     \___  /   |__|    \___  >\___  >_____ \\___  >
         \/                \/     \/      \/    \/ 
                                    (@Tyl0us)
    Soon they will learn that revenge is a dish... best served COLD...

[] Encrypting Shellcode Using AES Encryption
[+] Shellcode Encrypted
[!] Selected Process to Suspend: notepad.exe
[+] Loader Compiled
[
] Compiling Payload
exit status 2: panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x67feed]

goroutine 1 [running]:
main.appendListedPackages({0x0, 0x0, 0x6efe21?}, 0x1)
/home/kali/go/pkg/mod/mvdan.cc/[email protected]/shared.go:251 +0x7ad
main.toolexecCmd({0x7fff28bf0281, 0x5}, {0xc000016220?, 0x707c40?, 0x203000?})
/home/kali/go/pkg/mod/mvdan.cc/[email protected]/main.go:537 +0x310
main.mainErr({0xc000016210, 0x7590a0?, 0x9078e0?})
/home/kali/go/pkg/mod/mvdan.cc/[email protected]/main.go:396 +0x197
main.main1()
/home/kali/go/pkg/mod/mvdan.cc/[email protected]/main.go:237 +0x16e
main.main()
/home/kali/go/pkg/mod/mvdan.cc/[email protected]/main.go:137 +0x19

[+] Payload shellcode_roro.exe Compiled

┌──(kali㉿kali)-[~/Freeze-main]
└─$ go version
> go version go1.19.9 linux/amd64

                                                         `
@PocketDC
Copy link

Getting the same error, fwiw; go version go1.19.8 linux/amd64
tried in Windows but ran into the same problems as in #2

@Tylous
Copy link
Contributor

Tylous commented May 26, 2023

Try downgrading to 1.19.2 and see if that resolved it.

@PocketDC
Copy link

PocketDC commented May 30, 2023

Getting a different error now...progress?
image

command ./Freeze -I /home/kali/shell.bin -O /home/kali/out.dll

Tried with both source and the release version, go version is go version go1.19.2 linux/amd64

Also tried using HopHouse's fork at #9 and got the same error as the originoal up here the segmentation violation

@Tylous
Copy link
Contributor

Tylous commented May 30, 2023

what happens if you just specify -O out.dll in your command?

@PocketDC
Copy link

PocketDC commented May 30, 2023

Same thing, sorry I tried both hoping maybe the absolute path would help
image

@Tylous
Copy link
Contributor

Tylous commented May 30, 2023

okay I think I see the problem. I should have it resolved in a bit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants