Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab Gist con l'argomento dato

Entra

Tutti Nuovi Entra

xl

Unito 1 year ago

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento
Tutti i gists 12

xl / unix socket sniffing

0 mi piace
0 forks
1 files
Ultima volta attivo 1 year ago

move the socket

mv /var/run/docker.sock /var/run/docker.sock.original

redirect all socket communications to a tcp listener in port 1234

socat TCP-LISTEN:1234,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock.original

xl / arp + vendor info

0 mi piace
0 forks
1 files
Ultima volta attivo 1 year ago

arp command with vendor information

arp -n | grep -viE "inc|iface" \
  | while read -r ip type mac state ifname; \
    do vendor=$(echo ${mac^^} \
    | sed 's/://g' \
    | cut -c 1-6); echo -ne "${ifname}\t${ip}\t${mac} $(grep ${vendor} /usr/share/ieee-data/oui.txt \
    | cut --output-delimiter=" " -c 1-6,23- )\n"; \
    done
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 36ms⋅

Italiano
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文