Skip to main content

Posts

Showing posts from March, 2018

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)     Contact info about your Friends i.e Their mobile numbers when you login initially and

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 linux command. That's the power of command line apps. Anything else i can do with learned knowledge?              You can do lot. if you play lot of challenge you can improve your coding,thin