mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
5504e423fe
commit
116e6e19dd
1 changed files with 2 additions and 2 deletions
|
@ -17,10 +17,10 @@ var mutators = []func(byte) byte{
|
||||||
return byte(rand.Intn(256) & 0xff)
|
return byte(rand.Intn(256) & 0xff)
|
||||||
},
|
},
|
||||||
func(b byte) byte {
|
func(b byte) byte {
|
||||||
return byte(b << uint(rand.Intn(5)))
|
return byte(b << uint(rand.Intn(9)))
|
||||||
},
|
},
|
||||||
func(b byte) byte {
|
func(b byte) byte {
|
||||||
return byte(b >> uint(rand.Intn(5)))
|
return byte(b >> uint(rand.Intn(9)))
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue