diff --git a/core/config.py b/core/config.py index dcf2671..398174f 100644 --- a/core/config.py +++ b/core/config.py @@ -1,3 +1,5 @@ +changes = '''critical bug fixes''' + xsschecker = 'v3dm0s' # A non malicious string to check for reflections and stuff minEfficiency = 90 @@ -74,4 +76,4 @@ blindParams = ['redirect','redir','url','link','goto','debug','_debug','test','g 'out','net','host','address','code','auth','userid','auth_token','token','error','keyword','key','q','query','aid', 'bid','cid','did','eid','fid','gid','hid','iid','jid','kid','lid','mid','nid','oid','pid','qid','rid','sid', 'tid','uid','vid','wid','xid','yid','zid','cal','country','x','y','topic','title','head','higher','lower','width', -'height','add','result','log','demo','example','message'] \ No newline at end of file +'height','add','result','log','demo','example','message'] diff --git a/core/updater.py b/core/updater.py index 8382ceb..ae2fa42 100644 --- a/core/updater.py +++ b/core/updater.py @@ -1,12 +1,12 @@ import re import os from requests import get +from core.config import changes from core.colors import run, que, good, info, red, end, green def updater(): print('%s Checking for updates' % run) - changes = '''''' # Changes must be seperated by ; - latestCommit = get('https://raw.githubusercontent.com/s0md3v/XSStrike/master/xsstrike').text + latestCommit = get('https://raw.githubusercontent.com/s0md3v/XSStrike/master/core/config.py').text if changes not in latestCommit: # just a hack to see if a new version is available changelog = re.search(r"changes = '''(.*?)'''", latestCommit) diff --git a/xsstrike.py b/xsstrike.py index 06ef733..3463a0d 100644 --- a/xsstrike.py +++ b/xsstrike.py @@ -9,8 +9,6 @@ print('''%s \tXSStrike %sv3.0 %s''' % (red, white, end)) -changes = '''critical bug fixes''' - try: from urllib.parse import quote_plus, unquote, urlparse except ImportError: # throws error in python2