Skip to main content

Posts

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...

what i learned from Machine Learning Hackathon?

First i will tell you what my topic is all about, my idea is to integrate AI with Restaurant based app okay what is the big deal? Using the bills we can predict how much raw material can be bought so we can minimize food wastage We can also able to identify customer pattern which are more likely to buy after x item  Last thing based on the feedback we can find mistake in us and improve it Let's see what are the algorithm we are planned to use Avoid Food Wastage : Using Time Series algorithm For identify Customer pattern : FP Mining ( Frequent Pattern Mining ) is an algorithm that will predict the y after x items bought but we need to train it with existing data Feedback : Sentimental analysis which separate the positive and negative comments then we will apply another algorithm to predict negative comments about which food item using naive bayes we give keywords such as Briyani,Rice.. the algorithm check whether it is available or not and how many times the k...

Android Apps that i like most

For Latest News Inshort :             I like it a lot which provide News in 60 words  which is available for android and Apple Official site: https://www.inshorts.com /en/read/ Feedly :           It is RSS Feed app by default it provide lot of feeds from popular website in different categories such as Technology Official site:   https://feedly.com Relay :          To read Reddit post and i like the interface which clean and neat Playstore link: https://play.google.com /store/apps/details?id=free.reddit.news Skippy :           Youtube video turned into notes, which is one of my favorite app Playstore link: https://play.google.com /store/apps/details?id=com.com.plainbagel.skippy Concentration and Maintain Habits Engross :      ...

Automatically Open DevTools when newtab open in Browser

One of cool topic which is told by my friend, He is web developer we want devtools to open whenever new tab get open so we searched the internet to automatically open devtools there are plenty but none didn't work for me So I decided to write by own using some browser addon i have Here the procedure is for MAC Tools:       [+] GreaseMonkey -> available for firefox       [+] TamperMonkey -> incase of chrome Working: I achieved this using Client-Server Model Client : Browser using the GreaseMonkey/TamperMonkey send the request to the Server Server: If any request received from client, It send the KeyStroke option+command+c ( differs for Operating system  )   so the devtools will open Program: Client Side ======== // ==UserScript== // @name Unnamed Script 977967 // @version 1 // @grant none // @require https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.js // @include * // ==/UserScript== ...

Enable or Disable USB in Linux

To Enable / Disable USB  To really disable and enable USB, lets say port 3 and device 2 (you can get the information from lsusb -t) echo '3-2' | sudo tee / sys / bus / usb / drivers / usb / unbind echo '3-2' | sudo tee / sys / bus / usb / drivers / usb / bind Another Method chmod 000 /media/  here is where device is mounted hence make it 000 -> not able to read or write files chmod 777 /media/   extact opposite to above i.e able to read and write the files the above chmod is nothing but change mode which is a part of unix/linux code mainly used for read or write permission that can be represented by numbers.