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

pprint(acu.get_targets())

PoC

target="42e9892c-3ce0-4cdb-808e-3d9811dd774f"
if(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))
		print(i["vuln_id"])
		pprint("Vuln: {}".format(acu.get_vulnerability_from_scan(scan,session_id,i["vuln_id"])))

Project details


Release history Release notifications | RSS feed

This version

1.3

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