Skip to content

Instantly share code, notes, and snippets.

View vay3t's full-sized avatar
🏴‍☠️
The quieter you become the more you are able to hear...

Vay3t vay3t

🏴‍☠️
The quieter you become the more you are able to hear...
View GitHub Profile
- Correr todo el proyecto y probar localmente
- Destriparlo y dejar solo lo necesario para la parte de canary tokens http
- Abstraer la logica de canary tokens de manera que sea golang idiomatic
- Despues de abstraer, portar la logica de http a golang
- Inicialmente hacer un cli y la funcionalidad http trabaje correctamente
- Comenzar a portar los demás tipos de canary token
- Diseñar nuevo sistema de notificaciones (slack, telegram, etc.)
- Crear interfaz web
Nice to have features:
@nitred
nitred / optimal_mtu.md
Last active May 24, 2024 12:33
Wireguard Optimal MTU

About

  • I faced bandwidth issues between a WG Peer and a WG server. Download bandwidth when downloading from WG Server to WG peer was reduced significantly and upload bandwidth was practically non existent.
  • I found a few reddit posts that said that we need to choose the right MTU. So I wrote a script to find an optimal MTU.
  • Ideally I would have liked to have run all possible MTU configurations for both WG Server and WG Peer but for simplicity I choose to fix the WG Server to the original 1420 MTU and tried all MTUs from 1280 to 1500 for the WG Peer.

Testing

  • On WG server, I started an iperf3 server
  • On WG peer, I wrote a script that does the following:
    • wg-quick down wg0
  • Edit MTU in the /etc/wireguard/wg0.conf file
@Baldinof
Baldinof / Caddyfile
Created July 8, 2021 16:06
PHP-fpm with Caddy web server
{
supervisor {
php-fpm
}
}
:8080
php_fastcgi 127.0.0.1:9000
root * .
@HoussemNasri
HoussemNasri / BalsamiqForever.py
Last active May 21, 2024 13:25
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")
'''
Based on the initial work of Digininja at https://github.com/digininja/CeWL. While CeWL is a script written
in Ruby that requires an independent crawl of a website in order to build a custom wordlist, Whey CeWLer
runs within Portswigger's Burp Suite and parses an already crawled sitemap to build a custom wordlist. It
does not have the meta data parsing capabilities that CeWL does, but it more than makes up for it in
convenience.
The name gets its origins from the CeWLer portion of the CO2 Burp extension by Jason Gillam, which is written
in Java and does something similar, but Whey CeWLer is a completely reimagined extension written in Python,
making it "way cooler".
@juanescalona
juanescalona / dnipe.py
Last active June 22, 2022 19:05
Clase para validar, calcular dígito verificador y generar DNIs de Perú
from random import randint
class DniPeru:
def __init__(self):
self.numbers = (6, 7, 8, 9, 0, 1, 1, 2, 3, 4, 5)
self.letters = ('K', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J')
self.multiples = (3, 2, 7, 6, 5, 4, 3, 2)
def __index(self, dni):
@0187773933
0187773933 / GolangSOCKSProxyViaJumpHost.go
Created December 28, 2020 04:14
Golang SOCKS Proxy via JumpHost / MITM Server / Bastion Host
package main
// socksie is a SOCKS4/5 compatible proxy that forwards connections via
// SSH to a remote host
// https://raw.githubusercontent.com/davecheney/socksie/master/socks.go
import (
"fmt"
"log"
"net"
@0187773933
0187773933 / GolangSSHTunnelForwardAndReverse.go
Last active March 30, 2024 09:21
Golang SSH Forward and Reverse Tunnel
package main
import (
"context"
"fmt"
"os"
"os/signal"
"path"
"sync"
"syscall"
@jhoneill
jhoneill / Chrome Databases.ipynb
Last active March 10, 2024 21:12
Exploring data saved by Chrome/Edge/Any Chromium (passwords done in another Gist)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@muff-in
muff-in / resources.md
Last active May 19, 2024 21:45
A curated list of Assembly Language / Reversing / Malware Analysis / Game Hacking-resources