HACKORY
Language · English
HACKORY / Open library

Open library

What happens between tapping a link and seeing a page? In twelve chapters you can follow a request, compare two responses and learn to explain what changed. You can read them for free without an account.

New here? Try the first lesson without an account
01

How to use Hackory to learn

At Hackory you learn the way you run an experiment: first you watch how something works, then you change one thing and compare. At the end you write down what you saw so someone else can check it.

Read chapter
02

How a web application works

A web application has two sides. Your browser shows the page and its buttons; another computer, the server, stores the data and decides what to show you and which changes to accept.

Read chapter
03

DNS, URL and origin from scratch

A URL is the full address of something on the web, such as https://tienda.test/cuenta. DNS works like a contact list: it translates the name tienda.test into the number of the computer to connect to.

Read chapter
04

HTTP: requests and responses

HTTP is the set of rules the browser and the server use to exchange messages. The browser sends a request, that is, an ask such as “show me invoice 101,” and the server replies with a response. If the address starts with https, those messages are encrypted as they travel.

Read chapter
05

HTML, JavaScript, DOM, JSON and SQL

A web page is built from several pieces, and each has its own job. HTML says which parts the page has. JavaScript changes it while you use it. JSON is a format for sending data. SQL is the language the server uses to ask its database for data.

Read chapter
06

Session, cookies and tokens

When you sign in, the site gives you something like a concert wristband: a value you show with every request so you do not type your password again. That value can be a cookie or a token, and the time during which the site recognizes you is called a session.

Read chapter
09

SQL injection

A database stores an app’s information in tables. To ask it for data, the app writes it a statement in SQL, such as SELECT titulo FROM libros WHERE autor = ?. SQL injection happens when text someone typed ends up becoming part of that command.

Read chapter
HACKORY / Real-world cases

Real-world cases

Public reports and famous CVEs, told as a story: what happened, which technical term explains it and how it was fixed. Only story, concept and defense: no steps to repeat any attack.