mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -1,23 +1,10 @@
|
|||||||
|
import os
|
||||||
import logging
|
import logging
|
||||||
import time
|
import time
|
||||||
import re
|
import re
|
||||||
import argparse
|
|
||||||
import time
|
|
||||||
import signal
|
|
||||||
import sys
|
|
||||||
import toml
|
|
||||||
import requests
|
|
||||||
import os
|
|
||||||
|
|
||||||
from pwnagotchi._version import __version__
|
from pwnagotchi._version import __version__
|
||||||
|
|
||||||
from pwnagotchi import utils
|
|
||||||
from pwnagotchi.google import cmd as google_cmd
|
|
||||||
from pwnagotchi.plugins import cmd as plugins_cmd
|
|
||||||
from pwnagotchi import log
|
|
||||||
from pwnagotchi import fs
|
|
||||||
from pwnagotchi.utils import DottedTomlEncoder, parse_version as version_to_tuple
|
|
||||||
|
|
||||||
_name = None
|
_name = None
|
||||||
config = None
|
config = None
|
||||||
_cpu_stats = {}
|
_cpu_stats = {}
|
||||||
@ -180,6 +167,26 @@ def reboot(mode=None):
|
|||||||
os.system("sync")
|
os.system("sync")
|
||||||
os.system("shutdown -r now")
|
os.system("shutdown -r now")
|
||||||
|
|
||||||
|
#!/usr/bin/python3
|
||||||
|
import logging
|
||||||
|
import argparse
|
||||||
|
import time
|
||||||
|
import signal
|
||||||
|
import sys
|
||||||
|
import toml
|
||||||
|
import requests
|
||||||
|
import os
|
||||||
|
import re
|
||||||
|
|
||||||
|
import pwnagotchi
|
||||||
|
from pwnagotchi import utils
|
||||||
|
from pwnagotchi.google import cmd as google_cmd
|
||||||
|
from pwnagotchi.plugins import cmd as plugins_cmd
|
||||||
|
from pwnagotchi import log
|
||||||
|
from pwnagotchi import fs
|
||||||
|
from pwnagotchi.utils import DottedTomlEncoder, parse_version as version_to_tuple
|
||||||
|
|
||||||
|
|
||||||
def pwnagotchi_cli():
|
def pwnagotchi_cli():
|
||||||
def do_clear(display):
|
def do_clear(display):
|
||||||
logging.info("clearing the display ...")
|
logging.info("clearing the display ...")
|
||||||
|
Reference in New Issue
Block a user