Skip to content

Instantly share code, notes, and snippets.

@gunk1n
gunk1n / terminal-commands.md
Created September 27, 2024 15:55 — forked from bradtraversy/terminal-commands.md
🔘 Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
@gunk1n
gunk1n / ssh.md
Created September 27, 2024 15:55 — forked from bradtraversy/ssh.md
🔘 SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh brad@192.168.1.29

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@devops-school
devops-school / login.php
Last active April 26, 2024 01:52
I am creating a form which would take inputs as a email id, username and password but this has to be inserted into Moodle Mysql database and when i login to moodle with the same username and passworde, it should allow login. I understand that moodle uses bcrypt with salt but i m not sure how to write this php code which would be alternate to moo…
<?php
// Moodle configuration file inclusion - adjust the path as needed
require('/path/to/your/moodle/config.php');
// User data
$email = 'example@example.com'; // Assume this comes from your form
$username = 'newusername'; // Assume this comes from your form
$password = 'newpassword'; // Assume this comes from your form, needs to be hashed
// Hash the password using bcrypt, compatible with Moodle's password hashing
@chetan
chetan / dumpcerts.traefik.v2.sh
Created November 9, 2023 16:24
Convert traefik acme.json to PEM files
#!/usr/bin/env bash
# Copyright (c) 2017 Brian 'redbeard' Harrington <redbeard@dead-city.org>
#
# dumpcerts.sh - A simple utility to explode a Traefik acme.json file into a
# directory of certificates and a private key
#
# Usage - dumpcerts.sh /etc/traefik/acme.json /etc/ssl/
#
# Dependencies -
# util-linux
@httpsx
httpsx / WireGuard DPI обход РКН - Windows.md
Last active May 6, 2026 04:33
WireGuard DPI обход РКН - Windows

Для обхода блокировки достаточно отправить 1 любой udp пакет, тем самым нарушим начальное определение протокола WireGuard
Способ с использованием Windows PowerShell. Без скачивания Nmap и подобного софта.

Шаг 0: Отключитесь от всех туннелей.

Шаг 1: Редактируем Клиент конфиг

Добавим в него "ListenPort", это позволит иметь статичный порт на котором будет работать WireGuard
Нажмите ПКМ на нужный "туннель" и выберите "Редактировать выбранный туннель..." Step1

После DNS добавляем новую строку

@HorridModz
HorridModz / webcatalog-unlimited-apps.md
Last active April 21, 2026 14:02
WebCatalog Unlimited Apps Crack

UPDATE 5/18/2025: The original method was patched. The gist has been updated to reflect the new method.

WebCatalog is a tool to easily create desktop apps from websites. It's an awesome tool, but the free version (Basic account) limits you to 5 2 apps.

webcatalog5applimitation

However, I came up with a simple workaround to trick WebCatalog into letting you install as many apps as you want:

All WebCatalog apps are stored at %LocalAppData%\Programs\WebCatalogApps.

@Brramble
Brramble / wg.py
Created April 24, 2023 19:03
wireguard python API
import requests
import argparse
# Change this to your domain name or IP address of server running wg-easy
base_url = 'http://localhost:51821'
# Make sure to update the password to the password you set for your webgui
def get_session_id(base_url=base_url):
path = base_url + '/api/session'
headers = {'Content-Type': 'application/json'}
#!/bin/bash
# curl -s https://gist.githubusercontent.com/LasCC/6f3838dc02f46b14e9dbc9bc0972407e/raw/a0d9e015ee942aa5b124c4bcdbe487b40ac6ac4e/misconfiguration.sh | bash
# Kernel and distribution release details
echo -e "\033[1;31m[+] Kernel and distribution release details\033[0m"
uname -a
cat /etc/*-release
echo
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
T3ZWQ-P2738-3FJWS-YE7HT-6NA3K
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
65Z2L-P36BY-YWJYC-TMJZL-YDZ2S
SFZHH-2Y246-Z483L-EU92B-LNYUA
GSZVS-5W4WA-T9F2E-L3XUX-68473
FTZ8A-R3CP8-AVHYW-KKRMQ-SYDLS
Q3ZWN-QWLZG-32G22-SCJXZ-9B5S4
DAZPH-G39D3-R4QY7-9PVAY-VQ6BU
KLZ5G-X37YY-65ZYN-EUSV7-WPPBS
@LitileXueZha
LitileXueZha / vultr-gift-codes.txt
Last active March 14, 2026 10:32
Vultr.com Promo Codes, Coupons, Gift Codes, & Special Offers.
GOVULTR
VULTRMATCH https://www.vultr.com/match/
30FREE50V https://www.vultr.com/promo/try50/
100VULTR30FREE https://www.vultr.com/promo/try100/
VULTRCLOUD150 https://www.vultr.com/promo/try150/
FLYTWOHUNDRED https://www.vultr.com/promo/try200/
250VULTRFLY https://www.vultr.com/promo/try250/
BACKBLAZE300 https://www.vultr.com/promo/try300/
GIVE100GET35