diff --git a/files/updateControl.py b/files/updateControl.py new file mode 100644 index 0000000..5a4cd27 --- /dev/null +++ b/files/updateControl.py @@ -0,0 +1,12 @@ +#!/usr/bin/python3 +from requests import get + +def update(ver:str=None): + + ver: str = open('.version', 'r').read() + + githubVerionController: str = get('https://raw.githubusercontent.com/C4ssif3r/WebExploit/main/files/.version').text + + if ver != githubVerionController: + upsateQuestion = input (f'update available !\n web explloit new verion: {githubVerionController}\nare you want to update ? [y/n] ') + if updateQuestion == 'y': \ No newline at end of file