#__author__ = Kavani
import requests
import os
print("-------------------------------------")
print("------------BANNER GRABBER-----------")
print("-------------------------------------")
print("                           Author: Kavani Parikh                      ")
print('Enter URL in "http://www.abc.com"')
source = input()
print("-------------------------------------")
print ("you entered " + source)
req_g = requests.get(source)
req_o = requests.options(source)
print("-------------------------------------")
print("---------Printing Banner-------------")
print("-------------------------------------")
print("\n")
print(req_g.headers)
print("\n")
file_obj = open('banner.txt','w')
file_obj.write("\n---------------------GET Method Result---------------------\n")
print("\n")
file_obj.write(str(req_g.headers))
file_obj.write("\n")
file_obj.write("\n---------------------OPTIONS Method Result-----------------\n")
file_obj.write("\n 'Allow:' parameter shows allowed HTTP Methods \n")
file_obj.write("\n")
file_obj.write(str(req_o.headers))
file_obj.write("\n-----------------------------------------------------------\n")
file_obj.close()
print("-------------------------------------")
print("--------Saving Results---------------")
print("\n")
print("Path : " + os.getcwd() + "\\banner.txt")
print("\n")
print("-------------------------------------")

9860213aa950bea61b0e8773f49c64a729faccdb
<mask token>

<mask token>
print('-------------------------------------')
print('------------BANNER GRABBER-----------')
print('-------------------------------------')
print('                           Author: Kavani Parikh                      ')
print('Enter URL in "http://www.abc.com"')
<mask token>
print('-------------------------------------')
print('you entered ' + source)
<mask token>
print('-------------------------------------')
print('---------Printing Banner-------------')
print('-------------------------------------')
print('\n')
print(req_g.headers)
print('\n')
<mask token>
file_obj.write(
    """
---------------------GET Method Result---------------------
""")
print('\n')
file_obj.write(str(req_g.headers))
file_obj.write('\n')
file_obj.write(
    """
---------------------OPTIONS Method Result-----------------
""")
file_obj.write("""
 'Allow:' parameter shows allowed HTTP Methods 
""")
file_obj.write('\n')
file_obj.write(str(req_o.headers))
file_obj.write(
    """
-----------------------------------------------------------
""")
file_obj.close()
print('-------------------------------------')
print('--------Saving Results---------------')
print('\n')
print('Path : ' + os.getcwd() + '\\banner.txt')
print('\n')
print('-------------------------------------')

<mask token>
print('-------------------------------------')
print('------------BANNER GRABBER-----------')
print('-------------------------------------')
print('                           Author: Kavani Parikh                      ')
print('Enter URL in "http://www.abc.com"')
source = input()
print('-------------------------------------')
print('you entered ' + source)
req_g = requests.get(source)
req_o = requests.options(source)
print('-------------------------------------')
print('---------Printing Banner-------------')
print('-------------------------------------')
print('\n')
print(req_g.headers)
print('\n')
file_obj = open('banner.txt', 'w')
file_obj.write(
    """
---------------------GET Method Result---------------------
""")
print('\n')
file_obj.write(str(req_g.headers))
file_obj.write('\n')
file_obj.write(
    """
---------------------OPTIONS Method Result-----------------
""")
file_obj.write("""
 'Allow:' parameter shows allowed HTTP Methods 
""")
file_obj.write('\n')
file_obj.write(str(req_o.headers))
file_obj.write(
    """
-----------------------------------------------------------
""")
file_obj.close()
print('-------------------------------------')
print('--------Saving Results---------------')
print('\n')
print('Path : ' + os.getcwd() + '\\banner.txt')
print('\n')
print('-------------------------------------')

import requests
import os
print('-------------------------------------')
print('------------BANNER GRABBER-----------')
print('-------------------------------------')
print('                           Author: Kavani Parikh                      ')
print('Enter URL in "http://www.abc.com"')
source = input()
print('-------------------------------------')
print('you entered ' + source)
req_g = requests.get(source)
req_o = requests.options(source)
print('-------------------------------------')
print('---------Printing Banner-------------')
print('-------------------------------------')
print('\n')
print(req_g.headers)
print('\n')
file_obj = open('banner.txt', 'w')
file_obj.write(
    """
---------------------GET Method Result---------------------
""")
print('\n')
file_obj.write(str(req_g.headers))
file_obj.write('\n')
file_obj.write(
    """
---------------------OPTIONS Method Result-----------------
""")
file_obj.write("""
 'Allow:' parameter shows allowed HTTP Methods 
""")
file_obj.write('\n')
file_obj.write(str(req_o.headers))
file_obj.write(
    """
-----------------------------------------------------------
""")
file_obj.close()
print('-------------------------------------')
print('--------Saving Results---------------')
print('\n')
print('Path : ' + os.getcwd() + '\\banner.txt')
print('\n')
print('-------------------------------------')

#__author__ = Kavani
import requests
import os
print("-------------------------------------")
print("------------BANNER GRABBER-----------")
print("-------------------------------------")
print("                           Author: Kavani Parikh                      ")
print('Enter URL in "http://www.abc.com"')
source = input()
print("-------------------------------------")
print ("you entered " + source)
req_g = requests.get(source)
req_o = requests.options(source)
print("-------------------------------------")
print("---------Printing Banner-------------")
print("-------------------------------------")
print("\n")
print(req_g.headers)
print("\n")
file_obj = open('banner.txt','w')
file_obj.write("\n---------------------GET Method Result---------------------\n")
print("\n")
file_obj.write(str(req_g.headers))
file_obj.write("\n")
file_obj.write("\n---------------------OPTIONS Method Result-----------------\n")
file_obj.write("\n 'Allow:' parameter shows allowed HTTP Methods \n")
file_obj.write("\n")
file_obj.write(str(req_o.headers))
file_obj.write("\n-----------------------------------------------------------\n")
file_obj.close()
print("-------------------------------------")
print("--------Saving Results---------------")
print("\n")
print("Path : " + os.getcwd() + "\\banner.txt")
print("\n")
print("-------------------------------------")
