Skip to main content

Posts

Showing posts from May, 2018

Basics of SQL - Every Hacker need to know

The key to becoming a competent white hat is knowing how the technology that you are trying to exploit actually works. SQL injection is one of the most common methods of attack used today and also one of the easiest to learn. What Is SQL Injection? SQL, which stands for structured query language, is a standard language used for retrieving and manipulating data in a relational database management system (RDBMS). Data is accessed through the use of queries, which allow information to be created, read, updated, and deleted (you will often see web applications referred to as CRUD apps for this reason). Databases can be used in a variety of situations, but one of the most common configurations is a database serving as the backend to a web application. When certain actions are performed, such as logging in or searching, queries are sent from the web app to the database i njection is allowed to occur when input fields are not properly sanitized or escaped. An attacker can enter malic

MySql Basics for Begineers

MySQL is an open source database management software that helps users store, organize, and retrieve data. It is a very powerful program with a lot of flexibility—this tutorial will provide the simplest introduction to MySQL How to Install MySQL on Ubuntu and CentOS If you don't have MySQL installed on your system, you can quickly download it. Ubuntu: sudo apt-get install mysql-server Centos: sudo yum install mysql-server /etc/init.d/mysqld start How to Access the MySQL shell Once you have MySQL installed on your droplet, you can access the MySQL shell by typing the following command into terminal: mysql -u root -p After entering the root MySQL password into the prompt. Now you will be able to start building your MySQL database. Two points to keep in mind: All MySQL commands end with a semicolon; if the phrase does not end with a semicolon, the command will not execute. Also, although it is not required, MySQL commands are usually written in uppercase an

Basic Linux Commands for Beginners

What Is Linux? Linux is an operating system's kernel. You might have heard of UNIX. Well, Linux is a UNIX clone. But it was actually created by Linus Torvalds from Scratch. Linux is free and open-source, that means that you can simply change anything in Linux and redistribute it in your own name! There are several Linux Distributions, commonly called “distros”. ·          Ubuntu Linux ·          Red Hat Enterprise Linux ·          Linux Mint ·          Debian ·          Fedora Linux is Mainly used in servers. About 90% of the internet is powered by Linux servers. This is because Linux is fast, secure, and free! The main problem of using Windows servers are their cost. This is solved by using Linux servers. The OS that runs in about 80% of the smartphones in the world, Android, is also made from the Linux kernel. Most of the viruses in the world run on Windows, but not on Linux! Linux Shell or “Terminal” So, basically, a shell is a program that receives co