Skip to content

Commit

Permalink
initial rdp, disabled for now
Browse files Browse the repository at this point in the history
  • Loading branch information
x90skysn3k committed Mar 3, 2024
1 parent 4bab975 commit bb90230
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# BruteSpray

![Version](https://img.shields.io/badge/Version-2.2.3-red)[![goreleaser](https://github.com/x90skysn3k/brutespray/actions/workflows/release.yml/badge.svg)](https://github.com/x90skysn3k/brutespray/actions/workflows/release.yml)[![Go Report Card](https://goreportcard.com/badge/github.com/x90skysn3k/brutespray)](https://goreportcard.com/report/github.com/x90skysn3k/brutespray)
![Version](https://img.shields.io/badge/Version-2.2.2-red)[![goreleaser](https://github.com/x90skysn3k/brutespray/actions/workflows/release.yml/badge.svg)](https://github.com/x90skysn3k/brutespray/actions/workflows/release.yml)[![Go Report Card](https://goreportcard.com/badge/github.com/x90skysn3k/brutespray)](https://goreportcard.com/report/github.com/x90skysn3k/brutespray)

Created by: Shane Young/@t1d3nio && Jacob Robles/@shellfail

Expand Down
14 changes: 14 additions & 0 deletions brute/rdp.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
package brute

import (
"fmt"
"time"
)

func BruteRDP(host string, port int, user, password string, timeout time.Duration) (bool, bool) {
fmt.Println("not needed")
return false, false
}

/*
package brute
import (
"context"
"fmt"
Expand Down Expand Up @@ -120,3 +133,4 @@ func (g *RdpClient) Close() {
g.tpkt.Close()
}
}
*/
4 changes: 2 additions & 2 deletions brute/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ func RunBrute(h modules.Host, u string, p string, progressCh chan<- int, timeout
result, con_result = BruteTeamSpeak(h.Host, h.Port, u, p, timeout)
case "xmpp":
result, con_result = BruteXMPP(h.Host, h.Port, u, p, timeout)
case "rdp":
result, con_result = BruteRDP(h.Host, h.Port, u, p, timeout)
//case "rdp":
// result, con_result = BruteRDP(h.Host, h.Port, u, p, timeout)
default:
//fmt.Printf("Unsupported service: %s\n", h.Service)
return con_result
Expand Down
2 changes: 1 addition & 1 deletion brutespray/brutespray.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var masterServiceList = []string{"ssh", "ftp", "smtp", "mssql", "telnet", "smbnt

var BetaServiceList = []string{"asterisk", "nntp", "oracle", "xmpp"}

var version = "v2.2.3"
var version = "v2.2.2"

func Execute() {
user := flag.String("u", "", "Username or user list to bruteforce")
Expand Down

0 comments on commit bb90230

Please sign in to comment.