Flags
Deliver:
--send-req Send the results to the web request
--send-proxy http://proxy.. Send the results to the web request via http proxy
--send-es http://es.. Send the results to elasticsearch
--with-headers X-Header:Value Add Custom Headers to be Used in Deliver
--use-matchers string Delivers URLs that match a specific condition
--use-filters string Excludes URLs that match a specific condition
Example
Send to proxy
noir -b . -u http://localhost:4000 --send-proxy http://localhost:8090
If you’re using BurpSuite, referring to the link below for Send Proxy would be beneficial.
- https://github.com/noir-cr/noir/issues/27
- https://portswigger.net/burp/documentation/desktop/tools/proxy/invisible
In summary, it’s about information regarding an invisible proxy, and there might be a need for certain configurations(Checking 'support invisible proxying'
) in BurpSuite.
Send to Elastic Search
# noir -b <BASE-PATH> --send-es http://<ES-ENDPOINT>/<INDEX>/<TYPE>
noir -b ./app/ --send-es http://localhost:9200/noir/url
Send with Headers
Command
noir -b . -u http://localhost:4000 \
--send-proxy http://localhost:8090 \
--with-headers "X-API-Key: abcdefg" \
--with-headers "Device-ID: 1290874198274"
Request
GET http://localhost:4000/secret.html HTTP/1.1
X-API-Key: abcdefg
Device-ID: 1290874198274
User-Agent: Noir/0.10.0
Accept: */*
host: localhost:4000