@@ -0,0 +1,1861 @@
+########## boafi Pentest script%0A########## - Perform various pentests automatically and save reports for further study%0A########## - Features/TODOs: Ipv6,DHCP,DNS,exploits,mitm..%0A%0A%0A###  Author: Yessou Sami %0A###  Project Boafi%0A%0A%0A%0Aimport os,time,argparse%0A%0A%0Aparser = argparse.ArgumentParser()%0A%0A%0Aparser.add_argument('-RA', action='store', dest='ipv6ra', default=False,%0A                    help='Flood ipv6 router advertisements for given minutes')%0A%0A%0Aparser.add_argument('-file', action='store', dest='output', default=False,%0A                    help='File output for scans')%0A%0A%0Aparser.add_argument('-scan', action='store', dest='scan', default=False,%0A                    help='Scan the given network address or host')%0A%0A%0Aparser.add_argument('--syn', action='store_true', dest='syn', default=False,%0A                    help='SYN Scan enabled')%0A%0A%0A%0Aresults = parser.parse_args()%0A%0A%0Aif not(results.output):%0A        output=os.popen(%22date%22).read()%0A%0Aoutput=results.output%0Asyn=%22%22%0Ascantype=%22-sn%22 #basic ping scan%0Aif(results.scan):%0A        ipaddr=str(results.scan)%0A        print ipaddr%0A        if(results.syn):%0A                scantype=%22-sS -O%22 #syn and%0A        scancmd=%22sudo nmap %22+scantype+%22 -oX %22+output+%22 %22+ipaddr   #writes xml output so later we can convert it into html%0A        print scancmd%0A        print os.popen(scancmd).read() #ping scan to know online hosts%0A%0A%0A%0Aif(results.ipv6ra): %0A        minutes=results.ipv6ra%0A        #run ipv6 RA flooding for N minutes%0A        while (i %3C= minutes):%0A                print %22Firing RAs everywhere%22%0A                # do RA FLOOD%0A                #Recall from scapy or do it with thc?%0A%0A%0A%0A%0A# TODO%0A## ipv6 attacks via scapy? or thc suite?%0A## mitm --%3E interact with SDS to get realtime data for visualization%0A## metasploit attacks?%0A## if connected to internet send info on %22cloud%22(site db)%0A## save data on xml,csv for webGUI visualization%0A

Create boafiPenTest.py