Skip to main content

Posts

Showing posts from March, 2021

From Concept to Bench - Designing a Flipper-compatible nRF24L01 RF Module for Security Research

    Six months of design iterations, sourcing headaches, and a broken oscilloscope later — I am pleased to share a hardware module I designed to extend the Flipper ecosystem for RF security research. This write-up covers the motivation, engineering challenges, capabilities, and responsible-disclosure principles behind the project — and a frank look at a vulnerability that is very much alive in the Maldives today.   Left: 3D render of final PCB     ·     Right: Altium Designer PCB layout view Why I Built It  The trigger was reading the original MouseJack disclosure by Bastille Networks. It made me realize that a class of peripherals most people assume to be harmless — the cheap wireless mouse on your desk — can be weaponized from a car park. I wanted a research platform small enough to carry in a jacket pocket, native to the Flipper Zero ecosystem, and capable of passive scanning, protocol analysis, and controlled lab tests. What I...

Dockerfile and Docker-compose

How to use Dockerfile? This file contains user commands which will be needed to build an image. This is the simplest way that I can explain this. For more information please follow the Dockerfile reference guide The following image shows a sample Dockerfile that I created to build an image with php. I will explain line by line. FROM php:7.4.4-apache - This is where you define what image you will be using to build a custom image COPY site1/ /var/www/html - This is will copy the local path content to remote path (to container) EXPOSE 80 - This is where you define which port should be exposed After creating a Dockerfile now you can build the image.  docker build -t somename #this command is to build an image with the given tag name After creating the image you can run docker images to view if the created image exists. If you want to check if the image is created or not just run this command. docker images, this will show all the images created. As you have seen the image name shows p...

Docker? what is it?

What is docker? Docker is a set of platform as a service products that uses OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels Difference between docker and virtual Machines How to setup and run your first docker image? First install the docker for your preferred operating system. I have done my setup on ubuntu and that's my preference. Here is official docker website link for supported platforms and how to proceed installation. https://docs.docker.com/engine/install/ In docker you can run any microservices that you like and you can build your own images to run in the docker. Docker hub is a such a place which have thousands of images of microservices that can be run in seconds. By running docker you can run containers for each service you need to run.  For example, if you want to r...