diff --git a/README.md b/README.md index 0c73d88..ad9003f 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@ **Getting OneShot** ``` cd ~ - wget https://raw.githubusercontent.com/drygdryg/OneShot/master/oneshot.py + wget https://raw.githubusercontent.com/kimocoder/OneShot/master/oneshot.py ``` Optional: getting a list of vulnerable to pixie dust devices for highlighting in scan results: ``` - wget https://raw.githubusercontent.com/drygdryg/OneShot/master/vulnwsc.txt + wget https://raw.githubusercontent.com/kimocoder/OneShot/master/vulnwsc.txt ``` ## Arch Linux **Installing requirements** @@ -48,11 +48,11 @@ Optional: getting a list of vulnerable to pixie dust devices for highlighting in ``` **Getting OneShot** ``` - wget https://raw.githubusercontent.com/drygdryg/OneShot/master/oneshot.py + wget https://raw.githubusercontent.com/kimocoder/OneShot/master/oneshot.py ``` Optional: getting a list of vulnerable to pixie dust devices for highlighting in scan results: ``` - wget https://raw.githubusercontent.com/drygdryg/OneShot/master/vulnwsc.txt + wget https://raw.githubusercontent.com/kimocoder/OneShot/master/vulnwsc.txt ``` ## Alpine Linux It can also be used to run on Android devices using [Linux Deploy](https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy) @@ -67,18 +67,18 @@ Adding the testing repository: ``` **Getting OneShot** ``` - sudo wget https://raw.githubusercontent.com/drygdryg/OneShot/master/oneshot.py + sudo wget https://raw.githubusercontent.com/kimocoder/OneShot/master/oneshot.py ``` Optional: getting a list of vulnerable to pixie dust devices for highlighting in scan results: ``` - sudo wget https://raw.githubusercontent.com/drygdryg/OneShot/master/vulnwsc.txt + sudo wget https://raw.githubusercontent.com/kimocoder/OneShot/master/vulnwsc.txt ``` ## [Termux](https://termux.com/) Please note that root access is required. #### Using installer ``` - curl -sSf https://raw.githubusercontent.com/drygdryg/OneShot_Termux_installer/master/installer.sh | bash + curl -sSf https://raw.githubusercontent.com/kimocoder/OneShot_Termux_installer/master/installer.sh | bash ``` #### Manually **Installing requirements** @@ -88,7 +88,7 @@ Please note that root access is required. ``` **Getting OneShot** ``` - git clone --depth 1 https://github.com/drygdryg/OneShot OneShot + git clone --depth 1 https://github.com/kimocoder/OneShot OneShot ``` #### Running ``` diff --git a/oneshot.py b/oneshot.py index 8056513..5b43de2 100755 --- a/oneshot.py +++ b/oneshot.py @@ -1013,14 +1013,14 @@ def colored(text, color=None): for n, network in network_list_items: number = f'{n})' model = '{} {}'.format(network['Model'], network['Model number']) - essid = truncateStr(network['ESSID'], 25) + essid = truncateStr(network.get('ESSID', 'Unknown'), 25) deviceName = truncateStr(network['Device name'], 27) line = '{:<4} {:<18} {:<25} {:<8} {:<4} {:<27} {:<}'.format( number, network['BSSID'], essid, network['Security type'], network['Level'], deviceName, model ) - if (network['BSSID'], network['ESSID']) in self.stored: + if (network['BSSID'], network.get('ESSID', 'Unknown')) in self.stored: print(colored(line, color='yellow')) elif network['WPS locked']: print(colored(line, color='red'))