示例#1
0
def cl():
    jar_file = 'CancelLocation.jar'

    try:
        cancelLocation = check_call(['java', '-jar', os.path.join(cl_path, jar_file)])
        if cancelLocation == 0:
            fr = raw_input('\nWould you like to go back to Fraud Menu? (y/n): ')
            if fr == 'y' or fr == 'yes':
                ss7main.Fraud()
            elif fr == 'n' or fr == 'no':
                attack_menu = raw_input('Would you like to choose another attacks category? (y/n): ')
                if attack_menu == 'y' or attack_menu == 'yes':
                    ss7main.attacksMenu()
                elif attack_menu == 'n' or attack_menu == 'no':
                    main_menu = raw_input('Would you like to go back to the main menu? (y/exit): ')
                    if main_menu == 'y' or main_menu == 'yes':
                        sigploit.mainMenu()
                    elif main_menu == 'exit':
                        print 'TCAP End...'
                        sys.exit(0)

    except CalledProcessError as e:
        print "\033[31m[-]Error:\033[0mCancelLocation Failed to Launch, " + str(e)
        time.sleep(2)
        ss7main.Fraud()
示例#2
0
def purge():
	
	jar_file = 'PurgeMS.jar'

	try:
		purgeMS = check_call(['java','-jar', os.path.join(purge_path,jar_file)])
		if purgeMS == 0:
			ds = raw_input('\nWould you like to go back to Fraud Menu? (y/n): ')
			if ds == 'y' or ds == 'yes':
				ss7main.DoS()
			elif ds == 'n' or ds == 'no':
				attack_menu = raw_input('Would you like to choose another attacks category? (y/n): ')
				if attack_menu == 'y'or attack_menu =='yes':
					ss7main.attacksMenu()
				elif attack_menu == 'n' or attack_menu =='no':
					main_menu = raw_input('Would you like to go back to the main menu? (y/exit): ')
					if main_menu == 'y' or main_menu =='yes':
						sigploit.mainMenu()
					elif main_menu =='exit':
						print 'TCAP End...'
						sys.exit(0)
			
	
	except CalledProcessError as e:
		print "\033[31m[-]\033[0mError:PurgeMS Failed to Launch, " + e.message
		time.sleep(2)
		ss7main.DoS()
示例#3
0
def ul():
    jar_file = 'UpdateLocation.jar'

    try:
        updateLocation = check_call(
            ['java', '-jar', os.path.join(ul_path, jar_file)])
        if updateLocation == 0:
            it = input(
                '\nWould you like to go back to Interception Menu? (y/n): ')
            if it == 'y' or it == 'yes':
                ss7main.ss7interception()
            elif it == 'n' or it == 'no':
                attack_menu = input(
                    'Would you like to choose another attacks category? (y/n): '
                )
                if attack_menu == 'y' or attack_menu == 'yes':
                    ss7main.attacksMenu()
                elif attack_menu == 'n' or attack_menu == 'no':
                    main_menu = input(
                        'Would you like to go back to the main menu? (y/exit): '
                    )
                    if main_menu == 'y' or main_menu == 'yes':
                        sigploit.mainMenu()
                    elif main_menu == 'exit':
                        print('TCAP End...')
                        time.sleep(1)
                        sys.exit(0)

    except CalledProcessError as e:
        print("\033[31m[-]Error:\033[0m%s Failed to Launch, %s" %
              (jar_file, e.message))
        time.sleep(2)
        ss7main.ss7interception()
示例#4
0
def srism():
    jar_file = 'SendRoutingInfoforSM.jar'

    try:
        srism = check_call(
            ['java', '-jar',
             os.path.join(srism_path, jar_file)])
        if srism == 0:
            lt = raw_input(
                '\nWould you like to go back to LocationTracking Menu? (y/n): '
            )
            if lt == 'y' or lt == 'yes':
                ss7main.ss7tracking()
            elif lt == 'n' or lt == 'no':
                attack_menu = raw_input(
                    'Would you like to choose another attacks category? (y/n): '
                )
                if attack_menu == 'y' or attack_menu == 'yes':
                    ss7main.attacksMenu()
                elif attack_menu == 'n' or attack_menu == 'no':
                    main_menu = raw_input(
                        'Would you like to go back to the main menu? (y/exit): '
                    )
                    if main_menu == 'y' or main_menu == 'yes':
                        sigploit.mainMenu()
                    elif main_menu == 'exit':
                        print 'TCAP End...'
                        sys.exit(0)

    except CalledProcessError as e:
        print "\033[31m[-]Error:\033[0m%s Failed to Launch, %s" % (jar_file,
                                                                   e.message)
        time.sleep(2)
        ss7main.ss7tracking()
示例#5
0
文件: fraud.py 项目: V3rB0se/SigPloit
def mtsms():
    jar_file = 'MTForwardSMS.jar'

    try:
        mtForwardSMS = check_call(
            ['java', '-jar',
             os.path.join(mtsms_path, jar_file)])
        if mtForwardSMS == 0:
            fr = raw_input(
                '\nWould you like to go back to Fraud Menu? (y/n): ')
            if fr == 'y' or fr == 'yes':
                ss7main.ss7fraud()
            elif fr == 'n' or fr == 'no':
                attack_menu = raw_input(
                    'Would you like to choose another attacks category? (y/n): '
                )
                if attack_menu == 'y' or attack_menu == 'yes':
                    ss7main.attacksMenu()
                elif attack_menu == 'n' or attack_menu == 'no':
                    main_menu = raw_input(
                        'Would you like to go back to the main menu? (y/exit): '
                    )
                    if main_menu == 'y' or main_menu == 'yes':
                        sigploit.mainMenu()
                    elif main_menu == 'exit':
                        print 'TCAP End...'
                        sys.exit(0)

    except CalledProcessError as e:
        print "\033[31m[-]Error:\033[0m%s Failed to Launch, %s" % (jar_file,
                                                                   e.message)
        time.sleep(2)
        ss7main.ss7fraud()
示例#6
0
def sai():
    jar_file = 'SendAuthenticationInfo.jar'

    try:
        sendAuth = check_call(
            ['java', '-jar', os.path.join(sai_path, jar_file)])
        if sendAuth == 0:
            fr = input('\nWould you like to go back to Fraud Menu? (y/n): ')
            if fr == 'y' or fr == 'yes':
                ss7main.ss7fraud()
            elif fr == 'n' or fr == 'no':
                attack_menu = input(
                    'Would you like to choose another attacks category? (y/n): '
                )
                if attack_menu == 'y' or attack_menu == 'yes':
                    ss7main.attacksMenu()
                elif attack_menu == 'n' or attack_menu == 'no':
                    main_menu = input(
                        'Would you like to go back to the main menu? (y/exit): '
                    )
                    if main_menu == 'y' or main_menu == 'yes':
                        sigploit.mainMenu()
                    elif main_menu == 'exit':
                        print('TCAP End...')
                        sys.exit(0)

    except CalledProcessError as e:
        print("\033[31m[-]Error:\033[0m%s Failed to Launch, %s" %
              (jar_file, e.message))
        time.sleep(2)
        ss7main.ss7fraud()
示例#7
0
def isd():

    jar_file = 'InsertSubscriberData.jar'

    try:
        insertSD = check_call(
            ['java', '-jar', os.path.join(isd_path, jar_file)])
        if insertSD == 0:
            fr = input('\nWould you like to go back to Fraud Menu? (y/n): ')
            if fr == 'y' or fr == 'yes':
                ss7main.Fraud()
            elif fr == 'n' or fr == 'no':
                attack_menu = input(
                    'Would you like to choose another attacks category? (y/n): '
                )
                if attack_menu == 'y' or attack_menu == 'yes':
                    ss7main.attacksMenu()
                elif attack_menu == 'n' or attack_menu == 'no':
                    main_menu = input(
                        'Would you like to go back to the main menu? (y/exit): '
                    )
                    if main_menu == 'y' or main_menu == 'yes':
                        sigploit.mainMenu()
                    elif main_menu == 'exit':
                        print('TCAP End...')
                        sys.exit(0)

    except CalledProcessError as e:
        print(
            "\033[31m[-]Error:\033[0mInsertSubscriberData Failed to Launch, " +
            str(e))
        time.sleep(2)
        ss7main.ss7fraud()
示例#8
0
def psi():
    jar_file = 'ProvideSubscriberInfo.jar'

    try:
        psi = check_call(['java', '-jar', os.path.join(psi_path, jar_file)])
        if psi == 0:
            lt = raw_input(
                '\nWould you like to go back to LocationTracking Menu? (y/n): '
            )
            if lt == 'y' or lt == 'yes':
                ss7main.ss7tracking()
            elif lt == 'n' or lt == 'no':
                attack_menu = raw_input(
                    'Would you like to choose another attacks category? (y/n): '
                )
                if attack_menu == 'y' or attack_menu == 'yes':
                    ss7main.attacksMenu()
                elif attack_menu == 'n' or attack_menu == 'no':
                    main_menu = raw_input(
                        'Would you like to go back to the main menu? (y/exit): '
                    )
                    if main_menu == 'y' or main_menu == 'yes':
                        sigploit.mainMenu()
                    elif main_menu == 'exit':
                        print 'TCAP End...'
                        sys.exit(0)

    except CalledProcessError as e:
        print "\033[31m[-]Error:\033[0m" + jar_file + " Failed to Launch, " + e.message
        time.sleep(2)
        ss7main.ss7tracking()