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…
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…
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] #…
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…
Main Commands dbt init Bash# Initializes a new dbt project dbt init dbt build Bash# Builds and tests selected resources (models, seeds, snapshots, tests) dbt build dbt clean Bash# Deletes…
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…
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…
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 =…
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…
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…
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…