Skip to main content

A wrapper between python and acunetix

Project description

Acunetix API

Create Acunetix

acu = Acunetix(username,password,url,False)
print("Is logged?: {} ".format(acu.is_logged()))

Get target



	print("Get target: {}".format(acu.get_target(target)))

	scan = acu.get_last_scan_from_target(target)

	print("Get scan : {} ".format(acu.get_scan(scan)))

	print("Get session id : {} ".format(acu.get_session_id_from_scan(scan)))

	session_id = acu.get_session_id_from_scan(scan)

	#pprint("Get results from scan: {} ".format(acu.get_results(scan,session_id)) )

	results = acu.get_results(scan,session_id)
	for i in results["vulnerabilities"]:
		print("Result: {}".format(i))
		pprint("Vuln: {}".format(acu.get_vulnerability_from_scan(scan,session_id,i["vuln_id"])))

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyacunetix-1.3.tar.gz (2.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page