Skip to content

Instantly share code, notes, and snippets.

@Manah7
Manah7 / WiFiSpam.sh
Created December 5, 2022 07:16
Fork de github.com/adamff1/WiFi-Spam pour TP WiFi
#!/bin/bash
# Forked from : https://github.com/adamff1/WiFi-Spam
# TERMINAL COLORS
# https://github.com/1225K/terminal-colors
NO_COLOR="\e[0m"
WHITE="\e[0;17m"
BOLD_WHITE="\e[1;37m"
BLACK="\e[0;30m"
@Manah7
Manah7 / fin_tp_ssh.md
Last active November 18, 2022 16:49
Création d'un tunnel VPN avec SSH (option -w)

Tunnel VPN SSH (6.0)

Attention truc de barbu. L'utilisateur remote doit être root.

Local : Ajouter Tunnel yes et TunnelDevice any:any dans /etc/ssh/ssh_config, puis :

ssh root@172.20.2.3 -w 0:0 -N 
ifconfig tun0 10.2.2.1 netmask 255.255.255.252