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 details)

Uploaded Source

File details

Details for the file pyacunetix-1.3.tar.gz.

File metadata

  • Download URL: pyacunetix-1.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.20.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for pyacunetix-1.3.tar.gz
Algorithm Hash digest
SHA256 63870844212e3e77e0286368bfc02c120d6f898a83a7eddb980357ea1fad5090
MD5 65bf93233913a7edd8619979e057c28d
BLAKE2b-256 ab233b3224436be273f996798cf0d71e6fcfa39fe55474903e46ee237c41932c

See more details on using hashes here.

Supported by

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