Simple functions to add into .bashrc to convert IP address into binary, hexadecimal, decimal, octal formats and viceversa
You can download the file (ipconverter) that has functions directly from above or if you're a linux geek and want to download the file from terminal only,
Append the functions from
cat ipconverter >> ~/.bashrc
IP to (Hexadecimal + Decimal + Octal + Binary)
Hexadecimal to IP
Decimal to IP
Octal to IP
Binary to IP
Screenshot of Usage
Thank you :)
I just wanted to make it easier to convert IP address format rather than going to different websites for conversion. These formats (decimal, octal, hexadecimal etc) can be used to bypass blacklisted IP addresses while trying SSRFs.
Feedbacks are welcome.
You can contact me on @karna__1
Happy hacking! :)