mirror of
https://github.com/legitnull/go.r4t
synced 2024-06-16 03:48:05 +00:00
fixed typo
This commit is contained in:
parent
0bac742b9c
commit
a2dc45fe80
@ -1,16 +1,20 @@
|
||||
package main
|
||||
|
||||
import "net"
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net"
|
||||
)
|
||||
|
||||
func main {
|
||||
sIP := "127.666.27.1"
|
||||
Port := "55555"
|
||||
sAddy := SIP + ":" + Port
|
||||
func main() {
|
||||
sIP := "127.0.0.1"
|
||||
Port := "5555"
|
||||
sAddy := sIP + ":" + Port
|
||||
connc, err := net.Dial("tcp", sAddy)
|
||||
if err != nil{
|
||||
if err != nil {
|
||||
fmt.Println("Connection not established with server")
|
||||
log.Fatal(err)
|
||||
}
|
||||
fmt.Println("[+] Connection Established with: ", connec.RemoteAddr().String())
|
||||
fmt.Println("brain melting commencing")
|
||||
}
|
||||
}
|
||||
|
@ -6,10 +6,11 @@ import (
|
||||
"net"
|
||||
)
|
||||
|
||||
//main
|
||||
func main() {
|
||||
var connc net.Conn
|
||||
IP := "127.666.27.1"
|
||||
Port := "55555"
|
||||
IP := "127.0.0.1"
|
||||
Port := "5555"
|
||||
Addy := IP + ":" + Port
|
||||
|
||||
lis, err := net.Listen("tcp", Addy)
|
||||
|
Loading…
Reference in New Issue
Block a user