1.2.0 • Published 1 year 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 aknewmanUsage
Extra parameters are prefixed with --ak you can use regular newman arguments for the rest.
--ak-resolveto force DNS resolution for specified host, supports wildcards. Usage:--ak-resolve=[host]:<ip|staging>--ak-edgegridargument to inject values from .edgerc asedgegrid_client_secret,edgegrid_host,edgegrid_access_token, andedgegrid_client_tokenpostman environment variables. Usage:--ak-edgegrid=[filepath][:section]
Running a collection, spoofing all hostnames to staging network
aknewman --ak-resolve=:staging run collection.jsonRunning a collection, spoofing subdomains to specific IP
aknewman --ak-resolve=*.example.org:1.2.3.4 run collection.jsonRunning 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.jsonRunning 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