Skip to content

Commit

Permalink
Added in automatic checking for any updates. User still needs to down…
Browse files Browse the repository at this point in the history
…load updates themselves
  • Loading branch information
prodigysml committed Oct 31, 2019
1 parent da91017 commit 37eaf66
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion __version__.py
@@ -1 +1,11 @@
__version__ = "1.0.1"
import urllib2

__version__ = "1.0.1"

try:

r = urllib2.urlopen("https://raw.githubusercontent.com/prodigysml/Dr.-Watson/master/__version__.py", timeout=3)
if not __version__ == r.read().split('"')[1]:
print("Dr. Watson is out of date. Please download the latest version from GitHub. https://prodigysml/Dr.-Watson/")
except:
pass
1 change: 1 addition & 0 deletions dr-watson.py
Expand Up @@ -17,6 +17,7 @@
from array import array
import re
import json
import __version__


class BurpExtender(IBurpExtender, IScannerCheck):
Expand Down

0 comments on commit 37eaf66

Please sign in to comment.