Ejemplo n.º 1
0
def mass_ssh(threads=100,word_list=wordlist,filename='ssh_bots.txt',ip_range=None,timeout=5):
 global stop
 stop=False
 global _timeout
 _timeout=timeout
 global ip_seg
 ip_seg=ip_range
 create_file(filename)
 global filen
 filen=filename
 global wordlist
 wordlist=word_list
 thr=[]
 for x in range(threads):
  try:
   t=iots().start()
   thr.append(t)
  except:
   pass
 while (stop!=True):
  try:
    time.sleep(.1)
  except KeyboardInterrupt:
    stop=True
    break
 for x in thr:
    try:
      x.join(1)
    except Exception as e:
      pass
    del x
Ejemplo n.º 2
0
def mass_ftp_anon(threads=100,
                  filename='ftp_anon_bots.txt',
                  ip_range=None,
                  timeout=5):
    global ip_seg
    ip_seg = ip_range
    global _timeout
    _timeout = timeout
    global stop
    stop = False
    create_file(filename)
    global filen
    filen = filename
    thr = []
    for x in range(threads):
        try:
            t = iotf2().start()
            thr.append(t)
            time.sleep(0.001)
        except:
            pass
    while (stop != True):
        try:
            time.sleep(.1)
        except KeyboardInterrupt:
            stop = True
            break
    for x in thr:
        try:
            x.join(1)
        except Exception as e:
            pass
        del x
Ejemplo n.º 3
0
def IoTssh(threads=100,wl=wordlist,filename='sshbots.txt'):
 create_file(filename)
 global filen
 filen=filename
 global wordlist
 wordlist=wl
 for x in range(threads):
  t=iots().start()
Ejemplo n.º 4
0
def IoTmysql2(threads=100,wl=wordlist,filename='mysqldefaultbots.txt'):
 create_file(filename)
 global filen
 filen=filename
 global wordlist
 wordlist=wl
 for x in range(threads):
  iotmy2().start()
Ejemplo n.º 5
0
def IoTftp(threads=100,meth=1,wl=wordlist,filename='ftpbots.txt'):
 create_file(filename)
 global filen
 filen=filename
 global wordlist
 wordlist=wl
 for x in range(threads):
  iotf1().start()
Ejemplo n.º 6
0
def IoTtelnet(threads=500,wl=wordlist,filename='telnetbots.txt'):
 create_file(filename)
 global filen
 filen=filename
 global wordlist
 wordlist=wl
 for x in range(threads):
  iott().start()
Ejemplo n.º 7
0
def IoTsmtp(o,threads=100,wl=wordlist,filename='smtpbots.txt'):
 create_file(filename)
 global filen
 filen=filename
 global octet
 octet=o
 global wordlist
 wordlist=wl
 for x in range(threads):
  iotsm().start()
Ejemplo n.º 8
0
def mass_smtp(o,
              threads=100,
              word_list=wordlist,
              filename='smtp_bots.txt',
              ip_range=None,
              timeout=5,
              p=25,
              ehlo=True,
              helo=False,
              ttls=False):
    global ip_seg
    ip_seg = ip_range
    global __ehlo
    __ehlo = ehlo
    global __helo
    __helo = helo
    global __ttls
    __ttls = ttls
    global __port
    __port = p
    global _timeout
    _timeout = timeout
    global stop
    stop = False
    create_file(filename)
    global filen
    filen = filename
    global octet
    octet = o
    global wordlist
    wordlist = word_list
    thr = []
    for x in range(threads):
        try:
            t = iotsm().start()
            thr.append(t)
            time.sleep(0.001)
        except:
            pass
    while (stop != True):
        try:
            time.sleep(.1)
        except KeyboardInterrupt:
            stop = True
            break
    for x in thr:
        try:
            x.join(1)
        except Exception as e:
            pass
        del x
Ejemplo n.º 9
0
def mass_exposed_telnet(threads=500,
                        filename='exposed_telnet_bots.txt',
                        ip_range=None,
                        timeout=5,
                        p=23):
    global stop
    stop = False
    global __port
    __port = p
    global _timeout
    _timeout = timeout
    global ip_seg
    ip_seg = ip_range
    create_file(filename)
    global filen
    filen = filename
    global wordlist
    wordlist = word_list
    thr = []
    for x in range(threads):
        try:
            t = iotelt().start()
            thr.append(t)
            time.sleep(0.001)
        except:
            pass
    while (stop != True):
        try:
            time.sleep(.1)
        except KeyboardInterrupt:
            stop = True
            break
    for x in thr:
        try:
            x.join(1)
        except Exception as e:
            pass
        del x
Ejemplo n.º 10
0
def IoTftpanon(threads=100,filename='ftpanonbots.txt'):
 create_file(filename)
 global filen
 filen=filename
 for x in range(threads):
  iotf2().start()