Git Product home page Git Product logo

mkbrutus's People

Contributors

mkbrutusproject avatar rcaire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mkbrutus's Issues

Timeout

Hey could it be that your tool is not working with Router OS 6.2?
Because when i tried this i got :

[*] Starting bruteforce attack...

Traceback (most recent call last):
File "C:\Users\Leon\Desktop\mkbrutusproject-MKBRUTUS-e1b13ff\mkbrutus.py", line 364, in
main()
File "C:\Users\Leon\Desktop\mkbrutusproject-MKBRUTUS-e1b13ff\mkbrutus.py", line 330, in main
defaultcreds = apiros.login("admin", "")
File "C:\Users\Leon\Desktop\mkbrutusproject-MKBRUTUS-e1b13ff\mkbrutus.py", line 103, in login
for repl, attrs in self.talk(["/login"]):
File "C:\Users\Leon\Desktop\mkbrutusproject-MKBRUTUS-e1b13ff\mkbrutus.py", line 116, in talk
i = self.readSentence();
File "C:\Users\Leon\Desktop\mkbrutusproject-MKBRUTUS-e1b13ff\mkbrutus.py", line 140, in readSentence
w = self.readWord()
File "C:\Users\Leon\Desktop\mkbrutusproject-MKBRUTUS-e1b13ff\mkbrutus.py", line 149, in readWord
ret = self.readStr(self.readLen())
File "C:\Users\Leon\Desktop\mkbrutusproject-MKBRUTUS-e1b13ff\mkbrutus.py", line 178, in readLen
c = ord(self.readStr(1))
File "C:\Users\Leon\Desktop\mkbrutusproject-MKBRUTUS-e1b13ff\mkbrutus.py", line 220, in readStr
s = self.sk.recv(length - len(ret))
socket.timeout: timed out

Tried many things to make sure the port is open, i entered the correct ip and have a valid dictionary, but nothing changed. Any ideas?

Mikrotik 6.49.3 Issue

python3 mkbrutus.py -t 192.168.88.1 -p 80 -u admin -d rockyou.txt
_ _ _ _ _____ ____ _ _ ____ _ _ _____
| / || | / /| ___ \ ___ \ | | |_ | | | / |
| . . || |/ / | |
/ / |
/ / | | | | | | | | \ --. | |\/| || \ | ___ \ /| | | | | | | | | |--.
| | | || |\ | |
/ / |\ | |
| | | | | || /_/ /
_| |/_| _/_/_| _|_/ _/ _/__/

                  Mikrotik RouterOS Bruteforce Tool 1.0.2
       Ramiro Caire (@rcaire) & Federico Massa (@fgmassa)
                http://mkbrutusproject.github.io/MKBRUTUS

[*] Starting bruteforce attack...

Traceback (most recent call last):
File "/home/marco/mkbrutus/MKBRUTUS/mkbrutus.py", line 363, in
main()
File "/home/marco/mkbrutus/MKBRUTUS/mkbrutus.py", line 329, in main
defaultcreds = apiros.login("admin", "")
File "/home/marco/mkbrutus/MKBRUTUS/mkbrutus.py", line 103, in login
for repl, attrs in self.talk(["/login"]):
File "/home/marco/mkbrutus/MKBRUTUS/mkbrutus.py", line 116, in talk
i = self.readSentence();
File "/home/marco/mkbrutus/MKBRUTUS/mkbrutus.py", line 140, in readSentence
w = self.readWord()
File "/home/marco/mkbrutus/MKBRUTUS/mkbrutus.py", line 149, in readWord
ret = self.readStr(self.readLen())
File "/home/marco/mkbrutus/MKBRUTUS/mkbrutus.py", line 178, in readLen
c = ord(self.readStr(1))
File "/home/marco/mkbrutus/MKBRUTUS/mkbrutus.py", line 219, in readStr
s = self.sk.recv(length - len(ret))
socket.timeout: timed out

Using a MikroTIk 6.4.93 OS.

not working anymore

owkwkw
where the password it self is just "toor"
but nothing found.
error printed below
grimshoot-slurp-2020-03-30-20-35-49

Connection reset by peer

I am using rockyou.txt and using
python3 mkbrutus.py -t 192.168.1.254 -d rockyou.txt -u admin
and getting error
ConnectionResetError: [Errno 104] Connection reset by peer
please let me know if i am missing anything

Mikrotic OS 6x problem.

Posting the entire error here, hopping its some mistake I made :)

sudo python3 mkbrutus.py -t 192.168.123.10 -p 9090 -d /home/jack/Downloads/Lists/nomes.txt _ _ _ _ _____ ____ _ _ ____ _ _ _____ | \/ || | / /| ___ \ ___ \ | | |_ _| | | / ___| | . . || |/ / | |_/ / |_/ / | | | | | | | | \--.
| |/| || \ | ___ \ /| | | | | | | | | |`--.
| | | || |\ | |/ / |\ | || | | | | || /__/ /
| |/_| /**
/_| |/ _/ _/__**/

                  Mikrotik RouterOS Bruteforce Tool 1.0.2
       Ramiro Caire (@rcaire) & Federico Massa (@fgmassa)
                http://mkbrutusproject.github.io/MKBRUTUS

[*] Starting bruteforce attack...

Traceback (most recent call last):
File "mkbrutus.py", line 363, in
main()
File "mkbrutus.py", line 329, in main
defaultcreds = apiros.login("admin", "")
File "mkbrutus.py", line 103, in login
for repl, attrs in self.talk(["/login"]):
File "mkbrutus.py", line 116, in talk
i = self.readSentence();
File "mkbrutus.py", line 140, in readSentence
w = self.readWord()
File "mkbrutus.py", line 149, in readWord
ret = self.readStr(self.readLen())
File "mkbrutus.py", line 178, in readLen
c = ord(self.readStr(1))
File "mkbrutus.py", line 219, in readStr
s = self.sk.recv(length - len(ret))
socket.timeout: timed out
`
edit: it was my mistake, I was sending the port twice, so that was my mistake but this new error does not seem to be, apparently there is another issue open on the timeout problem, so if instructed I will close this one.

Problem traceback

Hi i try to use mkbrutus to test my router but i have this issue:

python mkbrutus.py -t (my router ip) -p 8291 -u admin -d 500.txt

      _   _   _   _  _____  ____ _   _  ____ _   _ _____
     |  \/  || | / /| ___ \ ___ \ | | |_   _| | | /  ___|
     | .  . || |/ / | |_/ / |_/ / | | | | | | | | \ `--.
     | |\/| ||    \ | ___ \    /| | | | | | | | | |`--. \
     | |  | || |\  \| |_/ / |\ \| |_| | | | | |_| /\__/ /
     \_|  |_/\_| \_/\____/\_| \_|\___/  \_/  \___/\____/

                  Mikrotik RouterOS Bruteforce Tool 1.0.2
       Ramiro Caire (@rcaire) & Federico Massa (@fgmassa)
                http://mkbrutusproject.github.io/MKBRUTUS

[*] Starting bruteforce attack...

Traceback (most recent call last):
File "mkbrutus.py", line 363, in
main()
File "mkbrutus.py", line 329, in main
defaultcreds = apiros.login("admin", "")
File "mkbrutus.py", line 103, in login
for repl, attrs in self.talk(["/login"]):
File "mkbrutus.py", line 116, in talk
i = self.readSentence();
File "mkbrutus.py", line 140, in readSentence
w = self.readWord()
File "mkbrutus.py", line 149, in readWord
ret = self.readStr(self.readLen())
File "mkbrutus.py", line 178, in readLen
c = ord(self.readStr(1))
File "mkbrutus.py", line 219, in readStr
s = self.sk.recv(length - len(ret))
socket.timeout: timed out

Thanks for youre time.

Memory error

If a dict doesn't fit in memory while charging buffer :

+1: [*] Starting bruteforce attack...

Traceback (most recent call last):
File "./mkbrutus.py", line 364, in
main()
File "./mkbrutus.py", line 297, in main
buffer = dictFile.read(8192*1024)
File "/opt/lib/python3.2/codecs.py", line 679, in read
return self.reader.read(size)
File "/opt/lib/python3.2/codecs.py", line 495, in read
self.charbuffer += newchars
MemoryError

I was running brutus on my router with 200mb of free ram, no swap. With 130Mb rockyou.txt
It might be usefull to make it read big dicts in chunks to prevent the crushes.

Kind regards - Peter Zhakov
Russia Saint-Petersburg.

ImportError

Please help me guys, when I run the script I get an error:

line 50, in
import posix
ImportError: No module named 'posix'

I tried the newest (Python 3.9.5) and the version probably used to make this script (Python 3.3.5) and I get the error on both of them, please help.

TypeError: str() takes at most 1 argument (2 given)

MKBRUTUS 1.0.2
Phyton 3.5.1
macOSX 10.11.3

ERROR 1: Sorry, Python 3.x is required to run this tool. Overrided changing IF statement!

ERROR 2:

[*] Starting bruteforce attack...

Traceback (most recent call last):
File "/library/python/mkbrutus.py", line 363, in
main()
File "/library/python/mkbrutus.py", line 329, in main
defaultcreds = apiros.login("admin", "")
File "/library/python/mkbrutus.py", line 103, in login
for repl, attrs in self.talk(["/login"]):
File "/library/python/mkbrutus.py", line 113, in talk
if self.writeSentence(words) == 0: return
File "/library/python/mkbrutus.py", line 132, in writeSentence
self.writeWord(w)
File "/library/python/mkbrutus.py", line 145, in writeWord
self.writeLen(len(w))
File "/library/python/mkbrutus.py", line 154, in writeLen
self.writeStr(chr(l))
File "/library/python/mkbrutus.py", line 212, in writeStr
r = self.sk.send(bytes(str[n:], 'UTF-8'))
TypeError: str() takes at most 1 argument (2 given)

No clue what to do next... Is it OS X?

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.