Skip to main content

Posts

SQL Injection

After a long time I thought I should write something in the blog. Today we will talk about SQL Injection. SQL Injection is a bit old but still useful web hacking technique.As the name implies this involves injecting a malicious SQL code into the SQL database through a user input field provided to us on a website. This can be used not only to gain access to the site using the mechanism but also to play with the database and destroy it. For a example, let's take a simple website with user login. It has two input fields to get a username and a password. What happens in this case is that when we enter the username and password, it goes to the back end and run a  SQL Query to check whether user name and password is correct. if its correct the query return true state and Then we get access to the site or if the username or password in the database does not match or False tells us that the site can not be logged in. That is simply the story behind the scenes. So in this case the attacker ...

Are We Alone?

The universe !!! This is one of the many unanswered questions that humans have had for a long time, from the time when Homo sapiens came out of the caves to search for fire and plan to build settlements on Mars.What is the universe? how it origins ? the biggest question among all of those are are we alone ? .well people have so many theories but the truth is we don't know exactly it!!! can we be alone this big universe?just forget about the universe and think about milky way which we are living it's even big that we cannot imagine.researchers are saying that it has more than 10 billion starts.if its how can we imagine the scale of the universe?even from those numbers there are lot of planets which located in the habitable zones which are suitable for the living things.so we can think there is lot of chance out there to have a lives beyond us in the universe.and the other thing is there is no rule that all lives should be origin based on carbon element.why cannot we think abo...

How To Install Windows Drivers Properly.

                                                                                     What are the drivers? Actually drivers are kind of softwares . What these do is provide information to the operating system about the hardware we use . Without these we cannot use any hardware. For example, let's say we have a printer.We connect this to our computer.But the computer will not recognize this as a printer without these drivers.Because these drivers contain all the details about how this printer works. What drives actually do is instruct the operating system on what the hardware is and how to work with it. If we take the example of that printer, let's say this printer can print 5 characters per second. ,  This information is contained in those drivers.It tells the ...

Resolve Flash Drive Issues Using Command Prompt

Sometimes when we connect the pen to the computer its capacity, there are times when the files inside it are not shown. If you use the pen to exchange files frequently, you may have encountered this problem a lot of the time.   This is happening often caused by virus .Due to those virus, some files may be hidden or selected as system files. That's why they are not shown. Today we will see how to fix this using the command prompt. The first thing to do is access the flash drive which have the issue. For this, open the command prompt and then You have to type the drive letter (it has letters like L, M, N) and enter: (dotted). Now we are inside the flash drive. Now to see the files inside the flash drive, type dir and press enter. This does not show hidden and system files .If you want to see it all Type Dir / a and press Enter. Now type Attrib and hit enter to see what has happened to these files. Then a letter or a few letters will appear...

Quantum Computing

Before we talk about quantum computers, let's look at what quantum theory is. The atom is the basic building block of matter. The atom is made up of tiny subatomic particles such as electrons, protons, and neutrons.So in an environment with subatomic particles like this, these particles behave strangely. Predicting these behaviors is what happens in quantum science. Quantum theory Quantum theory was first proposed by Max Planck.Also Irwin Schrdinger and Albert Einstein have contributed to these investigations. There are three basic theories of quantum theory. 1 . Superior theory 2. Theory of inconsistency 3. Tangle theory Simply put, these three are .... 1 . Superior theory This is about a state between yes and no. To illustrate this, Schrodinger has proposed a model called the cat concept test.Something like this is happening here, A flask filled with a poisonous substance is placed in a chamber containing a radioactive medium. There is a cat inside th...

Raspberry Computer

The Raspberry Pi computer weighs about 50 grams, about the size of a bank card, but is a small computer that can do almost everything a normal computer can do. This is exclusively designed and distributed in the UK, making it one of the best-selling computers in the UK.Although not well known in Sri Lanka, it is also known as the most used computer by students around the world.      Birth of raspberry The inventor of this computer was a British computer scientist.While working at the University of Cambridge, he noticed that students were poor at programming and understanding the workings of the computer hardware level.So this is how this computer is created.Because it is very cheap .So learners can use it for experiments without any fear. (Founder of Raspberry -eben upton) Computer layout This is a small bank card-like device as shown in the picture above.There is no even a casing when you buy this.But this card contains everything you need to have a computer.So we ...