| window-height=40 | |
| window-width=110 | |
| theme=catppuccin-mocha | |
| font-family = 0xProto Nerd Font | |
| font-size = 15 | |
| font-thicken=true |
| from selenium import webdriver | |
| from selenium.webdriver.chrome.service import Service | |
| from selenium.webdriver.chrome.options import Options | |
| from webdriver_manager.chrome import ChromeDriverManager | |
| from tqdm import tqdm | |
| import time | |
| # Configuration | |
| num = 1234 # How many times? | |
| url = "www.example.com" # To where? |
| import socket | |
| import threading | |
| import time | |
| # Simple TCP server that listens and accepts a connection. | |
| def server(): | |
| srv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| srv.bind(("127.0.0.1", 12345)) | |
| srv.listen(5) |
| BasedOnStyle: LLVM | |
| IndentWidth: 4 | |
| # If you want your vim/neovim or other editor follows "1 tab = 4 spaces" for C/C++ development, | |
| # Save this as `.clang-format` in root of your project directory. And reload the editor again. Tada. | |
| # In my case, `clangd` installed on Mason@Neovim initially set "1 tab = 2 spaces". So I wanted to change it. |
| " Ordinary settings | |
| set title | |
| set autoindent | |
| set cursorcolumn | |
| set cursorline | |
| set number | |
| set ruler |
As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.
(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))
**1.
| #include <iostream> | |
| #include <vector> | |
| #include <string> | |
| #include <stack> | |
| using namespace std; | |
| // redefine operator << to print the vector like just strings | |
| template <typename S> | |
| ostream& operator<<(ostream& os, | |
| const vector<S>& vector) |
| # espanso match file | |
| # For a complete introduction, visit the official docs at: https://espanso.org/docs/ | |
| # You can use this file to define the base matches (aka snippets) | |
| # that will be available in every application when using espanso. | |
| # Matches are substitution rules: when you type the "trigger" string | |
| # it gets replaced by the "replace" string. | |
| matches: |
| @echo off | |
| :: BatchGotAdmin | |
| :------------------------------------- | |
| REM --> Check for permissions | |
| IF "%PROCESSOR_ARCHITECTURE%" EQU "amd64" ( | |
| >nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system" | |
| ) ELSE ( | |
| >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" | |
| ) |