change the randmac alias
This commit is contained in:
parent
0581c3b444
commit
b51978af5c
1 changed files with 16 additions and 0 deletions
16
aliases
16
aliases
|
|
@ -12,3 +12,19 @@ mktruckdir() {
|
|||
sudo mkdir ${1}
|
||||
sudo chown truck:truck ${1}
|
||||
}
|
||||
|
||||
shitwin() {
|
||||
xfreerdp2 /u:"Andrew Holland" +clipboard /jpeg /size:1918x1044 /v:192.168.1.92 /bpp:32
|
||||
}
|
||||
|
||||
firewall-ssh() {
|
||||
badssh -oKexAlgorithms=+diffie-hellman-group1-sha1 ntcadmin@77.86.234.126
|
||||
}
|
||||
|
||||
randmac() {
|
||||
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/'
|
||||
}
|
||||
|
||||
randmacxen() {
|
||||
dd if=/dev/urandom bs=4096 count=1 2>/dev/null | sha1sum| sed 's/^\(..\)\(..\)\(..\).*$/00:16:3E:\1:\2:\3'/
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue