mirror of
https://github.com/legitnull/go.r4t
synced 2024-06-27 09:18:05 +00:00
add enemy
This commit is contained in:
parent
410f0e58ca
commit
101e78578d
@ -0,0 +1,15 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import "net"
|
||||||
|
|
||||||
|
func main {
|
||||||
|
sIP := "127.666.27.1"
|
||||||
|
Port := "55555"
|
||||||
|
sAddy := SIP + ":" + Port
|
||||||
|
connc, err := net.Dial("tcp", sAddy)
|
||||||
|
if err != nil{
|
||||||
|
fmt.Println("Connection not established with server")
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
|
fmt.Println("[+] Connection Established with: ", connec.RemoteAddr().String())
|
||||||
|
}
|
@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
var connc net.Conn
|
var connc net.Conn
|
||||||
IP := "192.168.1.204"
|
IP := "127.666.27.1"
|
||||||
Port := "55555"
|
Port := "55555"
|
||||||
Addy := IP + ":" + Port
|
Addy := IP + ":" + Port
|
||||||
|
|
||||||
@ -21,6 +21,6 @@ func main() {
|
|||||||
log.Println("[-] Connection not established!")
|
log.Println("[-] Connection not established!")
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("[+] Connection established from: " + connc.RemoteAddr().String())
|
fmt.Println("[+] Connection established from: " + connc.RemoteAddr().String())
|
||||||
fmt.Println()
|
fmt.Println("brain melting commencing")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user