(self)
| 129 | functions_anonsurf[choice]() |
| 130 | |
| 131 | def ansurf(self): |
| 132 | self.clear_scr() |
| 133 | os.system("echo \"It automatically overwrites the RAM when\nthe system is shutting down AnD AlSo change Ip. \" |boxes -d boy | lolcat") |
| 134 | choice = input("[1]Install [2]Run [3]Stop [99]Main Menu >> ") |
| 135 | |
| 136 | self.check_input(choice, self.ansurf, ['1', '2', '3', '99']) |
| 137 | |
| 138 | if choice == "1": |
| 139 | os.system("sudo git clone https://github.com/Und3rf10w/kali-anonsurf.git") |
| 140 | os.system("cd kali-anonsurf && sudo ./installer.sh && cd .. && sudo rm -r kali-anonsurf") |
| 141 | self.ansurf() |
| 142 | |
| 143 | if choice == '2': |
| 144 | os.system("sudo anonsurf start") |
| 145 | self.ansurf() |
| 146 | |
| 147 | if choice == '3': |
| 148 | os.system("sudo anonsurf stop") |
| 149 | self.ansurf() |
| 150 | |
| 151 | if choice == "99": |
| 152 | self.menu() |
| 153 | |
| 154 | def multitor(self): |
| 155 | self.clear_scr() |
nothing calls this directly
no test coverage detected