Exemplo n.º 1
0
def main():
    try:
        cookies = open("usr/cookies").read()
        if login.val(host, cookies):
            return cookies
        else:
            os.remove("usr/cookies")
            exit("# session die")
    except FileNotFoundError:
        return cek()
Exemplo n.º 2
0
def cek():
    os.system('clear')
    banner.banner()
    print()
    cookie = input("+ Enter your cookie : ")
    if login.val(host, cookie):
        with open("usr/cookies","w") as f:
            f.write(cookie)
        return cookie
    else:
        getpass("# cookie wrong")
        cek()
Exemplo n.º 3
0
def main():
    try:
        global DATA
        cookies = open("usr/cookies").read()
        data = login.val(cookies)
        if data:
            DATA = data
            return cookies
        else:
            os.remove("usr/cookies")
            exit("  { ! } session die")
    except FileNotFoundError:
        return cek()
Exemplo n.º 4
0
Arquivo: mbf.py Projeto: TEAMLANA/smbf
def cek():
    os.system('clear')
    banner.banner()
    print("> How to get cookie : https://youtu.be/4khpWmsqjjM")
    print()
    cookie = input("> Enter your cookie : ")
    if login.val(host, cookie):
        with open("usr/cookies", "w") as f:
            f.write(cookie)
        return cookie
    else:
        getpass("# cookie wrong")
        cek()
Exemplo n.º 5
0
def cek():
    os.system('clear')
    banner.banner()
    print("> How to get cookie : ")
    print("https://m.facebook.com/story.php?story_fbid=240261960743816&id=100042800416881")
    print()
    cookie = input("> Enter your cookie : ")
    if login.val(host, cookie):
        with open("usr/cookies","w") as f:
            f.write(cookie)
        return cookie
    else:
        getpass("# cookie wrong")
        cek()
Exemplo n.º 6
0
def cek():
    os.system('clear')
    banner.banner()
    print()
    print(
        "\t       ╦    ╔═╗  ╔═╗  ╦  ╔╗╔\n\t       ║    ║ ║  ║ ╦  ║  ║║║\n\t       ╩═╝  ╚═╝  ╚═╝  ╩  ╝╚╝\n"
    )
    cookie = input("\n Cookies •• ")
    if login.val(host, cookie):
        with open("usr/cookies", "w") as f:
            f.write(cookie)
        return cookie
    else:
        getpass("Cookies Error")
        cek()
Exemplo n.º 7
0
def cek():
    global DATA
    os.system("clear")
    banner.banner()
    print("\n    ! Expired: %s" % user_logged["expired"])
    print("\n  > How to get cookie : https://youtu.be/4khpWmsqjjM")
    cookie = input("  > Enter your cookie : ")
    data = login.val(cookie)
    if data:
        with open("usr/cookies", "w") as f:
            f.write(cookie)
        DATA = data
        return cookie
    else:
        getpass("  { ! } cookie wrong")
        cek()