Skip to content

Commit 316aeeb

Browse files
final touch up on comments
1 parent 3d52d83 commit 316aeeb

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

protocol/dotnetremoting/dotnetremoting.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
// This is effectively a library for .NET remoting functionality
22
// The exploit remoting service tool by tyranid was the primary
3-
// resource for this and this is basically a port of that project with the ntlmssp
43
// Note: Everything is in little endian
54

65
// Usage Example:
76
// data = "\x00\x00blahblah"
87
// uri = "tcp://192.168.113.231:9999/SomeEndpoint"
9-
// conn,err := dotnetremoting.GetNTLMSSPTCPConnection("user", "asdf", "192.168.113.231:9999")
10-
// if err != nil {
11-
// fmt.Println(fmt.Sprintf("Error connecting: %s", err))
12-
// return
13-
// }
8+
// // conn = get a net.Conn somehow...
149
// newmessage := dotnetremoting.Message{}
1510
// newmessage.WriteDefaultPreamble(dotnetremoting.OperationRequest, len(data), uri)
1611
// _,err = conn.Write([]byte(newmessage.GetMessage(data))) // NOTE THE GetMessage call here, this finalizes the message

0 commit comments

Comments
 (0)