mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Version 2.3.5
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com> Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -147,8 +147,6 @@ if __name__ == '__main__':
|
|||||||
if user_input.lower() in ('y', 'yes'):
|
if user_input.lower() in ('y', 'yes'):
|
||||||
os.system("rm /root/.auto-update && systemctl restart pwnagotchi")
|
os.system("rm /root/.auto-update && systemctl restart pwnagotchi")
|
||||||
print("Okay, give me a couple minutes. Just watch pwnlog while you wait.")
|
print("Okay, give me a couple minutes. Just watch pwnlog while you wait.")
|
||||||
time.sleep(3)
|
|
||||||
os.system("pwnlog")
|
|
||||||
elif user_input.lower() in ('n', 'no'): # using this elif for readability
|
elif user_input.lower() in ('n', 'no'): # using this elif for readability
|
||||||
print("Okay, guess not!")
|
print("Okay, guess not!")
|
||||||
else:
|
else:
|
||||||
|
@ -95,8 +95,6 @@ def verify(name, path, source_path, display, update):
|
|||||||
|
|
||||||
|
|
||||||
def install(display, update):
|
def install(display, update):
|
||||||
logging.info("[update] Stopping Bettercap and Pwngrid to save resources.")
|
|
||||||
os.system("systemctl stop bettercap pwngrid")
|
|
||||||
name = update['repo'].split('/')[1]
|
name = update['repo'].split('/')[1]
|
||||||
|
|
||||||
path = make_path_for(name)
|
path = make_path_for(name)
|
||||||
|
Reference in New Issue
Block a user