Skip to main content

Posts

Showing posts from April, 2016

Should I root my Android phone or not?

Android is one of the most open, versatile, and customizable mobile operating systems out there. You may think you don't need to root your phone, but you'd be surprised at how much more you can accomplish after the rooting process.
If you don't have a rooted device today, then you're not enjoying all the amazing features android's offering.



Sure, there's some risk involved, and we don't usually recommend rooting other people's phones, but in the end, you can't put a price on true openness and control. There are so many great apps out there asking for SU permissions. These apps can only be used properly only after rooting your phone.

Several root-only apps: #1 - Titanium Backup One of the main reasons people root their device is Titanium Backup. You can make your life a lot easier by backing up your apps and settings first. You can even do so if you are not rooted, but point is, you won't necessarily be able to backup system apps and their dat…

[Ubuntu]How to write and run your own C program?

Open your favourite terminal window on ubuntu.
(Mine happens to be Xterm :)



Then type gedit with the name of the program with a .c at the end.


If you love the 'nano' text editor, you may type:

When the text editor opens, code :)
Here's an example(Hello World)
#include <stdio.h>
int main(void)
{
puts("Hello World!!");
return 0;
}


After writing your piece of code, you can save the file and exit.
If you're using nano text editor, just hit Ctrl + O to save the file and Ctrl + X to exit the text editor.Then you must compile the file by typing:


















Then you can run it by typing the following in your terminal:




How to disable SSLv3 in ubuntu?

Why disable SSL 3.0?SSLv3 is not sufficiently secure. The replacement versions, in particular, Transport Layer Security(TLS) 1.2, are way more secure and capable protocols. 


Poodle attack and End of SSLv3  In late September, a team at Google discovered a serious vulnerability(POODLE) in SSLv3 that can be exploited to steal confidential information, e.g things like cookies and passwords, enabling the latter to access a user's private account on a social website.
You can learn more about SSL on our Android app SSLearn.


Steps:Firstly, let's start with an Update:



After the update, install apache:

Note: If you already have apache installed, you may skip this step.

After installing apache, type the following command to configure and disable SSLv3:

Then simply press the arrow down on your keyboard and search for SSLprotocol.
Add '-SSLv2 -SSLv3' at the end.

Then 3 lines upwards, you should be able to see #SSLHonorCipherOrderOn. You'll have to remove the '#' sign from it.…

How to Install from source code?

Steps:Copy the required link, for e.g for mmonit, got to monit page, right click on Source Code and copy link.

Go onto your terminal and write the following code with your URL with tar.gz:

It will extract it, giving its name.
(e.g filename-5.1.1.17.tar.gz)

If there's no error, you may proceed by the following code:


After it's completed successfully, you should come up with a folder. Make sure you change the directory in your terminal to the folder. That folder should contain some files named 'configure'.
If you don't do change its directory, you will not be able to ./configure. *


After you've changed its directory, simply configure it with the following code:


After it's configured successfully, type the following code:


Lastly, type the following command:

*Make sure you have PAM and SSL Header files installed before configuring.Here are the commands for PAM and SSL Header:1)  apt-get install libpam0g-dev
2) apt-get install libssl-dev