Google Dorks Cheat Sheet

Search Filters: 1. allintext: Searches for occurrences of all the keywords given within the text of a webpage. Example: HTMLallintext:"keyword" 2. intext: Searches for the occurrences of keywords all at…

0 Comments

CMD Commands Cheat Sheet

Basic Navigation: BAT (Batchfile)cd [directory_path] # Change the current directory. dir [directory_path] # List directory contents. mkdir [directory_name] # Create a new directory. File Operations: BAT (Batchfile)copy [source] [destination] #…

0 Comments

GDB Cheat Sheet

Running Bashgdb <program> [core dump] # Start GDB (with optional core dump). gdb --args <program> <args…> # Start GDB and pass arguments. gdb --pid <pid> # Start GDB and attach…

0 Comments

Power Bi – DAX Cheat Sheet

Maths & Statistical Functions DAXSUM(<column>) // Adds all numbers in a column. SUMX(<table>, <expression>) // Returns the sum of an expression for each row in a table. AVERAGE(<column>) // Returns…

0 Comments

Kubectl Cheat Sheet

Configuration and Context Management Show Specifed Kubeconfig Settings Bashkubectl config view Use Multiple Kubeconfig Files BashKUBECONFIG=~/.kube/config:~/.kube/kubconfig2 kubectl config view Get User Password Bashkubectl config view -o jsonpath='{.users[?(@.name == "user")].user.password}' Display…

0 Comments

Python Flask Cheat Sheet

Installation pip install Flask Hello World Let's start with the classic "Hello, World!" example. Create a file named app.py and add the following code: from flask import Flask app =…

0 Comments

Grep Command Cheat Sheet

1. Basic Grep Commands: 1.1 Search for a Pattern in a File grep "pattern" filename 1.2 Search for a Pattern in Multiple Files grep "pattern" filename 1.3 Search Recursively in…

0 Comments

SSH Command Cheat Sheet

1. Connect as Root with Disabled Public Key Authentication ssh -o PubkeyAuthentication=no root@example-host 2. Connect with Private Key ssh -i ~/.ssh/alice.pem alice@example.com 3. SSH Configuration File 3.1. View and Edit…

0 Comments

Python ‘os’ Module Cheat Sheet

File and Directory Operations Get Current Working Directory current_directory = os.getcwd() Change Directory os.chdir("/path/to/directory") List Files and Directories in a Directory files_and_directories = os.listdir("/path/to/directory") Check if a Path Exists path_exists…

0 Comments