feat: build wahrwelt A/D toolkit
This commit is contained in:
1 parent
303438d206
commit
653924d8c6
564 files changed
+36310
-49998
No files matched your search
@@ -0,0 +1,25 @@
|
||||
package queue
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/c4t-but-s4d/neo/v2/internal/models"
|
||||
)
|
||||
|
||||
type Output struct {
|
||||
Exploit *models.Exploit
|
||||
Target *models.Target
|
||||
Out []byte
|
||||
}
|
||||
|
||||
func NewOutput(job *Job, out []byte) *Output {
|
||||
return &Output{
|
||||
Exploit: job.Exploit,
|
||||
Target: job.Target,
|
||||
Out: out,
|
||||
}
|
||||
}
|
||||
|
||||
func (o *Output) String() string {
|
||||
return fmt.Sprintf("%s (%s): %s", o.Exploit, o.Target, o.Out)
|
||||
}
|
||||
Reference in new issue
Block a user