Posts

Showing posts from April, 2022

Think like a Developer: API Hacking

🔍 What Does an API Look Like? (Structure Breakdown) A typical API request looks like this: GET /v1/user/profile?id=0034 HTTP/1.1 Host: api.example.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... Content-Type: application/json Here’s what each part is for and how to spot uniqueness : Part What It Does How to Identify Why It’s Important Method (GET/POST) What action the API is taking First word in the request line GET = retrieve, POST = create, PUT = update, DELETE = remove Endpoint (/v1/...) The resource being accessed Always follows method—URL path Shows version , resource , hierarchy Query Params (?id=) Filter or identify specific data After ? , in key=value format Can be manipulated or tested for IDOR , SQLi , etc. Host The server the API lives on Usually api.domain.com Subdomain often used to separate API traffic Headers Metadata: auth, format, content-type Seen as key: value pairs Auth headers = access control , conten...

Python

Understanding Python: The Swiss Army Knife of Modern Programming Let’s picture Python as a Swiss Army knife for developers— simple to open, powerful in function, and endlessly versatile . Whether you want to build a robot, analyze data, make a game, run a website, automate a task, or even guide an AI—you’ll find a tool for it in Python. 🐍 What is Python? Python is a high-level, general-purpose programming language known for its: Simplicity – easy to read and write (it looks like English) Versatility – used in web dev, AI, automation, data science, games, etc. Community – backed by millions of developers and thousands of open-source libraries 🧠 What Is Python Used For? Area What Python Does Web Development Flask, Django power dynamic websites Data Analysis Pandas, NumPy turn raw data into insights Machine Learning / AI TensorFlow, PyTorch build brainy systems Cybersecurity / Pentesting Tools like Scapy, Requests, automation scripts Automat...