예제 #1
0
    def __init__(self):
        information = {
            "Name": "Discovery BLE devices ",
            "Description":
            "With this module you can discover nearby devices with BLE (Bluetooth Low Energy) active. The result will be sorted by RSSI.",
            "privileges": "root",
            "OS": "Linux",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?
        options = {
            "timeout":
            Option.create(name="timeout", value=5, required=True),
            "rssi":
            Option.create(
                name="rssi",
                description='dB signal to filter (min value, example -60)'),
            "iface":
            Option.create(
                name="iface",
                value=0,
                description='Ble iface index (default to 0 for hci0)')
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #2
0
    def __init__(self):
        self.connected = False
        self.file_to_save = None
        information = {
            "Name": "MQTT Subscribe",
            "Description":
            "Launch this module to try get information through MQTT (Mosquitto)",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?
        options = {
            "rhost":
            Option.create(name="rhost", required=True),
            "file":
            Option.create(name="file", value="./files/mqtt.txt",
                          required=True),
            "verbose":
            Option.create(name="verbose",
                          value="True",
                          description="Show if connection is established")
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #3
0
    def __init__(self):
        information = {
            "Name": "Read pcap",
            "Description":
            "This module allows read captured packets from a .pacp file.",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?

        options = {
            "file":
            Option.create(name="file",
                          value="./files/blueScapy.pcap",
                          required=True,
                          description='pcap file to read'),
            "pkts":
            Option.create(
                name="pkts",
                value=0,
                description=
                'Limit total packets to show in terminal (0 no limit)')
        }
        conf.verb = 0

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #4
0
    def __init__(self):
        conf.verb = 0
        conf.L3socket = L3RawSocket
        information = {
            "Name": "ARP Scan",
            "Description":
            "The module performs an ARP scanner to detect active hosts on a network.",
            "privileges": "root",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?

        options = {
            "rhost":
            Option.create(
                name="rhost",
                required=True,
                description=
                "Hosts to check (Examples: 192.168.56.1 or 192.168.56.0/16)"),
            "iface":
            Option.create(name="iface", required=True),
            "timeout":
            Option.create(name="timeout", value=2),
            "verbose":
            Option.create(name="verbose", value=False)
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #5
0
    def __init__(self):
        self.SSDP_MX = 2
        self.SSDP_TARGET = ("239.255.255.250", 1900)
        information = {
            "Name":
            "Discovery SSDP Services",
            "Description":
            "Using this module you will be able to discover active devices through SSDP protocol.",
            "Author":
            "@josueencinar, @pablogonzalezpe",
            "Reference":
            "https://github.com/home-assistant/netdisco/blob/master/netdisco/ssdp.py"
        }

        # -----------name-----default_value--description--required?
        options = {
            "timeout":
            Option.create(name="timeout", value=5, required=True),
            "service":
            Option.create(name="service",
                          value="ssdp:all",
                          description='Service type string to search for')
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #6
0
    def __init__(self):
        information = {
            "Name": "MQTT publish",
            "Description":
            "Launch this module publish data through MQTT (Mosquitto)",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?
        options = {
            "rhost":
            Option.create(name="rhost", required=True),
            "sensor":
            Option.create(name="sensor",
                          value="smarthouse/maindoor",
                          required=True,
                          description="Sensor to change data"),
            "data":
            Option.create(name="data",
                          value="{'motion':'1'}",
                          required=True,
                          description="Data to be sent")
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #7
0
    def __init__(self):
        information = {
            "Name":
            "BluedIoT",
            "Description":
            "This module allows you to change the password in 360 Fly Action Cameras making use of the vulnerability indicated in the CVE-2017-8403.",
            "privileges":
            "root",
            "OS":
            "Linux",
            "Author":
            "@josueencinar",
            "Reference":
            "http://www.elladodelmal.com/2017/05/bluediot-como-hackear-360fly-action.html"
        }

        # -----------name-----default_value--description--required?
        options = {
            "bmac":
            Option.create(name="bmac", required=True),
            "password":
            Option.create(
                name="password",
                value="1234",
                required=True,
                description="Password to overwrite the current one "),
            "iface":
            Option.create(
                name="iface",
                value=0,
                description='Ble iface index (default to 0 for hci0)')
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #8
0
파일: info.py 프로젝트: wanggh1021/KITT
    def __init__(self):
        information = {
            "Name": "Show NFC Info",
            "Description":
            "Launch this module to show all content contained on an NFC Tag.",
            "privileges": "root",
            "OS": "Linux",
            "Reference": "https://nfcpy.readthedocs.io/en/latest/",
            "Author": "@lucferbux"
        }

        options = {
            'reader':
            Option.create(name="reader",
                          value="usb",
                          required=True,
                          description="reader used to write the tag"),
            'verbose':
            Option.create(name="verbose",
                          value=False,
                          description="verbose mode"),
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #9
0
    def __init__(self):
        information = {"Name": "nmap Port scan",
                       "Description": """This module use nmap to perform a port scan. It's possible to perform the following scans:

- S: SYN
- T: Connect
- A: ACK
- W: Window
- M: Maimon
- N: Null
- F: FIN
- X: Xmas """,
                       "privileges": "root",
                       "Author": "@josueencinar"}

        # -----------name-----default_value--description--required?
        options = {"rhost": Option.create(name="rhost", required=True),
                    "rports": Option.create(name="rports", required=True),
                   "timeout": Option.create(name="timeout", value=6, required=True),
                   "scan": Option.create(name="scan", value="S", 
                                        description='nmap scan. Check namp scans to configure (Examples: SYN = S; Connect = T) ("show info" to check more)', required=True)
                }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #10
0
파일: load.py 프로젝트: wanggh1021/KITT
    def __init__(self):
        information = {
            "Name": "Load NFC file",
            "Description":
            "The module loads the content from a file to an nfc tag.",
            "privileges": "root",
            "OS": "Linux",
            "Reference": "https://nfcpy.readthedocs.io/en/latest/",
            "Author": "@lucferbux"
        }

        options = {
            'reader':
            Option.create(name="reader",
                          value="usb",
                          required=True,
                          description="reader used to write the tag"),
            'file':
            Option.create(name="file",
                          value="tag.ndef",
                          required=True,
                          description="source file"),
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #11
0
    def __init__(self):
        information = {
            "Name": "BLE Read State",
            "Description":
            "This script sniffs BLE traffic and displays status messages from Apple devices. Moreover, the tool detects request for password sharing from apple devices ir order to guess the original phone number",
            "privileges": "root",
            "OS": "Linux",
            "Reference": "https://github.com/hexway/apple_bleee",
            "Author": "@lucferbux"
        }

        options = {
            'ssid':
            Option.create(name="ssid",
                          value=False,
                          description="Get SSID from requests"),
            'airdrop':
            Option.create(name="airdrop",
                          value=False,
                          description="Get info from AWDL"),
            'ttl':
            Option.create(name="ttl", value=10, description="ttl"),
            "iface":
            Option.create(
                name="iface",
                value="wlan0",
                description="Wireless Interface to enable monitor mode"),
            "hci":
            Option.create(name="hci",
                          value=0,
                          description="Bluetooth Interface"),
        }
        self.pr = None
        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #12
0
    def __init__(self):
        information = {
            "Name": "DirtiTooth",
            "Description":
            "Takes advantage of the management of the profiles causing impact on the privacy of users who use Bluetooth technology daily. Run launchService before",
            "Author": "@josueencinar",
            "privileges": "root",
            "Target": "iOS 11.2 and earlier"
        }

        # -----------name-----default_value--description--required?
        options = {
            "bmac":
            Option.create(
                name="bmac",
                required=True,
                description=
                'Mac of the victim joined by the launchService module'),
            "path":
            Option.create(name="path",
                          value="/tmp/dirtytooth",
                          required=True,
                          description='Path to save contacts')
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #13
0
파일: _shodan.py 프로젝트: ganau/PwnHome
 def __init__(self,
              information,
              opts=None,
              default_file_name="./files/shodan.txt"):
     # -----------name-----default_value--description--required?
     options = {
         "apishodan":
         Option.create(name="apishodan", required=True),
         "file":
         Option.create(name="file", value=default_file_name, required=True)
     }
     if opts:
         options.update(opts)
     # Constructor of the parent class
     super(ShodanModule, self).__init__(information, options)
     # Set Shodan key if exists in $HOME/.shodan/api_key and it doesn't have a global value.
     if not self.args["apishodan"]:
         try:
             home = getenv("HOME")
             shodan_key_path = home + "/.shodan/api_key"
             with open(shodan_key_path, "r") as f:
                 key = f.read().strip()
                 self.set_value(["apishodan", key])
         except:
             pass
예제 #14
0
    def __init__(self):
        information = {
            "Name": "Send Youtube Video",
            "Description":
            "The module allows you to send a youtube video to a version 2 chromecast.",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?
        options = {
            "rhost":
            Option.create(name="rhost"),
            "name":
            Option.create(name="name", description="Chromecast name"),
            "timeout":
            Option.create(name="timeout"),
            "video":
            Option.create(
                name="video",
                required=True,
                description=
                "Youtube Video ID > http://youtube.com/watch?v='video_id'")
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #15
0
    def __init__(self):
        information = {
            "Name": "Search printers",
            "Description":
            "Launch this module to discover nearby printers that have a raised access point.",
            "privileges": "root",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?
        options = {
            "iface":
            Option.create(
                name="iface",
                required=True,
                description="Network Interface (that allows promiscuous mode)"
            ),
            "channel":
            Option.create(name="channel")
        }

        self.ap_dict = {}
        self.station_dict = {}
        self.F_bssids = []
        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #16
0
    def __init__(self):
        information = {
            "Name": "BLE Characteristics",
            "Description":
            "This module serves to read all the characteristics of a given BLE device. If you specify a UUID, only that characteristic will be read.",
            "privileges": "root",
            "OS": "Linux",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?
        options = {
            "bmac":
            Option.create(name="bmac", required=True),
            "uuid":
            Option.create(name="uuid",
                          description='Specific UUID for a characteristic'),
            "type":
            Option.create(name="type",
                          value="random",
                          required=True,
                          description='Device addr type')
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #17
0
    def __init__(self):
        information = {
            "Name": "Clone NFC file",
            "Description":
            "This module dumps the contents of an nfc tag in a file and then load this content in a new nfc tag.",
            "privileges": "root",
            "OS": "Linux",
            "Reference": "https://nfcpy.readthedocs.io/en/latest/",
            "Author": "@lucferbux, @josueencinar"
        }

        options = {
            'reader':
            Option.create(name="reader",
                          value="usb",
                          required=True,
                          description="reader used to write the tag"),
            'file':
            Option.create(
                name="file",
                value="tag.ndef",
                required=True,
                description=
                "destination file to dump the content and then load it"),
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #18
0
    def __init__(self):
        information = {
            "Name": "Capture Bluetooth Packets ",
            "Description":
            "This module creates a task in background who takes care of capturing Bluetooth Packets with Scapy. When the user finishes the task he saves the packages in a .pcap file.",
            "privileges": "root",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?
        options = {
            "file":
            Option.create(name="file",
                          value="./files/blueScapy.pcap",
                          required=True),
            "iface":
            Option.create(
                name="iface",
                value="0",
                required=True,
                description='Bluetooth interface (Example: set 0 to hci0')
        }
        conf.verb = 0

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #19
0
파일: deauth.py 프로젝트: wanggh1021/KITT
    def __init__(self):
        information = {
            "Name":
            "Wifi Deauth",
            "Description":
            "With this module you will be able to pull a specific user out from a specific network. If client is set to broadcast you will kick out all users. If count -1 the attack will be continued until you finish it manually.",
            "Author":
            "@josueencinar",
            "Reference":
            "https://gist.github.com/garyconstable/1dca3c32dfd05f0bd15f"
        }

        # -----------name-----default_value--description--required?
        options = {
            "bssid":
            Option.create(name="bssid",
                          required=True,
                          description="Access point mac address"),
            "iface":
            Option.create(name="iface", required=True),
            "client":
            Option.create(name="mac",
                          required=True,
                          description="Target Mac address"),
            "count":
            Option.create(
                name="count",
                value=-1,
                required=True,
                description=
                "Number of packets to send (-1 >> infinite in background)")
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #20
0
    def __init__(self):
        information = {
            "Name":
            "Bluetooth MAC Spoofing",
            "Description":
            "This module is designed to allow you spoof a bluetooth device using Spooftooph. If you want to create a bluetooth service with the features of an active device near you, you must specify the name or bmac to find the device and extract the information. It is also possible to manually specify everything and 'invent' a bluetooth.",
            "privileges":
            "root",
            "OS":
            "Linux",
            "Author":
            "@josueencinar",
            "Reference":
            "https://github.com/pwnieexpress/pwn_plug_sources/tree/master/src/bluetooth/spooftooph/source"
        }

        # -----------name-----default_value--description--required?
        options = {
            "name":
            Option.create(name="name", description="Device name to spoof"),
            "iface":
            Option.create(name="iface", value="hci0", required=True),
            "bmac":
            Option.create(name="bmac", description="New device address"),
            "class":
            Option.create(name="class",
                          description='Bluetooth class (Profile)')
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #21
0
    def __init__(self):
        information = {
            "Name": "QR Generator",
            "Description":
            "With this module it is possible to generate a QR code in a customized way according to the information provided.",
            "OS": "Linux",
            "Author": "@lucferbux"
        }

        options = {
            'data':
            Option.create(name="data",
                          required=True,
                          description="data to write"),
            'version':
            Option.create(name="version",
                          value=1,
                          required=False,
                          description="version of qr generated"),
            'box_size':
            Option.create(name="data",
                          value=10,
                          required=False,
                          description="size of the box of the qr"),
            'border':
            Option.create(name="data",
                          value=1,
                          required=False,
                          description="width of the border"),
            'fill_color':
            Option.create(name="fill_color",
                          value="black",
                          required=False,
                          description="collor of the pattern"),
            'back_color':
            Option.create(name="back_color",
                          value="white",
                          required=False,
                          description="background color"),
            'append':
            Option.create(name="append",
                          value=False,
                          required=True,
                          description="overwrite the records of a tag"),
            'file':
            Option.create(name="file",
                          value="qr.png",
                          required=True,
                          description="destination file"),
            'save':
            Option.create(
                name="save",
                value=False,
                description=
                "Wether if we save the file in the path written in file or not"
            )
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #22
0
파일: rename.py 프로젝트: wanggh1021/KITT
    def __init__(self):
        information = {"Name": "Rename Chromecast",
                       "Description": "Using this module you can change directly the name to a specific chromecast.",
                       "Author": "@pablogonzalezpe, @josueencinar"}

        # -----------name-----default_value--description--required?
        options = {"rhost": Option.create(name="rhost", required=True),
                   "name": Option.create(name="name", value="Pwned", 
                            description="New name to set", required=True)}

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #23
0
    def __init__(self):
        information = {"Name": "CVE-2019-12477",
                       "Description": "Supra Smart Cloud TV allows remote file inclusion in the openLiveURL function, which allows a local attacker to broadcast fake video without any authentication via a /remote/media_control?action=setUri&uri=URI.",
                       "Author": "@josueencinar",
                       "Reference": "https://nvd.nist.gov/vuln/detail/CVE-2019-12477"}

        # -----------name-----default_value--description--required?

        options = {"rhost": Option.create(name="rhost", required=True),
                   "uri": Option.create(name="uri", required=True, description="URL of the video")}

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #24
0
    def __init__(self):
        information = {"Name": "Discovery Xiaomi devices ",
                       "Description": "This module uses socket requests to discover Xiaomi devices on a network (Active Discovery). You can configure rhost for a specific search or leave it on None to do a full search.",
                       "Token_info": "Devices with the token all 0 or f are already paired",
                       "Author": "@josueencinar"}

        # -----------name-----default_value--required?--description
        options = {"rhost": Option.create(name="rhost", description="Remote host IP (None to broadcast)"),
                   "timeout": Option.create(name="timeout", value=5)}
        

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #25
0
    def __init__(self):
        information = {"Name": "QR Reader Webcam",
                       "Description": "This module allows you to read QR codes through the Webcam. It gives you the option to save this code in a file.",
                       "OS": "Linux",
                       "Author": "@lucferbux"}

        options = {
            'file': Option.create(name="file", value="qr_webcam.png", required=True, description="destination file"),
            'save_capture': Option.create(name="save_capture", value=False, description="if the image captured of the qr is stored"),
            'verbose': Option.create(name="verbose", value=False, description="verbose mode"),
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #26
0
    def __init__(self):
        information = {"Name": "Launch Bluetooth Service",
                       "Description": "Use this module if you want to create a Bluetooth service that users can connect to. It is necessary to specify the bluetooth interface to use and the profile you want to generate.",
                       "Author": "@josueencinar",
                       "privileges": "root",}

        # -----------name-----default_value--description--required?
        options = {"name": Option.create(name="name", description="Device name"),
                   "iface": Option.create(name="iface", value="hci0", required=True),
                   "class": Option.create(name="class", value="0x240418", required=True, description='Bluetooth class (Profile)')
                   }


        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #27
0
 def __init__(self,
              information,
              opts=None,
              default_file_name="./files/shodan.txt"):
     # -----------name-----default_value--description--required?
     options = {
         "apishodan":
         Option.create(name="apishodan", required=True),
         "file":
         Option.create(name="file", value=default_file_name, required=True)
     }
     if opts:
         options.update(opts)
     # Constructor of the parent class
     super(ShodanModule, self).__init__(information, options)
예제 #28
0
    def __init__(self):
        information = {"Name": "Aidrop Leak",
                       "Description": "This script allows to get mobile phone number of any user who will try to send file via AirDrop",
                       "privileges": "root",
                       "OS": "Linux",
                       "Reference" : "https://github.com/hexway/apple_bleee",
                       "Author": "@lucferbux"}

        options = {
            'interval': Option.create(name="inverval", value=3, description="Seconds to refresh"),
            "iface": Option.create(name="iface", value="wlan0", description="Wireless Interface to enable monitor mode"),
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)
예제 #29
0
    def __init__(self):
        information = {
            "Name": "IP Camera Shodan search",
            "Description":
            """Launch this module with your Shodan API Key to get IP addresses for cams. Possible searches:
    - Abelcam: abelcam
    - Netwave: Server: Netwave IP Camera
    - Webcamxp: webcamxp
    - Vivotek: Vivotek Network Camera
    - Blue Iris: http.favicon.hash:-520888198
    - Netatmo: lighttpd 1.4.35 404 port:"80" 345""",
            "Author": "@josueencinar"
        }

        # -----------name-----default_value--description--required?
        options = {
            "search":
            Option.create(name="file",
                          value="Server: Netwave IP Camera 200 OK",
                          required=True,
                          description="Camera to search")
        }

        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options,
                                         "./files/shodan_camera.txt")
예제 #30
0
    def __init__(self):
        information = {"Name": "Wifi Sniffing",
                       "Description": "With this module you can discover stations connected to access points by sniffing. It allows you search for specific venedores devices.",
                       "privileges": "root",
                       "Author": "@josueencinar"}

        # -----------name-----default_value--description--required?
        options = {"iface": Option.create(name="iface", required=True),
                   "channel": Option.create(name="channel"),
                   "vendor":  Option.create(name="vendor", description="Configure filter vendor")}

        self.ap_dict = {}
        self.station_dict = {}
        self.F_bssids = []
        # Constructor of the parent class
        super(HomeModule, self).__init__(information, options)