Last Updated: 18th April, 2014, 22:04 gmt+5
Post Index :
- Recover password via router (non-encrypted) backup file using web site
- Old method to recover password using backup file via Linux
- Recover password from particular versions using exploit [added August 2019]
According to information on Mikrotik WIKI and forums, it is not possible to recover the passwords without resetting whole mikrotik box (resulting in loss of all configuration also). However following are few methods to recover the password.
1# Recover password from BACKUP file using a website
https://www.mikrotikpasswordrecovery.net/
If you require it on urget basis, you can email me your config, and I will recover it for you, just in case if you dont have linux or urgency is required. make sure the backup file is made using dont use encyption method.
2# Recover password by mounting Mikrotik x86 ver Hard disk in Linux LIVE CD and do recovery [not updated since last year, it was tested with ROS 5.x seriesn)
2# Recover password from BACKUP file using Linux [working as of april 2014]
Login to your Ubuntu / Linux Box,
Download mikrotik password recovery tool and compile it by following commands,
sudo apt-get update sudo apt-get install build-essential g++ libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext libz-dev mkdir /temp cd /temp wget http://manio.skyboo.net/mikrotik/mtpass-0.9.tar.bz2 tar jxvf mtpass-0.9.tar.bz2 cd mtpass-0.9 make #If you receive *error* after issuing make command, then you can use following command to compile it in desi JUGAAR (workaround) way hehehehe g++ mtpass.cpp -lgnutls-openssl -o mtpass
Now upload/copy your Mikrotik Backup File to /temp folder ( Either using WINSCP gui tool, WEBMIN File Manager, via USB or any other method you like)
Now Issue the following command
./mtpass /temp/zaibmikrotik.backup
It will show you all account passwords in few seconds.
As shown in the image below . . .
# Recover password of Mikrotik x86 PC Version without backup file – Tested with Mikrotik 5.18 version
Boot from Ubuntu LIVE CD
(I used Ubuntu 9.1 Desktop CD in this example, you can download it from following link.
http://old-releases.ubuntu.com/releases/karmic/ubuntu-9.10-desktop-i386.iso
Select “Try Ubuntu”
As Shown in the image below . . .
After you see Desktop, Open TERMINAL from APPLICATION > ACCESSORIES > TERMINAL
Now change to root user by
sudo su
Now check your partitions by issuing
fdisk -l
you will see something like below image.
You partition can be different, use your judgment to see what partition mt is in, either by mounting it one by one.
Now mount it any folder , for example
mkdir /temp
mount -t auto /dev/sda2 /temp
Now check its content by ls /temp and you will something like below image
*********************************************************
*********************************************************
Now Copy the ‘mikrotik password file’, (in newer ROS , it is located in /rw/store/user.dat) to USB flash drive, It will be used to decode the password.
(The USB flash drive should be ‘plug and play’ in Ubuntu Live. Just plug it in usb port and it will appear on desktop in few seconds , OR you can also copy it your network pc via configuring interface lan card accordingly)
(Note: In older ROS it is /nova/store/user.dat)
Now shutdown live cd.
then Boot from your Ubuntu box, and use the Method # 2 , described earlier in this article to decode password using mtpass tool from this file.
Copy the user.dat file where you have decompressed mt password tool . e.g /temp , now use the mt pass tool to recover password from this file.
./mtpass user.dat
and you will see your admin password.
As Now you have seen the password now, you can login into mikrotik pc router with your Old Password 🙂 🙂 🙂
Also it’s possible for you to send an SMS to your router, tell it to run a script (parameters supported) and the router can even respond, as it also supports SMS sending! More here:
http://wiki.mikrotik.com/wiki/Sms
You can setup an script just in case you forgot your password , and via sending sms, it can reset it to default. or send you return the new/original password.
4- Recover password from particular versions using
exploit [added August 2019]
Read more at
https://aacable.wordpress.com/2019/08/07/exploiting-mikrotik-for-good/
Regard’s
SYED JAHANZAIB
https://aacable.wordpress.com
Assalam- o – Alaiqum
How are you Jahanzaib bhai….
Please give me your number i want to ask you some question about mikrotik iam very new plz plz plz i will never distrub u again n again….
iffi123us@hotmail.com
LikeLike
Comment by Irfan Alam — January 14, 2012 @ 12:31 PM
Awesome!!
LikeLike
Comment by Sridhar Iyer — January 14, 2012 @ 1:55 PM
Very very helpful post… THANKS ZAIB BHAI
LikeLike
Comment by Mobeen Ahmad — January 15, 2012 @ 8:58 PM
Very good your site man, maybe you can help us to learn how to install the mikrotik (without GUI) in a virtual machine in UBUNTU plz, so we can get the mikrotik + cache and other tools in one unique PC ;).
Best regards, from Brazil!
LikeLiked by 1 person
Comment by int21 — January 24, 2012 @ 12:39 AM
It’s very simple.
Just isntall VM , create new machine, adjust its hardware as per your requirements ,
Download Mikrotik in ISO format,
Boot from this ISO in the newly created vm ,
install it,
and have fun 🙂
I will write about it soon.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — January 24, 2012 @ 11:09 AM
Hi Syed,
We use our own Radius and Mikrotik as NAS for PPPoE & Hotspot users. The thing we require is dynamic queues for users getting connected. Eg. day 512 kbps and night 1 mbps. From Mikrotik forum we’ve got that it cant be done for PPPoE coz Mikrotik doesn’t supports CoA, but can be achieved for Hotspot users.
Any idea how it can be done?
LikeLike
Comment by rajjuneja — February 9, 2012 @ 2:14 PM
Well I have used Radius Manager along with Mikrotik and it works fine.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — February 9, 2012 @ 3:21 PM
You mean its applicable for both PPPoE & HotSpot clients ? But cant see any option of configuring that while creating new services in Radius manager. Just have the option of Data rates along with Burst limit, threshold and time. How do give someone 512 kbps from 6 am to 8 pm and 1 mbps from 8 pm to 6 am. ????
LikeLike
Comment by rajjuneja — February 9, 2012 @ 3:31 PM
use Radius manager v 3.9 it is support CoA
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — February 9, 2012 @ 7:43 PM
use Radius manager v 3.9 it is support CoA
LikeLiked by 1 person
Comment by sapisutod — March 3, 2019 @ 10:01 PM
3.x is way too old. if you use mikrotik 63. or lesser, then dma 4.1.x series will still work fine.
either downgrade mikrotik (which is really not recommended by seeing latest threats,) or upgrade dma to 4.2
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — March 3, 2019 @ 10:18 PM
Thnx, got it !!!!
LikeLike
Comment by rajjuneja — February 9, 2012 @ 8:36 PM
Hi Sayed, once again……..
If we have Radius manager and Mikrotik NAS, and if we want to use it for Hotspot. So is it possible that the DHCP pool on NAS is private say 10.5.50.0/24 and after guests gets logged in, the guest should be provided with a public ip from a public pool say 1.1.1.0/25 for that session (till the time the user is logged in) after the user logs out the ip should be free. The assignment of Public IPs to private IPs (after users gets logged in) should be random. So, can Radius Manager keep session logs of users along with logged in time, logged out, its private ip and also public IP.
I earlier tried doing netmap of src-nat and dstn-nat, but there was no logs maintained of which private ip is assigned to which public ip. Even Mikrotik support says that there isnt any option currently to log the netmaps.
We have to maintain fool-proof security as per the law of DoT, thus need to allocate users with unique Public Ip for each login (and not masquerade). And the problem is that we have very limited Public Ips (but enough to allocate the live concurrent users).
Would really appreciate if you could help me on this.
LikeLike
Comment by rajjuneja — February 10, 2012 @ 3:14 PM
Can’t say about Hotspot User,
in my opinion, You can define in RADIUS to provide Live ip to user via live public pool (live ip pool for users created in Mikrotik), so when mikrotik will assign any ip to user, it will log this entry.
in Logs, you can see what ip was assigned to which users.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — February 10, 2012 @ 4:48 PM
That’s true when we have PPPoE clients, since IP is allocated only after users logs in (By Radius) but how can that be possible while using HotSpot.
Because any user getting connected to the HotSpot interface; Public IP will automatically be provided even when the user doesn’t logs in. That would result in wastage of Public IPs.
I want public ips to be assigned only after users logs in. And that, either Radius should have the users Public IP detail of the session, or else Mikrotik should manage logs of which private IP is mapped to which public IP along with time-stamp (Logs send to Syslog server).
LikeLike
Comment by rajjuneja — February 10, 2012 @ 5:26 PM
Sorry I haven’t used hotspot anywhere so can’t guide you in the right path.
Have you tried posting your query to mikrotik forum ? Maybe some one will come up with any work around. I am sure you will get good and authentic replies over there.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — February 11, 2012 @ 11:45 AM
Hi,
We now have a network with Radius Manager and Mikrotik as NAS for PPPoE users. We have obeserved that while creating profile/plans like 1mbps day and 2 mbps night (7 am to 9 pm 1 mbps & 9 pm tp 7 am 2 mbps) on Radius Manager, the queue (rate-limit) of the pppoe users does not changes on the fly but if the user logs out and logs in again at the night time the user gets the queue of 2 mbps. Mikrotik support says that CoA is only for HotSpot and not for PPPoE thus cannot change rate-limit of connected pppoe users. CoA for PPPoE only supports DM (Disconnect-Message) or so called PoD(Packet of Disconnection) to disconnect the connected pppoe users.
Is there any solution which can change the queue/rate-limit of the pppoe users on the fly without disconnecting the users.
Would appreciate your reply.
LikeLiked by 1 person
Comment by rajjuneja — April 18, 2012 @ 1:38 PM
Change on the fly is Not supported for pppoe clients. No proper solution for this. I made an ugly workaround for this that I configured a script on Mikrotik PPPoE Server which disconnects all sessions on Mikrotik at 12:00am, and 12pm to enforce rate changes.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 19, 2012 @ 8:49 AM
Can you please share the script configuration which you’ve mentioned above ?? Also anything done on Radius Manager or just on Mikrotik ??
LikeLike
Comment by rajjuneja — April 23, 2012 @ 5:19 PM
Just Mikrotik.
Also read this. a bit advance, but works according to this guy on the forum.
http://forum.mikrotik.com/viewtopic.php?f=9&t=52794
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 25, 2012 @ 11:03 AM
root@ijaz-laptop:/temp/mtpass-0.7# make
g++ -lssl -lcrypto mtpass.cpp -o mtpass
mtpass.cpp:26:25: error: openssl/md5.h: No such file or directory
mtpass.cpp: In member function ‘void cUserRecord::DecryptAndShowRecord()’:
mtpass.cpp:158: error: ‘MD5_DIGEST_LENGTH’ was not declared in this scope
mtpass.cpp:162: error: ‘key’ was not declared in this scope
mtpass.cpp:162: error: ‘MD5’ was not declared in this scope
mtpass.cpp: In function ‘int main(int, char**)’:
mtpass.cpp:264: error: ‘MD5_DIGEST_LENGTH’ was not declared in this scope
make: *** [mtpass] Error 1
root@ijaz-laptop:/temp/mtpass-0.7#
How can it be fixed….?
LikeLike
Comment by ijaz — May 9, 2012 @ 3:35 PM
Hello, we require load balancing along with failover. Eg LAN – 192.168.1.0/24. WAN 1 (interface ip) – 10.10.1.2 g/w 10.10.1.1 WAN 2 (interface ip) – 10.10.2.2 g/w 10.10.2.1. User with IP 192.168.1.2 could use WAN 1, user with IP 192.168.1.3 could use WAN 2 (using 2 different gateways @ the same time kind of load balancing) Similarly even other connected nodes on LAN should be distributed between 2 different gateways. And as soon as any one of the g/w is down the other should take over the whole LAN n/w. Again when the gateway is up load balancing should happen again.
Any idea ???
LikeLike
Comment by rajjuneja — May 11, 2012 @ 2:02 PM
I would like to do username=ip address of subscriber for external AAA/Radius server. with Hotspot i am able to do mac authentication & other authentication. but I want to use ip address rather then mac for authentication.
LikeLike
Comment by vishal — June 25, 2012 @ 1:43 PM
sir i cant login how can get backup bcos i forget password and username?????
LikeLike
Comment by lucky — October 22, 2012 @ 11:58 AM
dear i have 8 real ip and i want to give 5 real ip to my clients with dedicated 512k bandwdth…can you help me???? im from bangladesh
LikeLike
Comment by salman — December 2, 2012 @ 2:37 AM
when I do make I get:
/tmp/cceYZ7S0.o: In function `cUserRecord::DecryptAndShowRecord()’:
mtpass.cpp:(.text._ZN11cUserRecord20DecryptAndShowRecordEv[cUserRecord::DecryptAndShowRecord()]+0xd6): undefined reference to `MD5′
collect2: ld devolvió el estado de salida 1
make: *** [mtpass] Error 1
LikeLike
Comment by Sergio — December 17, 2012 @ 7:32 PM
Compile to:
g++ mtpass.cpp -o mtpass -lssl -lcrypto
LikeLike
Comment by Rodrigo Minelli.´. — January 16, 2013 @ 4:12 AM
hello dear,
i have gone thru ur discription over recovering password bt my problem is that i hv not found back up file in my system n i m nt used to use linex or wtevere is third option so is there any other easy option to recover the password for dumb user like me……???? i will be gr8full to u.
LikeLike
Comment by gurmeet singh — April 12, 2013 @ 6:46 PM
Do you have x86 version of mikrotik or RB ?
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 13, 2013 @ 10:09 AM
Will this password recovery (Live CD) supports the latest x86 version (5.25)?
When I try to copy the user.dat an error came out saying something like the file or directory does not exist.
Any ideas?
LikeLike
Comment by Ben — July 9, 2013 @ 1:29 PM
I guess it will work.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — July 10, 2013 @ 1:46 PM
I am not familiar with ubuntu commands. Please tell me if I did the right thing.
cp -i /rw/store/user.dat /dev/sdb1
and the error was:
No such file or directory
LikeLike
Comment by Ben — July 30, 2013 @ 2:26 PM
Dear, Jahanzeb
I am running mikrotik rb750gl billing on a wifi network. I don’t have enough knowledge about setting/configuration of mikrotik (someone had done this for me).
i just want to ask, that i see many ip addresses in my ip/firewall/connections page even there is no any active user on my active user list. I have doubt that someone is using my wifi network without proper user name / password. Please reply me..
LikeLike
Comment by safdar — March 30, 2014 @ 3:52 AM
Dont worry, Connection tab shows any ip that mikrotik is sensing on network.
But surely you should have proper firewall / security in place to avoid misuse of your internet/resources. Something like PPPOE server or hotspot.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 1, 2014 @ 11:01 AM
sir i have backup and dont know about any OS just windows
but i want to recover password plz suggest me at mughal.sharaz1@gmail.com
LikeLike
Comment by sharaz4113 — April 7, 2014 @ 11:58 PM
send the backup file and i will recover the pass for you.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 10, 2014 @ 9:45 AM
sir what is your Emaiil id ?
LikeLike
Comment by sharaz4113 — April 10, 2014 @ 10:41 AM
aacable at hotmail.com
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 11, 2014 @ 10:47 PM
i’ve sent you a mail with attached backups check it out plz
LikeLike
Comment by sharaz4113 — April 12, 2014 @ 10:55 PM
where you sent it ?
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 13, 2014 @ 1:00 PM
aaacable@hotmail.com
LikeLike
Comment by sharaz4113 — April 14, 2014 @ 2:12 PM
its AA not AAA
aacable @ hotmail.com
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 14, 2014 @ 2:53 PM
hmmm thats my mistake ok sir now i’ve sent again
LikeLike
Comment by sharaz4113 — April 15, 2014 @ 11:18 AM
Sir thank you so much now i want to make a script of my all mikrotik RB settings how i can do this??
LikeLike
Comment by sharaz4113 — April 17, 2014 @ 1:24 PM
Many Thanks for all you eforts .
Jazakom allah khiaran
could you please let me know what to do to fix the compilation errors of the mtpass.cpp file using Ubuntu live cd,
mtpass.cpp:26:25: error: openssl/md5.h: No such file or directory
mtpass.cpp: In member function ‘void cUserRecord::DecryptAndShowRecord()’:
mtpass.cpp:158: error: ‘MD5_DIGEST_LENGTH’ was not declared in this scope
mtpass.cpp:162: error: ‘key’ was not declared in this scope
mtpass.cpp:162: error: ‘MD5’ was not declared in this scope
mtpass.cpp: In function ‘int main(int, char**)’:
mtpass.cpp:264: error: ‘MD5_DIGEST_LENGTH’ was not declared in this scope
also could I compile the file under windows using cpp compiler ?
I have sent you a Bkp file to retrieve its admins passwords , many thanks in advance .
LikeLike
Comment by ahmed — April 15, 2014 @ 9:08 PM
@ which address?
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 17, 2014 @ 10:22 AM
first thanks for reply,
aacable@hotmail.com
LikeLike
Comment by ahmed — April 21, 2014 @ 4:23 AM
i send you the backup to your email
LikeLike
Comment by Eng mohammed — April 22, 2014 @ 12:47 AM
A.O.A sir i just lost my mikrotik password and the website http://www.mikerotikpasswordrecovery.com has been blocked or temporary unavailable kindly i’m in trouble i can’t creaet my users in my mt router please help i’ll be highly thankful to you.
LikeLike
Comment by zeeshan — May 15, 2014 @ 1:36 AM
sir i send you the backup kindly help thank you .
LikeLike
Comment by zeeshan — May 15, 2014 @ 1:51 AM
Replied.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — May 16, 2014 @ 8:28 AM
Replied.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — May 16, 2014 @ 8:28 AM
i want to contact with Syed Jhanzaib Shah Dear This is my cell no plz sms or call me 03002519729
LikeLike
Comment by Fida Rashdi — May 23, 2014 @ 12:00 PM
Mikrotik password recovery online tool https://www.mikrotikpasswordrecovery.net
LikeLike
Comment by Ungazan Slovakia — May 23, 2014 @ 11:20 PM
Hello.
I have next situation:
We are using Mikrotik (5.14) on virtual machine VMWare. We are lost Admin password. Also we doesn’t have a backup file to restore and also we can to reset it because it is very much to restore rules after this.
i have a make snapshot and make a OVF (Folder over file) export from VMWare ESXi (copy of mikrotik virtual machine) it is around 2.5 Gb. it is possible to get password or a backup configuration for mikrotik from this ?
Thank you.
LikeLike
Comment by Max — May 28, 2014 @ 1:46 AM
in your situation it is easier to recover the admin password 😉
Simply mount in your VM, mount ubuntu cd as boot device and boot from it, then use the following method from my guide. I used it in the past and it worked like a charm. I dont remember exact version of mikrotik I used, but i guess it was something 5.x
3# Recover password of x86 PC Version
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — May 28, 2014 @ 9:02 AM
or maybe exist another way/solution for virtual mikrotik to reset or get admin/root password without to lose any data
LikeLike
Comment by Max — May 28, 2014 @ 1:49 AM
Hello Syed, your material is very helpful!
However I have the same problem like ahmed
mtpass.cpp:26:25: error: openssl/md5.h: No such file or directory
mtpass.cpp: In member function ‘void cUserRecord::DecryptAndShowRecord()’:
mtpass.cpp:158: error: ‘MD5_DIGEST_LENGTH’ was not declared in this scope
mtpass.cpp:162: error: ‘key’ was not declared in this scope
mtpass.cpp:162: error: ‘MD5’ was not declared in this scope
mtpass.cpp: In function ‘int main(int, char**)’:
mtpass.cpp:264: error: ‘MD5_DIGEST_LENGTH’ was not declared in this scope
What can i do about it?
Thank you very much in advance.
LikeLike
Comment by George — June 12, 2014 @ 4:26 PM
Have you tried
#If you receive *error* after issuing make command, then you can use following command to compile it (workaround)
g++ mtpass.cpp -lgnutls-openssl -o mtpass
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — June 12, 2014 @ 4:28 PM
Yes i did.
and i tried with the Ubuntu Live CD
and on Centos 6.5 too
I think the problem starts here:
[root@localhost ~]# sudo yum install build-essential g++ libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext libz-dev
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
Setting up Install Process
No package build-essential available.
No package g++ available.
No package libssl-dev available.
No package libcurl4-gnutls-dev available.
No package libexpat1-dev available.
No package libz-dev available.
I can’t find the packages g++ libssl-dev ibcurl4-gnutls-dev libexpat1-dev ibz-dev
LikeLike
Comment by George — June 12, 2014 @ 5:32 PM
Syed problem solved!
I found the correct tools for Centos and I found the solution
Many thanks for the support anyway!
LikeLike
Comment by George — June 12, 2014 @ 6:09 PM
How about sharing your findings with us please?
LikeLike
Comment by Armand — July 22, 2015 @ 1:04 AM
plz send my password
LikeLike
Comment by Rashid King — June 16, 2014 @ 10:41 AM
hello!
I am haven’t backup file. How i do it? I want to recover my mikrotik password without factory reset. Please help me.
LikeLike
Comment by wannazaw — November 3, 2014 @ 2:13 PM
I haven’t backup file. How i do it? I want to recover my mikrotik password without factory reset. Please help me.
LikeLike
Comment by wannazaw — November 3, 2014 @ 2:16 PM
Officially, Without backup file, you cannot recover mikrotik password. Its by design.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — November 6, 2014 @ 8:16 AM
Slam Dear Sir !
Sir apka ye method for pc boht acha aur suitable h…
but sir ye bat clear krna chanta hon k Ubuntu ko cd pr write krna h ya kaisy thek rhy ga and sir usb flash pr Ubuntu ko download krna h ?
plz guid kr dein …thanks
LikeLike
Comment by Muhammad Tahir — January 3, 2015 @ 9:57 AM
sir i like to know thw mikretik password of private net which i like use ddns in my dvr but it is not allowing to give me a public ip to me can u help me to know it the ip is 119.235.49.218
LikeLike
Comment by sai surya teja — February 19, 2015 @ 5:02 PM
Reblogged this on weera00 and commented:
Recovery Mikrotik password.
LikeLike
Comment by weera00 — February 20, 2015 @ 1:23 PM
Please sir
I have not backup file for mikrotik router.I forgotten my password.How I do that? please tell me.
LikeLike
Comment by wannazaw — February 21, 2015 @ 1:17 PM
sir i want to take backup of microtik router board but occure a error “not permeted (9) what i can do in this condition
LikeLike
Comment by Rashid — April 8, 2015 @ 12:26 AM
are you using admin ID? have you checked the user rights? test it with
/user print
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 11, 2015 @ 3:01 PM
sir mary net k coustomer ko bar bar login krna parta ha un ko permanently sing in krny k liay kia kia jy router board 750 gl
LikeLike
Comment by RAshid — May 10, 2015 @ 6:16 AM
Hello,
I inehited a router orad 750 which unfortunately I cannot mount in a linux system. I have a limited user which cannot copy two backup files that are stored in the router. Even with limited fuctionality I can connect to the router via HTTP or Winox. THis user though, can’t copy the backups from the router to my computer: “Could not download file – not permited (9)”.
ANy suggestions on how can I access the router to copy the backup to get its password?
Thanks for any help.
LikeLike
Comment by Mikael — July 8, 2015 @ 4:39 AM
when I type make after compile command it only shows this make: Nothing to be done for `all’.
LikeLike
Comment by lombadass — July 28, 2015 @ 9:05 PM
You can get MTPass v0.9 Windows binary (cygwin DLLs provided):
Article: http://www.twitter.web.id/2013/01/download-mtpass-v09-for-windows.html
Download: http://www.mediafire.com/?f6f7tsj8j3qunst
LikeLike
Comment by TheDrive4 — February 7, 2016 @ 11:19 AM
Hi, i m manik.
Recently i have change my mikrotik Admin password. after that i have no any backup & unfortunately i forgot the password. What can i do now. Pls help me. I m in so much problem. My e-mail id: manikbrs01@yahoo.com. Pls help me …….
LikeLike
Comment by Manik Kumar — October 5, 2016 @ 11:12 AM
Dear Sir,
I am getting this !!!! please tell me about, why not showing password .
Reading file sysadm.backup, 738039 bytes long
Rec# | Username | Password | Disable flag | User comment
——————————————————————————————–
Sorry – no passwords were found in the file
LikeLike
Comment by Aminul Islam — March 1, 2017 @ 10:27 AM
probably the backup was encrypted (which is default with new mikrotik versions in 6,x) make sure when you take backup, remove set encryption to NO when taking backup. example
/system backup save name=mikrotik-backup-file dont-encrypt=yes
LikeLiked by 1 person
Comment by Syed Jahanzaib / Pinochio~:) — March 6, 2017 @ 11:32 AM
If you are getting the following error for md5 :
———————————————————–
/tmp/ccXm53cS.o: In function `cUserRecord::DecryptAndShowRecord()’:
mtpass.cpp:(.text._ZN11cUserRecord20DecryptAndShowRecordEv[_ZN11cUserRecord20DecryptAndShowRecordEv]+0xd5): undefined reference to `MD5′
collect2: error: ld returned 1 exit status
: recipe for target ‘mtpass’ failed
make: *** [mtpass] Error 1
———————————————————-
you will notice the makefile is calling this line: g++ -lssl -lcrypto mtpass.cpp -o mtpass
change that to add your system lib folder and it will solve your issue : g++ mtpass.cpp -L/usr/lib -lssl -lcrypto -o mtpass
voila. issue resolved.
LikeLike
Comment by KingPin — November 2, 2017 @ 3:04 AM
Dear Syed,
My name is shiva , i’m from India.My mikrotik winbox password was changed by some one it is at customer end, i dont have backup file and can’t re-install it because it is working condition at customer site. so please provide a solution for me to recover password.
Regards
Shiva
LikeLike
Comment by shiva — February 21, 2018 @ 6:21 PM
What exact version of mikrotik you are running?
Is it a) x86 based OR b) hardware? if b) what model & fw version.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — February 22, 2018 @ 8:50 AM
Thanks for the reply Syed…i have lost both version bridges password , one is 6.23 and another 5.20 versions…please help me, the both bridges are at customer end so i cannot reinstall it and i dont have any backup file….actually someone intentionally hacked my bridges.
waiting for your response.
Regards
shiva
LikeLike
Comment by shiva — February 23, 2018 @ 8:45 PM
dear sir
i lost my winbox password plz help me
LikeLike
Comment by zameer — April 13, 2018 @ 2:27 PM
if you have un-encrypted backup file, then you can recover, if not then you have to reset the mikrotik and do all config again.
LikeLike
Comment by Syed Jahanzaib / Pinochio~:) — April 14, 2018 @ 5:09 PM
[…] Пишуть люди […]
LikeLike
Pingback by Mikrotik. Recover admin password - Зайчик пише — September 29, 2018 @ 2:42 AM
[…] Use these methods:1. https://www.mikrotikpasswordrecovery.net2. https://aacable.wordpress.com/2012/01/1 … -password/ […]
LikeLike
Pingback by RouterOS v6 RC and v7 BETA • Re: Forgot My Mikrotik Winbox Password and Need to Recover it without Backup Configuration File – Mags Forum Technology — June 24, 2019 @ 12:29 PM
Kindly i am trying to recover my backup but it is giving me :
read:
default-encryption:
free:
LikeLike
Comment by Mahmoud — March 20, 2022 @ 10:51 PM