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

panic: strings: negative Repeat count #17

Closed
jamesjguthrie opened this issue Feb 2, 2022 · 3 comments
Closed

panic: strings: negative Repeat count #17

jamesjguthrie opened this issue Feb 2, 2022 · 3 comments

Comments

@jamesjguthrie
Copy link

jamesjguthrie commented Feb 2, 2022

Hey,

When trying a number of the example commands including:

Ivy -stageless -Ix64 stageless64.bin -Ix86 stageless32.bin -P Inject -process64 C:\\windows\\system32\\notepad.exe -process32 C:\\windows\\SysWOW64\\notepad.exe -O stageless.js

I get the error:

panic: strings: negative Repeat count

goroutine 1 [running]:
strings.Repeat(0x569f21, 0x4, 0xffffffffffffffff, 0xc00007ed78, 0x40971b)
	/usr/lib/go-1.13/src/strings/strings.go:533 +0x5aa
github.com/optiv/Ivy/Cryptor.StagelessArrayGen(0x0, 0x0, 0x0, 0x0, 0x0)
	/home/jabo/go/src/github.com/optiv/Ivy/Cryptor/Cryptor.go:84 +0x48
main.main()
	/home/jabo/go/src/github.com/optiv/Ivy/Ivy.go:128 +0xbc8

I'm running v1.12 on Ubuntu 20.04.3 LTS with the dependencies installed per your instructions.

@jamesjguthrie
Copy link
Author

Oh I just noticed that stageless32/64 binaries don't exist. Is your intention that we use a tool like Meterpreter to create those payloads?

@Tylous
Copy link
Contributor

Tylous commented Feb 3, 2022

stageless is a universal thing, most frameworks can and do stateless. That being you need to do raw shellcode not compiled binaries as the input.

@Tylous
Copy link
Contributor

Tylous commented Feb 11, 2022

Is this still an issue?

@Tylous Tylous closed this as completed Feb 19, 2022
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

2 participants