diff --git a/pwnagotchi/plugins/default/auto-backup.py b/pwnagotchi/plugins/default/auto-backup.py index b5fba2d..c235f78 100644 --- a/pwnagotchi/plugins/default/auto-backup.py +++ b/pwnagotchi/plugins/default/auto-backup.py @@ -2,7 +2,7 @@ __author__ = '33197631+dadav@users.noreply.github.com' __version__ = '1.0.0' __name__ = 'auto-backup' __license__ = 'GPL3' -__description__ = 'This plugin backups files when internet is availaible.' +__description__ = 'This plugin backups files when internet is available.' from pwnagotchi.utils import StatusFile import logging @@ -30,7 +30,7 @@ def on_loaded(): return READY = True - logging.info("AUTO-BACKUP: Successfuly loaded.") + logging.info("AUTO-BACKUP: Successfully loaded.") def on_internet_available(agent): diff --git a/pwnagotchi/plugins/default/bt-tether.py b/pwnagotchi/plugins/default/bt-tether.py index 2a7e595..509519c 100644 --- a/pwnagotchi/plugins/default/bt-tether.py +++ b/pwnagotchi/plugins/default/bt-tether.py @@ -236,7 +236,7 @@ class BTNap: timeout -= 1 try: - logging.debug("BT-TETHER: Stoping Discovery ...") + logging.debug("BT-TETHER: Stopping Discovery ...") bt_dev.StopDiscovery() except Exception as bt_ex: logging.error(bt_ex) @@ -423,7 +423,7 @@ def on_loaded(): for opt in ['share_internet', 'mac', 'ip', 'netmask', 'interval']: if opt not in OPTIONS or (opt in OPTIONS and OPTIONS[opt] is None): - logging.error("BT-TET: Pleace specify the %s in your config.yml.", opt) + logging.error("BT-TET: Please specify the %s in your config.yml.", opt) return # ensure bluetooth is running diff --git a/pwnagotchi/plugins/default/onlinehashcrack.py b/pwnagotchi/plugins/default/onlinehashcrack.py index dbf8a4e..47f881a 100644 --- a/pwnagotchi/plugins/default/onlinehashcrack.py +++ b/pwnagotchi/plugins/default/onlinehashcrack.py @@ -2,7 +2,7 @@ __author__ = '33197631+dadav@users.noreply.github.com' __version__ = '2.0.0' __name__ = 'onlinehashcrack' __license__ = 'GPL3' -__description__ = 'This plugin automatically uploades handshakes to https://onlinehashcrack.com' +__description__ = 'This plugin automatically uploads handshakes to https://onlinehashcrack.com' import os import logging @@ -74,7 +74,7 @@ def on_internet_available(agent): _upload_to_ohc(handshake) reported.append(handshake) REPORT.update(data={'reported': reported}) - logging.info(f"OHC: Successfuly uploaded {handshake}") + logging.info(f"OHC: Successfully uploaded {handshake}") except requests.exceptions.RequestException as req_e: SKIP.append(handshake) logging.error("OHC: %s", req_e) diff --git a/pwnagotchi/plugins/default/screen_refresh.py b/pwnagotchi/plugins/default/screen_refresh.py index 94173ff..3c7047f 100644 --- a/pwnagotchi/plugins/default/screen_refresh.py +++ b/pwnagotchi/plugins/default/screen_refresh.py @@ -1,4 +1,4 @@ -__author__ = 'pwnagotcchi [at] rossmarks [dot] uk' +__author__ = 'pwnagotchi [at] rossmarks [dot] uk' __version__ = '1.0.0' __name__ = 'screen_refresh' __license__ = 'GPL3' diff --git a/pwnagotchi/plugins/default/unfiltered_example.py b/pwnagotchi/plugins/default/unfiltered_example.py index c883b7c..9fe1e49 100644 --- a/pwnagotchi/plugins/default/unfiltered_example.py +++ b/pwnagotchi/plugins/default/unfiltered_example.py @@ -13,7 +13,7 @@ OPTIONS = dict() def on_loaded(): logging.warning("%s plugin loaded" % __name__) -# called when AP list is ready, before whitelist filtering has occured +# called when AP list is ready, before whitelist filtering has occurred def on_unfiltered_ap_list(agent,aps): logging.info("Unfiltered AP list to follow") for ap in aps: diff --git a/pwnagotchi/plugins/default/ups_lite.py b/pwnagotchi/plugins/default/ups_lite.py index d9a37d2..5c0d9d7 100644 --- a/pwnagotchi/plugins/default/ups_lite.py +++ b/pwnagotchi/plugins/default/ups_lite.py @@ -1,6 +1,6 @@ # Based on UPS Lite v1.1 from https://github.com/xenDE # -# funtions for get UPS status - needs enable "i2c" in raspi-config +# functions for get UPS status - needs enable "i2c" in raspi-config # # https://github.com/linshuqin329/UPS-Lite # diff --git a/pwnagotchi/plugins/default/wigle.py b/pwnagotchi/plugins/default/wigle.py index 462cdab..5437132 100644 --- a/pwnagotchi/plugins/default/wigle.py +++ b/pwnagotchi/plugins/default/wigle.py @@ -2,7 +2,7 @@ __author__ = '33197631+dadav@users.noreply.github.com' __version__ = '2.0.0' __name__ = 'wigle' __license__ = 'GPL3' -__description__ = 'This plugin automatically uploades collected wifis to wigle.net' +__description__ = 'This plugin automatically uploads collected wifis to wigle.net' import os import logging @@ -186,7 +186,7 @@ def on_internet_available(agent): _send_to_wigle(csv_entries, OPTIONS['api_key']) reported += no_err_entries REPORT.update(data={'reported': reported}) - logging.info("WIGLE: Successfuly uploaded %d files", len(no_err_entries)) + logging.info("WIGLE: Successfully uploaded %d files", len(no_err_entries)) except requests.exceptions.RequestException as re_e: SKIP += no_err_entries logging.error("WIGLE: Got an exception while uploading %s", re_e) diff --git a/pwnagotchi/plugins/default/wpa-sec.py b/pwnagotchi/plugins/default/wpa-sec.py index 6bf9994..5b13f31 100644 --- a/pwnagotchi/plugins/default/wpa-sec.py +++ b/pwnagotchi/plugins/default/wpa-sec.py @@ -2,7 +2,7 @@ __author__ = '33197631+dadav@users.noreply.github.com' __version__ = '2.0.1' __name__ = 'wpa-sec' __license__ = 'GPL3' -__description__ = 'This plugin automatically uploades handshakes to https://wpa-sec.stanev.org' +__description__ = 'This plugin automatically uploads handshakes to https://wpa-sec.stanev.org' import os import logging @@ -77,7 +77,7 @@ def on_internet_available(agent): _upload_to_wpasec(handshake) reported.append(handshake) REPORT.update(data={'reported': reported}) - logging.info("WPA_SEC: Successfuly uploaded %s", handshake) + logging.info("WPA_SEC: Successfully uploaded %s", handshake) except requests.exceptions.RequestException as req_e: SKIP.append(handshake) logging.error("WPA_SEC: %s", req_e) diff --git a/pwnagotchi/ui/hw/libs/dfrobot/dfrobot_epaper.py b/pwnagotchi/ui/hw/libs/dfrobot/dfrobot_epaper.py index d207a45..8182bee 100644 --- a/pwnagotchi/ui/hw/libs/dfrobot/dfrobot_epaper.py +++ b/pwnagotchi/ui/hw/libs/dfrobot/dfrobot_epaper.py @@ -10,7 +10,7 @@ try: from .spi import SPI from .gpio import GPIO except: - print("unknow platform") + print("unknown platform") exit() CONFIG_IL0376F = { diff --git a/pwnagotchi/ui/hw/libs/papirus/epd.py b/pwnagotchi/ui/hw/libs/papirus/epd.py index 11764d9..aed4605 100644 --- a/pwnagotchi/ui/hw/libs/papirus/epd.py +++ b/pwnagotchi/ui/hw/libs/papirus/epd.py @@ -47,7 +47,7 @@ to use: image = Image.new('1', epd.size, 0) # draw on image epd.clear() # clear the panel - epd.display(image) # tranfer image data + epd.display(image) # transfer image data epd.update() # refresh the panel image - not needed if auto=true """ @@ -173,7 +173,7 @@ to use: # attempt grayscale conversion, and then to single bit # better to do this before calling this if the image is to - # be dispayed several times + # be displayed several times if image.mode != "1": image = ImageOps.grayscale(image).convert("1", dither=Image.FLOYDSTEINBERG) diff --git a/pwnagotchi/ui/hw/libs/waveshare/lcdhat/ST7789.py b/pwnagotchi/ui/hw/libs/waveshare/lcdhat/ST7789.py index 88409ec..3864d79 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/lcdhat/ST7789.py +++ b/pwnagotchi/ui/hw/libs/waveshare/lcdhat/ST7789.py @@ -35,7 +35,7 @@ class ST7789(object): self._spi.writebytes([val]) def Init(self): - """Initialize dispaly""" + """Initialize display""" self.reset() self.command(0x36) diff --git a/pwnagotchi/ui/hw/libs/waveshare/oledhat/SH1106.py b/pwnagotchi/ui/hw/libs/waveshare/oledhat/SH1106.py index a89716d..d206f70 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/oledhat/SH1106.py +++ b/pwnagotchi/ui/hw/libs/waveshare/oledhat/SH1106.py @@ -34,7 +34,7 @@ class SH1106(object): def Init(self): if (config.module_init() != 0): return -1 - """Initialize dispaly""" + """Initialize display""" self.reset() self.command(0xAE);#--turn off oled panel self.command(0x02);#---set low column address diff --git a/pwnagotchi/ui/hw/libs/waveshare/oledhat/config.py b/pwnagotchi/ui/hw/libs/waveshare/oledhat/config.py index 1eaf68e..6f2355e 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/oledhat/config.py +++ b/pwnagotchi/ui/hw/libs/waveshare/oledhat/config.py @@ -9,11 +9,11 @@ # * | Info : # ******************************************************************************/ # Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documnetation files (the "Software"), to deal +# of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is -# furished to do so, subject to the following conditions: +# furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. diff --git a/pwnagotchi/ui/hw/libs/waveshare/v1/epd2in13.py b/pwnagotchi/ui/hw/libs/waveshare/v1/epd2in13.py index 93685e1..7913c0e 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v1/epd2in13.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v1/epd2in13.py @@ -9,11 +9,11 @@ # # | Info : python demo # ----------------------------------------------------------------------------- # Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documnetation files (the "Software"), to deal +# of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is -# furished to do so, subject to the following conditions: +# furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. diff --git a/pwnagotchi/ui/hw/libs/waveshare/v1/epd2in13bc.py b/pwnagotchi/ui/hw/libs/waveshare/v1/epd2in13bc.py index f17f0af..7974617 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v1/epd2in13bc.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v1/epd2in13bc.py @@ -9,11 +9,11 @@ # # | Info : python demo # ----------------------------------------------------------------------------- # Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documnetation files (the "Software"), to deal +# of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is -# furished to do so, subject to the following conditions: +# furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. diff --git a/pwnagotchi/ui/hw/libs/waveshare/v1/epdconfig.py b/pwnagotchi/ui/hw/libs/waveshare/v1/epdconfig.py index 76d8ca9..728f5cf 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v1/epdconfig.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v1/epdconfig.py @@ -9,11 +9,11 @@ # * | Info : # ****************************************************************************** # Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documnetation files (the "Software"), to deal +# of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is -# furished to do so, subject to the following conditions: +# furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. diff --git a/pwnagotchi/ui/hw/libs/waveshare/v2/waveshare.py b/pwnagotchi/ui/hw/libs/waveshare/v2/waveshare.py index 6c3ed04..a9faac8 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v2/waveshare.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v2/waveshare.py @@ -27,11 +27,11 @@ # epd.display(getbuffer(image)) # ******************************************************************************// # Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documnetation files (the "Software"), to deal +# of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and//or sell # copies of the Software, and to permit persons to whom the Software is -# furished to do so, subject to the following conditions: +# furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. diff --git a/pwnagotchi/ui/hw/libs/waveshare/v27inch/epd2in7.py b/pwnagotchi/ui/hw/libs/waveshare/v27inch/epd2in7.py index 20f1665..4bb2245 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v27inch/epd2in7.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v27inch/epd2in7.py @@ -9,11 +9,11 @@ # # | Info : python demo # ----------------------------------------------------------------------------- # Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documnetation files (the "Software"), to deal +# of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is -# furished to do so, subject to the following conditions: +# furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. diff --git a/pwnagotchi/ui/hw/libs/waveshare/v27inch/epdconfig.py b/pwnagotchi/ui/hw/libs/waveshare/v27inch/epdconfig.py index 861f43d..efbc319 100644 --- a/pwnagotchi/ui/hw/libs/waveshare/v27inch/epdconfig.py +++ b/pwnagotchi/ui/hw/libs/waveshare/v27inch/epdconfig.py @@ -9,11 +9,11 @@ # * | Info : # ****************************************************************************** # Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documnetation files (the "Software"), to deal +# of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is -# furished to do so, subject to the following conditions: +# furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. diff --git a/pwnagotchi/ui/view.py b/pwnagotchi/ui/view.py index d529eca..94a34e1 100644 --- a/pwnagotchi/ui/view.py +++ b/pwnagotchi/ui/view.py @@ -238,7 +238,7 @@ class View(object): part = secs / 10.0 for step in range(0, 10): - # if we weren't in a normal state before goin + # if we weren't in a normal state before going # to sleep, keep that face and status on for # a while, otherwise the sleep animation will # always override any minor state change before it diff --git a/scripts/win_connection_share.ps1 b/scripts/win_connection_share.ps1 index c7c4ece..6c07c47 100644 --- a/scripts/win_connection_share.ps1 +++ b/scripts/win_connection_share.ps1 @@ -51,10 +51,10 @@ Param ( Function Create-HNetObjects { <# .SYNOPSIS - A helper function that does the heavy lifiting with NetCfg.HNetShare + A helper function that does the heavy lifting with NetCfg.HNetShare .DESCRIPTION - A helper function that does the heavy lifiting with NetCfg.HNetShare. This returns a PSObject containing the `INetSharingConfigurationForINetConnection` info of 2 Adapters. + A helper function that does the heavy lifting with NetCfg.HNetShare. This returns a PSObject containing the `INetSharingConfigurationForINetConnection` info of 2 Adapters. .PARAMETER InternetAdaptor The output of Get-NetAdaptor filtered down to the 'main' uplink interface.