There's multiple ways to do this but here are two of the easiest
EXCEL
Since you're probably getting your data from log files in a CSV, let's just add a column and use the SUBSTITUTE function.
Let's use this URL as an example:
http://imasdk.googleapis.com/js/core/bridge3.550.0_en.html
We'll use the following function to do it
=SUBSTITUTE(SUBSTITUTE(F2,".","[.]"),"http","hXXp")
Which provides us with:
hXXp://imasdk[.]googleapis[.]com/js/core/bridge3[.]550[.]0_en[.]html
LINUX
SANS offers a nice linux option which can be installed with
pip install defang
To use it we'll use the same URL example above but run it with this command
echo http://imasdk.googleapis.com/js/core/bridge3.550.0_en.html | defang
which provides us with
hXXp://imasdk.googleapis[.]com/js/core/bridge3.550.0_en.html
댓글