Q: Process A accepts a character string and Process B inverses the string. Pipe is used to establish communication between A and B processes using C++ & Python
Labels
android
Assembly Language
bash
Beagle Bone Black
c
c++
CL1
competitive programming
compiler
computer vision
data structure
database
dsps
encryption
games
graphs
hacks
java
linux
lisp
MIL
monte carlo algo
MPAL
networking
OOMCPL
osa
perl
pl
PL -3
PL-1
PL-2
PL-4
python
qt
recursive algorithms
Scala
security
sorting
storage
terminal
ubuntu
utilities
Friday, 26 August 2016
Friday, 5 August 2016
How To Securely Store Data
Note : You require knowledge about file recovery to understand this article. In case, you have no knowledge about this, I highly recommend checking out my article on file recovery.In one of my earlier posts I demonstrated File Recovery using Forensic Tools.
While File Recovery is possible if the file is deleted using Shift-Delete or even if the partition is formated.
This becomes a major security issue if your pendrive held confidential data earlier. Even quick format is not an option.
Using specialized tools forensic experts can manage to recover any data which was stored on pendrive or any other storage device, provided it is not overwritten. In case , it is overwritten the data could still be partially recovered. I had once recovered partially, a few images using Recuva. They don't look like the exact image but just the thumbnails can be pretty informative.
Sunday, 17 July 2016
Pulse Code Modulation and Netowrking using QT and C++
Q: Write a program for Pulse Code Modulation and send the data to a server
Introduction
This is C++ code for both the client and the server to implement PCM and netowrking. The Client is a GUI program while server is terminal based.Monday, 11 July 2016
Python Script to Recover Deleted Files And Partitions
Ever deleted a file permanently and wished to recover it. Here's a python script designed to do this task in Linux operating system.
Friday, 24 June 2016
Magic Sys Rq Key
The Issue
So the other day I was working with Android Studio on my Low Hardware Spec Ubuntu Machine. I decided to build an apk as emulators are simply not an option. But Guess what , my pc used all of the possible RAM and all the possible swap memory and hung(that's pretty rare for Ubuntu!).I tried opening a terminal Ctrl+Alt+T hoping to kill android studio process. But the PC was unresponsive. This is despite using all the regular optimizations for android Studio that I found on Ubuntu Forums and Stack Overflow.
Any noob would have now headed out towards the power button. If you ever do come across this situation please do not use this approach. This is the last thing you should do, only if everything else fails.
Tuesday, 21 June 2016
Python Based Chat Program
This is a simple client-server Program to chat with other users on the Lan. This program largely similar to a chat using nc, easier to use and with a lot of less functionality.Tested On:
OS: Fedora 20, Ubuntu 14.04 LTS
Language: Python
Note
While this script works perfectly fine on loop back ie on the same machine, it may fail on a network since you might need to configure the server to accept incoming connections. You might want to check iptables or disable it completely.
Video
Monday, 20 June 2016
Email Header Analyser Using Python
Q:Write a program in Python to analyze email header.
This program simply analyzes a email header stored locally on your machine in a text file and shows information like:
This program simply analyzes a email header stored locally on your machine in a text file and shows information like:
- Mime Version
- Date
- Subject
- From
- Delivered To
- To
Sunday, 12 June 2016
Tasker: Automate Things on Android Phone
Do you wish to automate your daily tasks on your phone ?
If yes, here is your Answer : Tasker App (Playstore Link)
Subscribe to:
Posts (Atom)

