Skip to main content

Posts

Building a Network Tap

This time not software,its hardware stuff What is a Network tap ?     A Network TAP (Terminal Access Point) denotes a system which monitors events on a local network and in order to aid administrators (or attackers) in analyzing the network.The tap itself is typically a dedicated hardware device, which provides a way to access the data flowing across a computer network. In many cases, it is desirable for a third party to monitor the traffic between two points in the network                                                                        --- From Wikipedia Application: Troubleshooting Network  IDS (Intrusion...

BlockChain

As the name says chain of block Now what is a block?       A block typically contains a  cryptographic hash of the previous block,  a timestamp transaction data    Where it is used?      It is the backbone of cryptocurrency i.e it ensure the security and integrity of data. The usage doesn't stop here well blockchain are resistant to modification of the data. so it can used in Bank Identity verification Hospital records and much more   How it ensures security and integrity of data? Block added to the chain, contain the hash ( result obtained from hash algorithm such as MD5,SHA) of the previous block so changes in one block lead to mismatch. Proof of work algorithm - Adding a node in the block chain require validation whether the new block is valid or not which is done my miner if they find the valid hash they will be rewarded How to do one?      The most interesting part ...

What you can do with idle Computing Power?

This time we are going to see how to use idle computing power to do something good or make profit 1. Volunteer computing :         It is an arrangement in which people ( volunteers ) provide computing resources to projects , which use the resources to do distributed computing and/or storage. Simply donating the idle computing power to someone,Sounds cool right  where it is used and what you can do with that ?      Scientist have many problems to deal with such as finding a New planet,analyzing outer space,finding cure for cancer or other disease. They need lot of computational power to do this kind of project. Many scientist cannot spent their Funds entirely in computational power. So                      BONIC - Berkeley Open Infrastructure for Network Computing BONIC is created to address this problem anyone with...

Creating a simple Telegram Bot

Well first what is a bot?      A bot is a piece of software that can execute commands, reply to messages, or perform routine tasks, as online searches, either automatically or with minimal human intervention Now how to create one?     Here i have created a bot that run in telegram and i will show you how to do Steps in creating a Telegram Bot   Create a account in telegram  Search for @botfather ( a bot that will assist you in creating new bot ) Inside BotFather chat type /newbot and it will ask name for the bot and username for the bot once you completed above things successfully then botfather gives you Token id which is essential to create a bot            In this image you can able to find the token id strike out by red color Well now we have everything we need , we can able to create a bot using python ( you can able to create in any language )  In command line ...

What does Facebook Know about You ?

Facebook need no introduction, Every one heard about recent facebook data scandal and how worse it is. The one big question is " what are the info facebook know about me " Images you upload ( well it's just not image facebook also collect metadata of the image from facebook can tell image was taken in which phone,which time,which location )  These information are present in exif meta data.I will write a exclusive article in future     About our conversation i.e Messages in html files     Stickers that you used in your conversation     Videos , Audios and Gifs     Timeline Posts ( your status,birthday wishes,and you know the rest )     Based on your likes to the content, the ads are shown to you and what are the ads you clicked , what kind of ads you are interested( facebook make money from this )     Facial Recognition Data (Well facebook can identify you)  ...

Handy Linux Commands

Awesome commands that can make your work lot more simpler if you wish to delete a file which is older than x minutes, you can use the below command find . - type f - mmin + 30 - delete   Run script in all directory find . -type d -execdir /path/to/script.sh {} \; you can also execute commands How to sort the finded file based on Size find . - type f - iname "*.$extension" - print0 | xargs - 0 ls - lS How to print all the file in Directory and separate by Line (============== ) find . -type f -exec cat -n {} \; -exec echo "==================================================" \;  How to move particular files from one directory to other directory  find . -iname "*.csv" -type f | xargs -I '{}' mv {} ~/data/csv here we copy all csv file from current directory to ~/data/csv folder Split single line into multiple lines example: I/p: A,B,C,D,E,F,G,H,I,J,K,L,M,N,O   O/p:   A,B,C D,E,F G,H,I J,K,L M,N,O     this ...

My First CTF Adventure

Overthewire is a website which offer wargames that help you learn and practice security concepts in the form of fun-filled games My first game is Bandit . What special about this Game?               These game teach you basic Linux terminal usage and tricks ( using commands in a way you never even imagine ) and the best part is more you play more you learn  Whether it is easy or hard to solve a challenge?               To be honest,It is hard and makes you think out of the box but at the end you will fell i learned something cool. Does this help me with Daily chores?               Yes, knowing few tricks in command line can save tons of your time. let me give a example you need to remove the duplicate line in Log file or find occurrence of line which can be done using single...