Skip to content

Commit 8ee2608

Browse files
committed
Fixed broken addr in main
1 parent d8b8dad commit 8ee2608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func requestRAM(port string) {
176176

177177
if inpt >= 0 && inpt < len(agentsList) {
178178
fmt.Println("[+] Requesting RAM.")
179-
sendMessage(msg, agentsList[inpt])
179+
sendMessage(msg, strings.Split(agentsList[inpt], ":")[0]+":"+strings.Split(agentsList[inpt], ":")[1])
180180
// Sleep for 1 second to give time to the server to be ready
181181
time.Sleep(1 * time.Second)
182182

0 commit comments

Comments
 (0)