Tuesday, January 31, 2017

Difference between Windows file-system and linux file -system



Directory Structure

You won’t find any Windows, Program Files, or Users folders if you start browsing around the file system on your Linux computer. (Although the /home/ directory is very similar to the Users folder.)
The Linux directory structure doesn’t just use different names for folders, it uses an entirely different layout. For example, on Windows, an application might store all its files in C:\Program Files\Application. On Linux, its files would be split between multiple locations – its binaries in /usr/bin, its libraries in /usr/lib, and its configuration files in /etc/.

Case Sensitivity

On Windows, you can’t have a file named file and another file named FILE in the same folder. The Windows file system isn’t case sensitive, so it treats these names as the same file.
On Linux, the file system is case sensitive. This means that you could have files named fileFile, and FILE in the same folder. Each file would have different contents – Linux treats capitalized letters and lower-case letters as different characters.

Backslashes vs. Forward Slashes

Windows uses backslashes, just as DOS did. For example, the path to a user’s directory on Windows is:
C:\Users\Name

On Linux, the path to a user’s home directory is:
/home/name


No Drive Letters – It’s All Under /

Windows exposes partitions and devices at drive letters. Whether you have multiple hard drives, multiple partitions on the same hard drive, or removable devices connected, each file system is available under its own drive letter.

Linux doesn’t have drive letters. Instead, it makes other file systems accessible at arbitrary directories. (Windows can do this too, but this isn’t how it works out of the box.)
On Linux, everything is under / – the root directory. There are no files above the root directory, as there are files outside of C: on Windows. When you connect a device to your computer, it will become available under /media/. The contents of the directory display the contents of the mounted partition.

Everything is a File

Just as every mounted file system is a directory under / (the root directory), everything on Linux is a file. For example, your first hard drive is represented by /dev/sda, your CD drive is available at /dev/cdrom, while your mouse is represented by /dev/mouse.
This phrase is actually a bit of an oversimplification – everything isn’t really a file on Linux. But understanding what this phrase means will help you understand how Linux works.

You Can Delete or Modify Open Files

On Linux and other UNIX-like operating systems, applications don’t lock exclusive access to files as often as they do on Windows. For example, let’s say you’re watching a video file in VLC on Windows. The credits are playing and you’re done watching it, so you try to delete it. You’ll see an error message- – you need to stop watching the file in VLC before you can delete it, rename it, or do anything else to it.

Some other differences include :

No Registry in linux :



Have you heard of the Windows registry? If you haven’t, here’s an extremely fast crash course: it’s a master database of all the settings on your computer. It holds application information, user passwords, device information–pretty much anything you can think of. If it’s not stored as a file, it’s probably stored in the registry.

Linux doesn’t have a registry. The applications on a Linux machine store their settings on a program-by-program basis under the hierarchy of users. In this sense, Linux configurations are modular. You won’t find a centralized database that needs periodic cleaning here.

Command Terminal present in linux :


 Linux has a (fading) reputation for being the operating system for geeks and that reputation mostly comes from the prevalence of the terminal. What’s a terminal, you ask? It’s that black box with traditionally green text that you can use to execute commands. In other words, it’s like Windows Command Prompt on crack.
If you’re going to switch to Linux, you must be open to learning about command structures because you will find yourself using it frequently. I’m sure there are graphical workarounds (such as opening config files in a text editor) but it’s hard to beat the power and efficiency of a terminal that does exactly what you tell it to do.

Linux File System Explained With Shell And Kernel

A Linux system is basically divided in three major components: File System (LFS), Shell and Kernel. Kernel is the core program which manage system hardware devices. Shell provides user interface to run the commands. File system organizes the data in systematic way. Collectively LFS, Shell and kernel provides a way to interact with system and an environment to run commands and manage data.


Let’s understand these components in more details one by one.

Linux file system (LFS) :

Linux accesses every object as file. Files are systematically organized in directories. Linux starts file system with root directory(/). All files and directories are created and managed under the root directory. Since root directory stands on the top in file system, it has no parent directory. Besides root directory, every directory in Linux has a parent directory. Linux allows us to create as many files and directories as we want. We can create files under the existing directories or may create new directories.

System directories : 

System directories contain files, software, applications and scripts which are required to run and maintain the Linux. System directories are automatically created during the installation.
Following figure illustrates some common system directories with their location in LFS.

Common System directories : 
Directory                           Description
/First directory in Linux File System.
It is also known as root directory or main directory.
All files and directories are created and managed under this directory.
/home          Default directory for user data.
Whenever we add a new user, Linux automatically creates a home directory matching with his username in this directory.
Whenever user login, Linux starts his login session from home directory.
/rootThis is the home directory for root user.
Root user is the super user in Linux. For security reason Linux creates a separate home directory for root user.
Root user account is also being created during the installation automatically.
/binThis directory contains standard commands files.
Commands stored in this directory are available for all users and usually do not require any special permission to run.
/sbinThis directory contains system administration commands files.
Commands stored in this directory are available only for root user and usually requires special privilege to run.
/usrThis directory contains user application software files, third party software and scripts, document files and libraries for programming languages.
/varThis directory stores variable data files such as printing jobs, mail box etc.
/etcThis directory contains system configuration files.
/bootThis directory contains Linux boot loader file.
/mntThis directory is used to mount remote file system and temporary devices such as CD, DVD and USB.
/devThis directory contains device files.
Usually files in this directory are dynamically generated and should be never edited.
/tmpThis directory provides temporary location for applications.

Shell :

Shell is a command interpreter. It take commands from user, execute them and display the results. Shell supports I/O ( Input / Output) redirection which means it can read commands from non-standard sources such as script files. As well as it can also redirect output to any supportive device (such as printer) or data server.
Several Shells are available in Linux such as Kom, TCSH, Z shell, Bash etc. Although several shells are available, only one shell is set to default in RedHat Linux. Bash (Bourne Again shell) shell is the default shell in Red-Hat Linux.
CommandDescription
cat /etc/shellsTo list the all available shells
chsh –lTo list the all available shells
echo $0To view the current shell name
exec /bin/cshTo change current shell temporary. At next login default shell will be restored.
chsh –s /bin/cshTo change current shell permanently. Change will be applied at next login. Default shell will be used in current session.

Kernel

Kernel is the core application in Linux operating system. It communicates directly with system devices such as memory, CPU, CDROM, Hard disk etc.


When a user wants to access any device, he types appropriate command at command prompt. Shell interpreters the command and hands over the instruction to kernel. Kernel communicates with device and process the user requests.
Kernel name provides information about its version. Kernel version number is built from four segments : major, minor, revision, and security / bug fix.
  • Major number :- This number reflects major changes in kernel.
  • Minor number :- This number reflects a major revision in kernel.
  • Revision number :- This number reflects that new supporting features are added in kernel.
  • Security/ Bug number :- This number reflects security or bug fix in kernel.
Kernel development is an ongoing process. Development versions will first available as release candidates. Release Candidates (rc) are intended for developers. RC allows developers to test new features of kernel before final version is released. Release candidate have an indicative keyword (rc) in name for example kernel-2.6.22-rc3.
Kernel is an open source project. Distributors are allowed to make changes in kernel. If distributer makes any change in kernel, he will add a patch number in the end of the name. Besides patch number, distributors may add platform number.
  • To view which kernel package is install, we can use rpm –q kernel command.
  • To view only the kernel version number we can use uname –r command.

Wednesday, January 11, 2017

[SPOOF GPS][pokemon go][root]Tutorial by Dee..

Today I'am going to show you how to play pokemon go from home yes you read right POKEMON GO FROM HOME....!!!

[SPOOF GPS][pokemon go][root]Tutorial by Dee..

This method is tested by me on XPERIA z3...
REPLY IF ANY QUERIES..... 

REQUIREMENTS:-

1)ROOTED DEVICE
https://www.kingoapp.com/
              OR
https://kingroot.net/

2)ROOT HIDING APP
https://play.google.com/store/apps/details?id=com.amphoras.hidemyroot&hl=en

3)GPS SPOOFING APP
https://play.google.com/store/apps/details?id=com.incorporateapps.fakegps.fre&hl=en

4)LUCKY PATCHER
https://lucky-patcher.netbew.com/

5)POKEMON GO GAME ver 0.29.3
http://www.apkmirror.com/apk/niantic-inc/pokemon-go/pokemon-go-0-29-3-release/pokemon-go-0-29-3-android-apk-download/

STEPS:-

1) ROOTING YOUR PHONE
                   you can download king root app or kingo root app from the links in the requirements.
                   install one of the app and follow the on screen instructions.Usually there is root button which will do all its work.
                   you need to have internet connection while rooting your phone
         [warranty of your phone will not be void as it is a temporary root]

2) INSTALLING APPLICATIONS
                 it is compulsory to install applications in the order given below.
                1] lucky patcher
                2] root hiding app
                3]gps spoofing app
                4]pokemon go game
3)MAKING GPS SPOOFING APP AS SYSTEM APP
                open lucky patcher and find gps spoofing app.
                select it then go to TOOLS->move to /system/app.
                then reboot.this will make this app as system app.
                after reboot open gps spoofing app DO NOT ALLOW MOCK LOCATIONS and go to settings and turn on EXPERT mode.
RECOMMENDED:- change the location accuracy of your phone from high accuracy to device only in your mobile->settings->location settings.

3) HIDING ROOT
                open root hiding app and select HIDE SU BINARY

HOW TO PLAY

1) open fake gps and double tap on location you want to go
[ VERY VERY IMPORTANT] don't select location of other country,city or state. change your location locally in small jumps or you will be noticed by game servers and you will be banned.
IT is ok to select any location in your local city.

2) keep the gps app running in background and open the game.
    THAT'S IT you are on new desired location.!!!!

3)YOU CAN GO ANYWHERE NOW by just changing the location by double tapping in fake gps app and coming back to game...

HAVE FUN____CATCH EM ALL..!!!!