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.

Files for pyacunetix, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size pyacunetix-1.3.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page