new_contents: from bs4 import BeautifulSoup
  import urllib
  import re
  import math
  import html5lib
  from html5lib import treebuilders
  import urlparse
  
  def print_parameter_tabel(parameters):
  
      def cs(string, length=30):
          return (string[0+i:length+i] for i in range(0, len(string), length))
  
      def houndred(x):
          return int(math.ceil(x / 100.0)) * 100 
  
  
      items = parameters
      for number,item  in enumerate(items):
          name=item
          name += str(" " * int(29- len(name[0])))+ "|" 
          print("+" +           "-"  *  32 +            "+"  )
          print(str (     "|" + str(number)+  ") " + "".join(name))  )
  
      print("+" +           "-"  *  32 +            "+"  )
         
  
  def correct_hypertext_scheme(site):
      if 'https://' in site:
          pass
      elif 'http://' in site:
          pass
      else:
          site = "http://"+site
      return site
          
      finalurl = urlparse.urlparse(site)
      domain = '{uri.scheme}://{uri.netloc}/'.format(uri=finalurl)
      print(domain)
          
  
  def find_parameters(site): 
      correct_hypertext_scheme(site)
      parameters = []
      url = correct_hypertext_scheme(site)
      mhtml = urllib.urlopen(url)
      soup = BeautifulSoup(mhtml, 'html5lib')
      inputs = soup.findAll("input", {'type':'text'})
  
      print("[+] No parameters in your url detected, but here are some input fields the page has")
       
      if len(inputs) > 0:
          for elem in inputs:
              parameter = elem['name']
              parameters.append([parameter])
  
          print("[+] Please fill in those fields and see if you can get a url with parameters included ")  
          print_parameter_tabel(parameters)
          
      else:
          print("[+] No input entery points found on this page...")
  
   
  
  
      
  def run():
      url_choise = raw_input("[+] Please enter a url ")
      find_parameters(url_choise)
  
  #Todo: find out if there are no parameters in the url
  #      put it all in a class
  if __name__ == "__main__":
      run()
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
subject: Add files via upload