Merge branch 'master' of github.com:AnonymusRaccoon/AnonymousGoose

This commit is contained in:
jeremy
2020-04-26 15:25:37 +02:00
3 changed files with 27 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
# AnonymousGoose
A linux version of the Desktop Goose.
You have been hacked by an evil goose and you must escape. But be warned that the goose won't let you use usual actions to stop the virus. Don't even try to run htop or top.
## Installation
Simply run the command bellow. It will clone the repository in your current folder and start the script.
``curl https://raw.githubusercontent.com/AnonymusRaccoon/AnonymousGoose/master/install.sh | sh``
## Q&A
<details>
<summary>How to stop the program for good? (SPOILER)</summary>
Simply press the ESCAPE key (The goose told you to escape after all)
</details>
<details>
<summary>My screen is flashing black sometimes.</summary>
That a bug with your xrand configuration. You can disable the display tricks by adding a ``-x`` when running the program.
</details>
-1
View File
@@ -59,4 +59,3 @@ if __name__ == "__main__":
goose = AnonymousGoose()
goose.run(disable_x)
goose.stop()
sys.exit(0)
+6
View File
@@ -43,6 +43,8 @@ class Term:
return True
except PermissionError:
return False
except OSError:
return False
def print_creepy(self, msg):
try:
@@ -68,6 +70,8 @@ class Term:
f.append(open(f"/dev/pts/{file}", "w"))
except PermissionError:
pass
except OSError:
pass
for char in msg:
for fd in f:
@@ -87,6 +91,8 @@ class Term:
f.write(msg)
except PermissionError:
pass
except OSError:
pass
@staticmethod
def create_tty():