Betwixt is a web Debugging Proxy based on Chrome DevTools Network panel.Betwixt will help you analyze web traffic outside the browser using familiar Chrome DevTools interface.
Installing
Download the latest release for your operating system, build your own bundle or run Betwixt from the source code.
Setting Up
In order to capture traffic, you’ll have to direct it to the proxy created by Betwixt in the background (http://localhost:8008).
If you wish to analyze traffic system wide:
System Preferences → Network → Advanced → Proxies → Web Proxy (HTTP)Settings → Network & Internet → ProxyAll Settings → Network → Network ProxyIf you want to capture traffic coming from a single terminal use export http_proxy=http://localhost:8008.
Also Read – RedRabbit : Red Team PowerShell Script
Capturing encrypted traffic (HTTPS) requires additional step, follow below steps for instructions.
HTTPS
In order to capture encrypted traffic, you’ll have to install root certificate provided by Betwixt. The certificate is generated for you when you first launch Betwixt. You can quickly locate it on disk using Tools > Root Certificate menu.
ca.pem has to be imported and marked as trusted.
On OS X this is done via Keychain app as shown below.
 After certificate is installed, expand the Trust section and toggle the first dropdown to Always Trust: 
On Windows use certmgr.
Proxy
Direct the traffic to the proxy created by Betwixt in the background (http://localhost:8008).
If you wish to analyze traffic system wide:
System Preferences → Network → Advanced → Proxies → Secure Web Proxy (HTTPS)All Settings → Network → Network ProxySettings → Network & Internet → Proxy If you want to capture traffic coming from a single terminal use export https_proxy=http://localhost:8008. Note that NodeJS has a hardcoded list of CA certificates so it doesn’t care for Keychain/certmgr/etc. You may need to use export NODE_TLS_REJECT_UNAUTHORIZED=0 to overcome this issue. 
General Working of a Web Application Firewall (WAF) A Web Application Firewall (WAF) acts as…
How to Send POST Requests Using curl in Linux If you work with APIs, servers,…
If you are a Linux user, you have probably seen commands like chmod 777 while…
Vim and Vi are among the most powerful text editors in the Linux world. They…
Working with compressed files is a common task for any Linux user. Whether you are…
In the digital era, an email address can reveal much more than just a contact…