コード例 #1
0
def LocationTracking():
	os.system('clear')

	print " \033[31mLocation Tracking\033[0m ".center(105,"#")
	print " \033[34mSelect a Message from the below\033[0m ".center(105,"#")
	print
	print "   Message".rjust(10)+"\t\t\tCategory"
	print "   --------                    --------"
	print "0) SendRoutingInfo".rjust(21) +"\t\t CAT1"
	print "1) ProvideSubsriberInfo".rjust(26) + "\t CAT2"
	print "2) SendRoutingInfoForSM".rjust(26) + "\t CAT3"
	print "3) AnyTimeInterrogation".rjust(26) + "\t CAT1"
	print "4) SendRoutingInfoForGPRS".rjust(28) + "\t CAT1"
	
	print
	print "or type back to go back to Attacks Menu".rjust(42)

	choice = raw_input("\033[37m(\033[0m\033[2;31mLocationTracking\033[0m\033[37m)>\033[0m ")

	if choice == "0":
		tracking.sri()
	elif choice == "1":
		tracking.psi()
	elif choice == "2":
		tracking.srism()
	elif choice == "3":
		tracking.ati()
	elif choice == "4":
		tracking.srigprs()
	elif choice == "back":
		attacksMenu()	
	else:
		print '\n\033[31m[-]Error:\033[0m Please Enter a Valid Choice (0 - 4)'
		time.sleep(1.5)
		LocationTracking()
コード例 #2
0
ファイル: SiGploit.py プロジェクト: Pawankumar9/SigPloit
def LocationTracking():
	os.system('clear')

	print " \033[31mLocation Tracking Module\033[0m ".center(105,"#")
	print " \033[34mSelect a Message from the below\033[0m ".center(105,"#")
	print
	print "   Message".rjust(10)+"\t\t\tCategory"
	print "   --------                    --------"
	print "0) SendRoutingInfo".rjust(21) +"\t\t CAT1"
	print "1) ProvideSubsriberInfo".rjust(26) + "\t CAT2"
	print "2) SendRoutingInfoForSM".rjust(26) + "\t CAT3"
	print "3) AnyTimeInterrogation".rjust(26) + "\t CAT1"
	print "4) SendRoutingInfoForGPRS".rjust(28) + "\t CAT1"
	print
	print "or type back to go back to Attacks Menu".rjust(42)

	choice = raw_input("\033[37m(\033[0m\033[2;31mLocationTracking\033[0m\033[37m)>\033[0m ")

	if choice == "0":
		tracking.sri()
	elif choice == "1":
		tracking.psi()
	elif choice == "2":
		tracking.srism()
	elif choice == "3":
		tracking.ati()
	elif choice == "4":
		tracking.srigprs()
	elif choice == "back":
		attacksMenu()	
	else:
		print '\n\033[31m[-]Error:\033[0m Please Enter a Valid Choice (0 - 4)'
		time.sleep(1.5)
		LocationTracking()