1.2.0 • Published 11 months ago
aknewman v1.2.0
aknewman
newman launcher with DNS spoofing and edgegrid credentials injection.
Not an "official" tool, no support provided, use at your own risks.
Installation
You may use npx or install the tool globally, just like newman
npm install -g aknewman
Usage
Extra parameters are prefixed with --ak
you can use regular newman arguments for the rest.
--ak-resolve
to force DNS resolution for specified host, supports wildcards. Usage:--ak-resolve=[host]:<ip|staging>
--ak-edgegrid
argument to inject values from .edgerc asedgegrid_client_secret
,edgegrid_host
,edgegrid_access_token
, andedgegrid_client_token
postman environment variables. Usage:--ak-edgegrid=[filepath][:section]
Running a collection, spoofing all hostnames to staging network
aknewman --ak-resolve=:staging run collection.json
Running a collection, spoofing subdomains to specific IP
aknewman --ak-resolve=*.example.org:1.2.3.4 run collection.json
Running a collection with spoofing and edgegrid credentials from default section of ~/.edgerc
file
aknewman --ak-resolve=www.example.org:1.2.3.4 --ak-edgegrid run collection.json
Running a collection with spoofing and edgegrid credentials from section2
of ./custom.edgerc
file
aknewman --ak-resolve=www.example.org:1.2.3.4 --ak-edgegrid=./custom.edgerc:section2 run collection.json