mkbrutusproject / mkbrutus Goto Github PK
View Code? Open in Web Editor NEWPassword bruteforcer for MikroTik devices or boxes running RouterOS
License: Other
Password bruteforcer for MikroTik devices or boxes running RouterOS
License: Other
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?
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
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.
Just a question, what if the router does not have that exact port open, but does have other ports? can we use MKBRUTUS the same way? or it only works on that specific port?
Thanks.
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
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
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.
Hi i try to use mkbrutus to test my router but i have this issue:
_ _ _ _ _____ ____ _ _ ____ _ _ _____
| \/ || | / /| ___ \ ___ \ | | |_ _| | | / ___|
| . . || |/ / | |_/ / |_/ / | | | | | | | | \ `--.
| |\/| || \ | ___ \ /| | | | | | | | | |`--. \
| | | || |\ \| |_/ / |\ \| |_| | | | | |_| /\__/ /
\_| |_/\_| \_/\____/\_| \_|\___/ \_/ \___/\____/
Mikrotik RouterOS Bruteforce Tool 1.0.2
Ramiro Caire (@rcaire) & Federico Massa (@fgmassa)
http://mkbrutusproject.github.io/MKBRUTUS
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.
If a dict doesn't fit in memory while charging buffer :
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.
Line 220 in ddd5f8e
if s == b'':
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.
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:
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.