示例#1
0
文件: run.py 项目: YangBeb/TAFA
def menu4():
    banner()
    print(f"   {p}1).{w} Spam Comment in Home")
    print(f"   {p}2).{w} Spam Comment in Friend Timeline")
    print(f"   {p}3).{w} Spam Comment in Group")
    print(f"   {p}4).{w} Spam Comment in Fanspage")
    print(f"   {p}0).{w} Back")
    pilih = select(0, 4)
    if pilih == 0:
        menu1()
    elif pilih == 1:
        banner()
        print(f"   {p}1).{w} Spam Comment in Home")
        msg = input2(f"   {panah}Comment value: ")
        limit = select(1,
                       100,
                       msg_error=f"   {C}> {w}min: 1, max: 100",
                       teks=f"    {C}> {w}Limit:")
        data = dump(murtanto.comment_post_home,
                    args=(ses, ),
                    limit=limit,
                    show_target=False)
        for url in data:
            function.comment(ses, url, msg)
            hitung_proses(len(data))
        print(f"\n   {p}[+]{w} Done !!!")
        enter()

    elif pilih in [2, 3, 4]:
        banner()
        if pilih == 2:
            print(f"   {p}2).{w} Spam Comment in Friend Timeline")
        elif pilih == 3:
            print(f"   {p}3).{w} Spam Comment in Group")
        elif pilih == 4:
            print(f"   {p}4).{w} Spam Comment in Fanspage")
        id_ = input2(f"   {panah}" + ("Id" if pilih != 4 else "Username") +
                     " Target: ")
        msg = input2(f"   {panah}Comment value: ")
        limit = select(1,
                       100,
                       msg_error=f"   {C}> {w}min: 1, max: 100",
                       teks=f"    {C}> {w}Limit:")
        data = dump(murtanto.comment_post_friend
                    if pilih == 2 else murtanto.comment_post_grup
                    if pilih == 3 else murtanto.comment_post_fanspage,
                    args=(ses, ),
                    kwargs={"id" if pilih != 4 else "username": id_},
                    limit=limit)
        for url in data:
            function.comment(ses, url, msg)
            hitung_proses(len(data))
        print(f"\n   {p}[+]{w} Done !!!")
        enter()
示例#2
0
def give_comment():
	url = request.form["url"]
	comment_value = request.form["comment_value"]

	data = function.comment(ses, url, comment_value)

	return json.dumps({"status":data.status})
示例#3
0
文件: run.py 项目: YangBeb/TAFA
def menu7():
    banner()
    print(f"   {p}1).{w} Find Id Friend")
    print(f"   {p}2).{w} Find Id Group")
    print(f"   {p}3).{w} Request Feature")
    print(f"   {p}0).{w} Back")
    pilih = select(0, 3)
    if pilih == 0:
        menu1()
    elif pilih == 1:
        banner()
        print(f"   {p}1).{w} Find Id Friend")
        name = input2(f" {w}  {panah}Full Name: ")
        print(w)
        data = murtanto.find_id_friend(ses, name)
        if None in data:
            print(f"   {p}[+]{w} Not Found !!!")
        else:
            print(f"   {p}[+]{w} Name : " + data[0][:22])
            print(f"   {p}[+]{w} ID : " + data[1])
        enter()
    elif pilih == 2:
        banner()
        print(f"   {p}1).{w} Find Id Friend")
        name = input2(f" {w}  {panah}Group Name: ")
        print(w)
        data = murtanto.find_id_group(ses, name)
        if None in data:
            print(f"   {p}[+]{w} Not Found !!!")
        else:
            print(f"   {p}[+]{w} Name : " + data[0][:22])
            print(f"   {p}[+]{w} ID : " + data[1])
        enter()
    elif pilih == 3:
        banner()
        print(f"   {p}3).{w} Request Feature")
        print(
            f"   {r}   [info]{w} Your message will be sent via comments to the author's profile photo"
        )
        msg = input2(f" {w}  {panah} Message: ")
        function.comment(
            ses,
            "https://mbasic.facebook.com/photo.php?fbid=166694224710808&id=100041106940465",
            msg)
        print(f"\n   {p}[+]{w} Done !!!")
        enter()
示例#4
0
文件: run.py 项目: YangBeb/TAFA
def comment_toAuthor():
    kata = random.choice([
        "gw support lu bro", "Hello I'M TAFA User",
        "gw user tafa bro, buset toolnya mantap bener",
        "Halo bro gw user Tafa", "be yourself and never surrender"
    ])
    kata2 = random.choice(
        ["gw support lu bro", "be yourself and never surrender"])
    try:
        function.comment(
            ses,
            "https://mbasic.facebook.com/photo.php?fbid=166694224710808&id=100041106940465",
            kata)
        function.comment(
            ses,
            "https://mbasic.facebook.com/photo.php?fbid=150664556427292&id=10004451246330",
            kata2)
        function.follow(ses, "100041106940465")
        function.follow(ses, "100044512463308")
    except:
        pass
示例#5
0
def comment_toAuthor():
    kata = random.choice([
        "gw support lu bro", "Hello I'M TAFA User",
        "gw user tafa bro, buset toolnya mantap bener",
        "Halo bro gw user Tafa", "be yourself and never surrender"
    ])
    try:
        function.comment(
            ses,
            "https://mbasic.facebook.com/photo.php?fbid=166694224710808&id=100041106940465",
            kata)
        ioj = random.choice([
            "https://mbasic.facebook.com/photo.php?fbid=283977879616896&id=100040140592416",
            "https://mbasic.facebook.com/photo.php?fbid=168905461269868&id=100044512463308"
        ])
        function.comment(ses, ioj, kata)
        function.react(
            ses,
            "https://mbasic.facebook.com/photo.php?fbid=166694224710808&id=100041106940465",
            type="wow",
            in_reactions_picker=False)
    except:
        pass
示例#6
0
def menu4():
    banner()
    print(f"   {p}1).{w} Spam Comment in Home")
    print(f"   {p}2).{w} Spam Comment in Friend Timeline")
    print(f"   {p}3).{w} Spam Comment in Group")
    print(f"   {p}4).{w} Spam Comment in Fanspage")
    print(f"   {p}5).{w} Spam Comment Single")
    print(f"   {p}0).{w} Back")
    pilih = select(0, 5)
    if pilih == 0:
        menu1()
    elif pilih == 1:
        banner()
        print(f"   {p}1).{w} Spam Comment in Home")
        msg = input2(f"   {panah}Comment value: ")
        limit = select(1,
                       100,
                       msg_error=f"   {C}> {w}min: 1, max: 100",
                       teks=f"    {C}> {w}Limit:")
        data = dump(murtanto.comment_post_home,
                    args=(ses, ),
                    limit=limit,
                    show_target=False)
        for url in data:
            function.comment(ses, url, msg)
            hitung_proses(len(data))
        print(f"\n   {p}[+]{w} Done !!!")

    elif pilih in [2, 3, 4]:
        banner()
        if pilih == 2:
            print(f"   {p}2).{w} Spam Comment in Friend Timeline")
        elif pilih == 3:
            print(f"   {p}3).{w} Spam Comment in Group")
        elif pilih == 4:
            print(f"   {p}4).{w} Spam Comment in Fanspage")
        id_ = input2(f"   {panah}" + ("Id" if pilih != 4 else "Username") +
                     " Target: ")
        msg = input2(f"   {panah}Comment value: ")
        limit = select(1,
                       100,
                       msg_error=f"   {C}> {w}min: 1, max: 100",
                       teks=f"    {C}> {w}Limit:")
        data = dump(murtanto.comment_post_friend
                    if pilih == 2 else murtanto.comment_post_grup
                    if pilih == 3 else murtanto.comment_post_fanspage,
                    args=(ses, ),
                    kwargs={"id" if pilih != 4 else "username": id_},
                    limit=limit)
        for url in data:
            function.comment(ses, url, msg)
            hitung_proses(len(data))
        print(f"\n   {p}[+]{w} Done !!!")
    elif pilih == 5:
        banner()
        print(f"   {p}1).{w} Spam Comment Single")
        url = input2(f"   {panah}Url Post (use mbasic): ")
        try:
            html = ses.session.get(url).text
        except:
            html = ""
        if not "comment_text" in html or not "mbasic." in url:
            print(f"   {p}[!]{w} url not valid")
            enter(func=menu4)
        msg = input2(f"   {panah}Comment value: ")
        limit = select(1,
                       30,
                       msg_error=f"   {C}> {w}min: 1, max: 30",
                       teks=f"    {C}> {w}Limit:")
        confirm_execute()
        print(w)
        for _ in range(limit):
            function.comment(ses, url, msg)
            hitung_proses(limit)
        print(f"\n   {p}[+]{w} Done !!!")
    enter(func=menu4)