challenge/init: randomize time at start
This commit is contained in:
parent
133244897b
commit
800bc7a921
@ -38,7 +38,7 @@ done
|
|||||||
/bin/rm -f /init /linuxrc
|
/bin/rm -f /init /linuxrc
|
||||||
|
|
||||||
# Randomize time at boot
|
# Randomize time at boot
|
||||||
/bin/date -s 197001010101 > /dev/null
|
/bin/date -s 19$((70 + $RANDOM % 30))0$((1 + $RANDOM % 9))0$((1 + $RANDOM % 9))0$((1 + $RANDOM % 9))0$((1 + $RANDOM % 9))01 > /dev/null
|
||||||
/sbin/sysctl -w net.ipv4.ip_default_ttl=4 > /dev/null
|
/sbin/sysctl -w net.ipv4.ip_default_ttl=4 > /dev/null
|
||||||
|
|
||||||
# Launch some daemons
|
# Launch some daemons
|
||||||
|
Reference in New Issue
Block a user