Skip to content

Commit

Permalink
adding php,html,js extension and enable https
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberRoute committed Aug 19, 2023
1 parent 8020bc7 commit e2ae317
Show file tree
Hide file tree
Showing 3 changed files with 9,678 additions and 29 deletions.
8 changes: 7 additions & 1 deletion cmd/bruter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func main() {
}()

buffer := make([]byte, 500000) // 500K(almost)
file, err := os.Open("db/apache-list")
file, err := os.Open("db/dict.txt")
if err != nil {
log.Fatal().Err(err).Msg("")
}
Expand All @@ -116,6 +116,12 @@ func main() {

for index, payload := range list {
index += shift

// Replace %EXT% with extensions
payload = strings.ReplaceAll(payload, "%EXT%", "php")
payload = strings.ReplaceAll(payload, "%EXT%", "html")
payload = strings.ReplaceAll(payload, "%EXT%", "js")

progress := 100 * float32(index) / float32(total)
queue.Add(async.Job(&workerContext{
Mu: &app.Mu,
Expand Down
Loading

0 comments on commit e2ae317

Please sign in to comment.