mhaskar / dnsstager Goto Github PK
View Code? Open in Web Editor NEWHide your payload in DNS
License: GNU General Public License v3.0
Hide your payload in DNS
License: GNU General Public License v3.0
Create a DNSStager with ~3000 records using IPV6, but when run the downloader gets to around 500 records and then stops working. Tried with Golang client and TXT records and gets to around 300 before running out of memory.
Hi, I noticed that if on --output
argument a relative path is used (for example ./agent.exe
) , the agent is not generated. It works only using absolute paths. Maybe could be an improvement to make it work anyway (I spent some minutes until realize of what is happening).
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
main.runShellcode(0x0, 0x0)
/root/DNSStager/tmp/golangtemptemplate.go:61 +0x5bf
main.main()
/root/DNSStager/tmp/golangtemptemplate.go:135 +0x2e
Hello,
When ever i try to generate go lang payload i got this error:
usr/bin/go
golangtemptemplate.go:12:2: cannot find package "github.com/miekg/dns" in any of:
/usr/lib/go-1.18/src/github.com/miekg/dns (from $GOROOT)
/root/go/src/github.com/miekg/dns (from $GOPATH)
golangtemptemplate.go:13:2: cannot find package "golang.org/x/sys/windows" in any of:
/usr/lib/go-1.18/src/golang.org/x/sys/windows (from $GOROOT)
/root/go/src/golang.org/x/sys/windows (from $GOPATH)
[-] Error while generating the agent
i tryed installing as mentioned in github to install 1.16.3 and also "go install
golang.org/x/sys
github.com/miekg/dns
" with "@latest" on the end of each command and still can't create go lang payload.
i have very little experiance with go lang so any suggestions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.