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.

Enable WiFi in Fedora laptops

This issue has been persisting since long for most of the Fedora users and let it be any version most of the time WiFi does not get enabled automatically, the best solutions which I’ve found as aggregated over the internet on my own re-search are as follows:

you can check this here

lspci -vnn | grep -i net

if you have above driver you can solve problem by following

yum install b43-fwcutter

or

you may need to install rpmfusion repo to install b43-fwcutter in your fedora version.

Hope this will help you. Note it is also a best practice to check on the live usb whether Wifi is working or not you can also

dnf upgrade

the whole system, trust me it helps incase you’re location is different say India then you can always opt-in for third party repos over the rpm fusion via the software center. This reddit post has some more light as follows:

sudo dnf install -y broadcom-wl kernel-devel
sudo akmods --force --kernel `uname -r` --akmod wl
sudo modprobe -a wl

Happy Fedora networking!

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.

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 !