mirror of
https://github.com/narkoz/hacker-scripts
synced 2025-08-22 18:37:10 +00:00
parent
de59b60677
commit
96fc4b2cab
@ -3,6 +3,9 @@
|
|||||||
# Skip on weekends
|
# Skip on weekends
|
||||||
exit if Time.now.saturday? || Time.now.sunday?
|
exit if Time.now.saturday? || Time.now.sunday?
|
||||||
|
|
||||||
|
# Exit early if no sessions with my_username are found
|
||||||
|
exit if `who`[/my_username/].nil?
|
||||||
|
|
||||||
require 'net/telnet'
|
require 'net/telnet'
|
||||||
|
|
||||||
coffee_machine_ip = '10.10.42.42'
|
coffee_machine_ip = '10.10.42.42'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user