How to protect your .MP3 from downloading in your OTT project

Securing your content is a crucial aspect, when it comes to downloading a media or a muti-media files from prying eyes of your users specially on an OTT based project if you’re working on to. Now this can get tricky and might cost you some money if you make up you’re mind in buying some plugins from third party vendors. The neat trick mentioned below helps for any .mp3 files or an .aac file, song which you want it to be secured and by no means want them to be downloaded by your clients or users/readers/listeners etc.

The code is mentioned below on my GitHub repo as well as screengrab here, now this is again for hard coded from scratch for OTT platforms only.

here is the website:

https://akupedia.github.io/mp3dang/

the full code can be inspected here for reference:

https://github.com/akupedia/mp3dang/blob/master/code.html

Behold, a Giant I’m I, prevent piracy and be safe!

How to make a simple yet powerful Blog powered by Jekyll

We all have seen the power of Static Site Generators also known as SSG’s. They are lightning fast, pretty friendly on the SEO as well as super easy to use and customize. Today we’d be talking of the most preferred SSG know as Jekyll which is on Ruby programming language and let us see how did I get my first ever hobby GitHub Jekyll powered blog up and running in no time.

(Before I begin do read the official documentation as this shall make things super easy for you). Firstly clone any given theme. This can be done by selecting an official free theme from the Jekyll’s collection/showcase website, here http://jekyllthemes.org/

Second, if possible try and hunt for a GitHub or GitLab link where the repositories are hosted this makes the kickstart pretty easy.

Third with a little knowledge of HTML and markdown create posts and edit straight away from the _posts folder on the fly with the GitHub editor which makes perfect sense for me at least for my content publishing chores. And finally upload all the files on your very own free 0$ repository on GitHub or GitLab, yay!

Here is a nifty screengrab from the source:

For more details you may see this

https://jekyllrb.com/docs/installation/

For my very own setup of the hackers theme for my blog feel free to visit here:

https://github.com/akupedia/akupedia.github.io

This is my final showcase or the end result of what I’ve achieved.

Happy h@cking!

Souk – A cool way to install Flatpak App on Linux.

While talking about the famous Snapcraft which is gaining some traction for the users of Ubuntu and Linux Mint as well as other derivatives for Ubuntu based distros out there. “Souk” a new way or rather a slick end to install or replace the apps on Linux via the GUI which is not to be confused with the Gnome software center or the Ubuntu Software Center in general. It is not a software replacement tool rather a very own way to install via Flatpak repos out there.

“Souk” meaning the (Arab bazaar or the marketplace) is built using the GTK4(gonna release very soon in the end of 2020). Also uses Rust programming language for the backend and it’s fast as per the user experience is concerned. The code can be found out on gitlab page here.
Some FAQ’s are answered here:

FAQ

-> What is the goal/scope of Souk?

Souk just wants to do one thing well – provide a Flatpak-focused app store. Not more – not less. To achieve this we’re using Rust and GTK4. We intend to support desktop and mobile devices, and use libhandy to build our adaptive interface.

-> Is Souk going to replace GNOME Software?

No. GNOME Software does a lot more things like doing firmware upgrades, managing packagekit packages, or doing complete OS upgrades. We don’t want to add such functionality in Souk.

-> Is Souk an official GNOME app?

No. Souk is an independent third-party application.

that’s all for now.

How to find where the websites is hosted, IP, owner etc, ports open and the rest info – Google Chrome extension

Well interested in finding the lurking information for any website which you need the maximum info of that or from it?, well you’re in luck for most of the time in-case you use this cool plugin which shall many times come handy and is basically a info sec tool in reality but can also be used for productivity purpose. Meet Shodan.

The Shodan plugin tells you where the website is hosted (country, city), who owns the IP and what other services/ ports are open.

The Shodan plugin for Chrome automatically checks whether Shodan has any information for the current website. Is the website also running FTP, DNS, SSH or some unusual service? With this plugin you can see all the info that Shodan has collected on a given website/ domain.
Do note that this plugin is somewhat outdated but does the job most surprisingly well indeed.

SSH via browser – Google Chrome

Wanna geek around SSH and use a browser for that, well you’re on luck and this is not something new, few folks working at Google have found out the way using a SSH or a secure shell via or with a browser is possible and the simplest way to do this is through using an extension. We shall consider Google Chrome browser and install the extension via the Chrome Web Store.

Terminal emulator and SSH and SFTP client. The name here says it all. Find this cool extension fro Google Chrome here…

https://chrome.google.com/webstore/detail/secure-shell-dev/algkcnfjnajfhgimadimbjhmpaeohhln

Happy SSH’ing!!! meanwhile let me know which other SSH clients you guys prefer on Google Chrome or Firefox, comments are open below.

Why Linux is a preferred choice for Techies

Talking about nerds and geeks whomsoever concern 😉 Linux is definitely a way to go for a plethora of reasons. The free and open source nature and a strong code base makes it all the lovable reasons for a wannabe techie to adore Linux. Now wait I know there are plenty of Mac folks out there who are also techies and perhaps Windows users too but we are not considering this here for time being at-least as firstly this is a blog powered on open source tech and written on Linux OS and secondly Mac’s are shiny exhilarating flamboyant toys which costs too much and hey those Windows well they are Windows after all and take your call now, we ain’t talking on Mac and Windows, only Linux here folks so here we go:

Flavors, yummy makes me hungry:

When we talk about Linux and it’s ecosystem, boy there are not one or two but perhaps gazillions of flavors which we know and call them as distros or distributions in a way. From forks to respins, we have all the fancy bells and whistles which keep on blowing and sparking finesse here and there in the so called Linux ecosystem.

Choices, well I’ve to think and Google perhaps

Having the freedom of choice is great but techies are smart and they do some re-searching here and there over the internet and find the best or the most preferred way of there computing chore thing well suited for them and here is were we know Linux wins. From desktop choices to packages, front-ends and back-ends, well i mean the look and feel right from the terminal windows till the GUI and rest nitty gritty.

Beautiful and Ugly perhaps, bring em’ on

Well there are distros which are aesthetically so beautiful and pleasing to the eye. And there are some of them which does the job well and are oriented for specific purposes of just getting the task/work done for the end user and does little or maybe nothing to make things pleasing but finally the Linux kernel r0cks!

Faster then the fastest

Yay, Linux is fast, damn fast IMO it’s fastest OS the world has ever seen. Till this date Windows stands no match in terms of speed and i know Mac’s are blazing fast but they are Unix and matured than Linux, wait Linux still wins the race and leads here again this is my opinion here folks.

Security, well R0ck solid isn’t it

Who can argue on Linux security, well i can’t after using it for like a decade or more little bit. It’s just too good and no match in front of other technologies which techies would prefer in there computing chores where freedom and security is just unparalleled and goes pretty smooth.

The Future is here, it’s Linux or a fork of this?

Well this might be my prophecy in my opinion here. Even though things evolve with time Linux key principles shall always be implemented and considered for it’s true openness and transparency.

Conclusion:

Linux Rocks for me and shall always be, i adore this piece of tech and use it in my daily driver computing chore and I’d never felt that anything would or shall replace it sooner or later, but I’m open to my readers thoughts and constructive feedback on this which shall be appreciated.

Happy LinuXing!

Grub/Lilo bootloader fix in Mint & Ubuntu on dual/multiple boot systems

Warning:- This Article is not recommended for an average user as things may break and do not try this on your mission critical systems, there is no guarantee that this will work well, but give it a shot if you like but do not blame me for this ;-). I’ve found the exact commands as mentioned below here for reference I’ve considered sda5 as my concerned targeted partition, your mileage may vary so input with caution. These commands have been taken fro Makulu Linux forum and are working at the time of writing, however be prepared to mess around with your system IMO, have fun 🙂

Input these commands one by one after reading the above warning, strictly after entering into the recovery mode and do not miss or change the order as mentioned below:

sudo chroot "/mnt/boot-sav/sda5" dpkg --configure -a
sudo chroot "/mnt/boot-sav/sda5" apt-get install -fy
sudo chroot "/mnt/boot-sav/sda5" apt-get purge -y grub*-common shim-signed

If you’re in luck, go for this 😉

sudo chroot "/mnt/boot-sav/sda5" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic

===================================================================================An error occurred during the repair.

A new file (/var/log/boot-repair/20200401_094847/Boot-Info_20200401_0948.txt) will open in your text viewer.

In case you still experience boot problem, indicate its content to:
boot.repair@gmail.com

You can now reboot your computer.
Please do not forget to make your BIOS boot on sda2/EFI/makululinux/shimx64.efi file!

If your computer reboots directly into Windows, try to change the boot order in your BIOS.(note this is applicable if Windows is installed).

If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\makululinux\shimx64.efi

That’s all, have fun hacking !