Closed michaeljpigott closed 2 months ago
Hi, I adjusted the regex in CommandHelper.ts so it strips out the VT100 escape codes that were appearing in the Aircrack-ng output. I tested on Aircrack-ng, Arjun and WPScan and they weren't showing any escape characters.
@zkkok can you please do some application testing on this pull request? Relevant tools that have escaped characters are Aircrack-ng, WhatWeb, Arjun and WPScan.
Thank you @zkkok for testing.
Pull request description
This pull request fixes issue #625 whereby DDT cannot handle terminal output that is using ANSI colour stylings.
Changes made
The fix was to simple add a line of code in CommandHelper.ts that uses regex in the replace method to look for any ANSI colour stylings in the data and replace them with an empty string.