Merge pull request #425 from jsoref/spelling

Spelling
This commit is contained in:
evilsocket 2019-10-27 12:56:20 +01:00 committed by GitHub
commit d1d7107923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 35 additions and 35 deletions

View File

@ -2,7 +2,7 @@ __author__ = '33197631+dadav@users.noreply.github.com'
__version__ = '1.0.0' __version__ = '1.0.0'
__name__ = 'auto-backup' __name__ = 'auto-backup'
__license__ = 'GPL3' __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 from pwnagotchi.utils import StatusFile
import logging import logging
@ -30,7 +30,7 @@ def on_loaded():
return return
READY = True READY = True
logging.info("AUTO-BACKUP: Successfuly loaded.") logging.info("AUTO-BACKUP: Successfully loaded.")
def on_internet_available(agent): def on_internet_available(agent):

View File

@ -236,7 +236,7 @@ class BTNap:
timeout -= 1 timeout -= 1
try: try:
logging.debug("BT-TETHER: Stoping Discovery ...") logging.debug("BT-TETHER: Stopping Discovery ...")
bt_dev.StopDiscovery() bt_dev.StopDiscovery()
except Exception as bt_ex: except Exception as bt_ex:
logging.error(bt_ex) logging.error(bt_ex)
@ -423,7 +423,7 @@ def on_loaded():
for opt in ['share_internet', 'mac', 'ip', 'netmask', 'interval']: for opt in ['share_internet', 'mac', 'ip', 'netmask', 'interval']:
if opt not in OPTIONS or (opt in OPTIONS and OPTIONS[opt] is None): 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 return
# ensure bluetooth is running # ensure bluetooth is running

View File

@ -2,7 +2,7 @@ __author__ = '33197631+dadav@users.noreply.github.com'
__version__ = '2.0.0' __version__ = '2.0.0'
__name__ = 'onlinehashcrack' __name__ = 'onlinehashcrack'
__license__ = 'GPL3' __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 os
import logging import logging
@ -74,7 +74,7 @@ def on_internet_available(agent):
_upload_to_ohc(handshake) _upload_to_ohc(handshake)
reported.append(handshake) reported.append(handshake)
REPORT.update(data={'reported': reported}) 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: except requests.exceptions.RequestException as req_e:
SKIP.append(handshake) SKIP.append(handshake)
logging.error("OHC: %s", req_e) logging.error("OHC: %s", req_e)

View File

@ -1,4 +1,4 @@
__author__ = 'pwnagotcchi [at] rossmarks [dot] uk' __author__ = 'pwnagotchi [at] rossmarks [dot] uk'
__version__ = '1.0.0' __version__ = '1.0.0'
__name__ = 'screen_refresh' __name__ = 'screen_refresh'
__license__ = 'GPL3' __license__ = 'GPL3'

View File

@ -13,7 +13,7 @@ OPTIONS = dict()
def on_loaded(): def on_loaded():
logging.warning("%s plugin loaded" % __name__) 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): def on_unfiltered_ap_list(agent,aps):
logging.info("Unfiltered AP list to follow") logging.info("Unfiltered AP list to follow")
for ap in aps: for ap in aps:

View File

@ -1,6 +1,6 @@
# Based on UPS Lite v1.1 from https://github.com/xenDE # 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 # https://github.com/linshuqin329/UPS-Lite
# #

View File

@ -2,7 +2,7 @@ __author__ = '33197631+dadav@users.noreply.github.com'
__version__ = '2.0.0' __version__ = '2.0.0'
__name__ = 'wigle' __name__ = 'wigle'
__license__ = 'GPL3' __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 os
import logging import logging
@ -186,7 +186,7 @@ def on_internet_available(agent):
_send_to_wigle(csv_entries, OPTIONS['api_key']) _send_to_wigle(csv_entries, OPTIONS['api_key'])
reported += no_err_entries reported += no_err_entries
REPORT.update(data={'reported': reported}) 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: except requests.exceptions.RequestException as re_e:
SKIP += no_err_entries SKIP += no_err_entries
logging.error("WIGLE: Got an exception while uploading %s", re_e) logging.error("WIGLE: Got an exception while uploading %s", re_e)

View File

@ -2,7 +2,7 @@ __author__ = '33197631+dadav@users.noreply.github.com'
__version__ = '2.0.1' __version__ = '2.0.1'
__name__ = 'wpa-sec' __name__ = 'wpa-sec'
__license__ = 'GPL3' __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 os
import logging import logging
@ -77,7 +77,7 @@ def on_internet_available(agent):
_upload_to_wpasec(handshake) _upload_to_wpasec(handshake)
reported.append(handshake) reported.append(handshake)
REPORT.update(data={'reported': reported}) 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: except requests.exceptions.RequestException as req_e:
SKIP.append(handshake) SKIP.append(handshake)
logging.error("WPA_SEC: %s", req_e) logging.error("WPA_SEC: %s", req_e)

View File

@ -10,7 +10,7 @@ try:
from .spi import SPI from .spi import SPI
from .gpio import GPIO from .gpio import GPIO
except: except:
print("unknow platform") print("unknown platform")
exit() exit()
CONFIG_IL0376F = { CONFIG_IL0376F = {

View File

@ -47,7 +47,7 @@ to use:
image = Image.new('1', epd.size, 0) image = Image.new('1', epd.size, 0)
# draw on image # draw on image
epd.clear() # clear the panel 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 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 # attempt grayscale conversion, and then to single bit
# better to do this before calling this if the image is to # better to do this before calling this if the image is to
# be dispayed several times # be displayed several times
if image.mode != "1": if image.mode != "1":
image = ImageOps.grayscale(image).convert("1", dither=Image.FLOYDSTEINBERG) image = ImageOps.grayscale(image).convert("1", dither=Image.FLOYDSTEINBERG)

View File

@ -35,7 +35,7 @@ class ST7789(object):
self._spi.writebytes([val]) self._spi.writebytes([val])
def Init(self): def Init(self):
"""Initialize dispaly""" """Initialize display"""
self.reset() self.reset()
self.command(0x36) self.command(0x36)

View File

@ -34,7 +34,7 @@ class SH1106(object):
def Init(self): def Init(self):
if (config.module_init() != 0): if (config.module_init() != 0):
return -1 return -1
"""Initialize dispaly""" """Initialize display"""
self.reset() self.reset()
self.command(0xAE);#--turn off oled panel self.command(0xAE);#--turn off oled panel
self.command(0x02);#---set low column address self.command(0x02);#---set low column address

View File

@ -9,11 +9,11 @@
# * | Info : # * | Info :
# ******************************************************************************/ # ******************************************************************************/
# Permission is hereby granted, free of charge, to any person obtaining a copy # 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 # in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is # 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 # The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software. # all copies or substantial portions of the Software.

View File

@ -9,11 +9,11 @@
# # | Info : python demo # # | Info : python demo
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Permission is hereby granted, free of charge, to any person obtaining a copy # 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 # in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is # 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 # The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software. # all copies or substantial portions of the Software.

View File

@ -9,11 +9,11 @@
# # | Info : python demo # # | Info : python demo
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Permission is hereby granted, free of charge, to any person obtaining a copy # 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 # in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is # 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 # The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software. # all copies or substantial portions of the Software.

View File

@ -9,11 +9,11 @@
# * | Info : # * | Info :
# ****************************************************************************** # ******************************************************************************
# Permission is hereby granted, free of charge, to any person obtaining a copy # 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 # in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is # 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 # The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software. # all copies or substantial portions of the Software.

View File

@ -27,11 +27,11 @@
# epd.display(getbuffer(image)) # epd.display(getbuffer(image))
# ******************************************************************************// # ******************************************************************************//
# Permission is hereby granted, free of charge, to any person obtaining a copy # 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 # in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and//or sell # to use, copy, modify, merge, publish, distribute, sublicense, and//or sell
# copies of the Software, and to permit persons to whom the Software is # 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 # The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software. # all copies or substantial portions of the Software.

View File

@ -9,11 +9,11 @@
# # | Info : python demo # # | Info : python demo
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Permission is hereby granted, free of charge, to any person obtaining a copy # 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 # in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is # 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 # The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software. # all copies or substantial portions of the Software.

View File

@ -9,11 +9,11 @@
# * | Info : # * | Info :
# ****************************************************************************** # ******************************************************************************
# Permission is hereby granted, free of charge, to any person obtaining a copy # 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 # in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is # 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 # The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software. # all copies or substantial portions of the Software.

View File

@ -238,7 +238,7 @@ class View(object):
part = secs / 10.0 part = secs / 10.0
for step in range(0, 10): 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 # to sleep, keep that face and status on for
# a while, otherwise the sleep animation will # a while, otherwise the sleep animation will
# always override any minor state change before it # always override any minor state change before it

View File

@ -51,10 +51,10 @@ Param (
Function Create-HNetObjects { Function Create-HNetObjects {
<# <#
.SYNOPSIS .SYNOPSIS
A helper function that does the heavy lifiting with NetCfg.HNetShare A helper function that does the heavy lifting with NetCfg.HNetShare
.DESCRIPTION .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 .PARAMETER InternetAdaptor
The output of Get-NetAdaptor filtered down to the 'main' uplink interface. The output of Get-NetAdaptor filtered down to the 'main' uplink interface.