All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login

All New Login

xl

Joined 1 year ago

Recently created
Least recently created
Recently updated
Least recently updated
All gists 12

xl / unix socket sniffing

0 likes
0 forks
1 files
Last active 11 months 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 likes
0 forks
1 files
Last active 10 months 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
Newer Older

Powered by Opengist ⋅ Load: 52ms⋅

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