Created
April 3, 2020 09:04
-
-
Save theSage21/7fee669c517843fff9dd7049a6abf1e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_flag(): | |
con = None | |
flag = None | |
while True: | |
try: | |
con = swat.CAS() if con is None else con | |
flag = con.CASTable() if flag is None else flag | |
except Exception: | |
con = flag = None | |
else: | |
return flag | |
def data_requested(): | |
data = get_flag() | |
## auth.py | |
class AuthClass: | |
@property | |
def flag(self): | |
return None | |
def get_flag(self): | |
return None | |
Auth = AuthClass(user, password) | |
## fetch_data.py | |
from Auth import Auth | |
data = Auth.get_flag() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment