Giter Site home page Giter Site logo

rak00n / gospray Goto Github PK

View Code? Open in Web Editor NEW
21.0 3.0 7.0 10.16 MB

Tool to bruteforce Windows LDAP, Kerberos, RDP, SSH, FTP, HTTP basic and digest authentication

Go 100.00%
rdp remote-desktop-protocol ftp ssh basic-authentication brute-force digest-authentication go golang spray

gospray's Introduction

GoSpray

Simple tool to bruteforce (spray actually) different network protocols. GoSpray also supports restoration of interrupted tasks ("-restore").

GoSpray currently supports: rdp, ssh, ftp, Windows LDAP, Windows Kerberos, http basic and digest authentication

go run . -ul testUsernames.txt -pl testPasswords.txt -p ftp -tl targets.txt -w 10
---------------+
Success: 192.168.56.102:user:123
-------------------
go run . -ul testUsernames.txt -pl testPasswords.txt -p ftp -tl targets.txt -w 10
--------

CTRL+C

go run . -restore
-------+
Success: user:123
-------------------

-ul Path to file with usernames

-ul Path to file with passwords

-p Protocol to brute ( winldap, rdp, ssh, ftp, httpbasic, httpdigest )

-tl Path to file with targets (one target per line ex: "http://127.0.0.1:667/protected/folder/")

-w Number of workers (threads)

-debug Run with debug information (for now only httpbasic)

-restore use "progress.gob" to restore task

Target formats:

192.168.56.102 - for **ssh, rdp, ldap, ftp**

192.168.56.102:21 - for **ssh, rdp, ldap, ftp**

http://192.168.56.102:80/2 - for **basic** and **digest authentication**

test.local:88 - for **Windows Kerberos**

Examples:

spray.exe -ul testUsernames.txt -pl testPasswords.txt -p ssh -tl targets.txt -w 10

spray.exe -ul testUsernames.txt -pl testPasswords.txt -p httpbasic -tl targets.txt -w 10 -ru -rp

spray.exe -restore

gospray's People

Contributors

gd12121 avatar rak00n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gospray's Issues

Why is it printing + on each string?

I was testing it like that
GoSp.exe -p httpbasic -pl pass.txt -tl ip.txt -ul user.txt -rp -ru -w 10
but it's printing "+" or "++" on each string. Also i was testing it with correct username and password but the same thing.

Success: www.cmd5.org:asad23232:asdafswe2

Success: www.cmd5.org:sdgsdgfsd:asdafswe2
+
Success: www.cmd5.org:sdfsdfsdf:asdafswe2
+
Success: www.cmd5.org:asdasdasd:asdafswe2
+
Success: www.cmd5.org:asad23232:asd23dd2wdw
+
Success: www.cmd5.org:sdfsdfsdf:asd23dd2wdw
+
Success: www.cmd5.org:sdgsdgfsd:asd23dd2wdw
+
Success: www.cmd5.org:asdasdasd:asd23dd2wdw

Error while running sudo go run . -ul usernames.txt -pl /usr/share/wordlists/rockyou.txt -tl targets.txt -w 10 -p httpdigest

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x72292b]

goroutine 7 [running]:
main.digestSpray(0xc009c18340?, 0xc004c31080?, {{0xc000099fc0, 0x1, 0x1}, {{0xc0000be9f7, 0xa}, 0x50, {0xc0000be9f0, 0x4}, ...}, ...}, ...)
/home/kali/GoSpray/digestSpray.go:33 +0x46b
created by main.main
/home/kali/GoSpray/main.go:140 +0xcc5
exit status 2

Target

Hello,
is there a way to add a target host file with a list of the targets?

signal: killed

go run . -ul logins.txt -pl passwords.txt -p rdp -tl ips2.txt -w 10 -debug
signal: killed

after 10sec
big base ips

debian 12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.