Skip to content

Commit

Permalink
new file: files/updateControl.py
Browse files Browse the repository at this point in the history
  • Loading branch information
C4ssif3r committed Jul 4, 2024
1 parent 8cc5836 commit 7f17f5d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions files/updateControl.py
Original file line number Diff line number Diff line change
@@ -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':

0 comments on commit 7f17f5d

Please sign in to comment.