Skip to content

Md. Khairul Hasan Posts

Mikrotik Router Brute Force Prevention Script

After I have installed a mikrotik router at my home, and login to my router, the router log is messed up with failed login atempts from several ip address from the world. So, I have used the following script to ban the automated login attempts. ssh blocker / ip firewall filteradd chain=input protocol=tcp dst-port=22 src-address-list=black_list action=drop \comment=”drop ssh brute forcers”…

Leave a Comment

Arduino Solar Charge Controller – 1

I was sent to my home at 20th march, 2020 by my office due to the COVID-19 lock down. At my hometown, there were not all of the resources available like Dhaka city. Due to the fractional payment of the salaries and upcoming uncertainty, I was forced to do freelancing in the online freelancing platforms. There was too much load…

Leave a Comment

Dropzone.js – 4 [image preview: onclick image, open in new tab]

We often want to download/preview to make it sure what we have uploaded. A small thumbnail preview sometimes not enough. So, here is a small javascript. That will open the image in new tab. Full and final code can be found in my github repository :

1 Comment

Dropzone.js – 2 [deleting files]

Humans make mistakes, It’s their default behavior. It is possible that while uploading files people will upload unnecessary images and later they will want to delete those. In our previous version of dropzone test project, We only uploaded files. We were unable to delete those files. Lets implement this feature. So, an extra javascript added to the <script> tag to…

Leave a Comment