aboutsummaryrefslogtreecommitdiffstats
path: root/got.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-30 01:47:00 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-30 01:47:00 +0200
commitf6499fea1e77b0d766e10b8e0543db2f638aae76 (patch)
treec56c1ac90dded5e4dec636e4cacfc1b1200b0ba8 /got.py
parentpatch security hole that allowed to to login as any user without password by using -f (diff)
downloadgates-of-tartaros-f6499fea1e77b0d766e10b8e0543db2f638aae76.tar.gz
gates-of-tartaros-f6499fea1e77b0d766e10b8e0543db2f638aae76.tar.bz2
gates-of-tartaros-f6499fea1e77b0d766e10b8e0543db2f638aae76.tar.xz
whoops seconds, not milliseconds
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'got.py')
-rwxr-xr-xgot.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/got.py b/got.py
index 850792e..a96e30a 100755
--- a/got.py
+++ b/got.py
@@ -41,8 +41,7 @@ else:
if user.startswith("-"):
spawn(["stty", "-icanon", "-echo", "-isig", "-ixon", "-ixoff", "-ixany"])
print("\033[01;31mNice try! Sleeping for 10 minutes...\033[00m")
- for _ in range(10):
- time.sleep(60 * 1000)
+ time.sleep(10 * 60)
else:
spawn(["login", user])