Pranaam to all bhai ji _/\_
Today we will learn how to use vi text editor as hex editor in linux environment .
yes we can use vi text editor as hex editor , which is easy to operate as compare to any hex editor
lets start :)
open your binary file in vi editor using command
vi file_name
i am going to open vlc media player binary file
it will be something like this :D
:P some random symbols
ok just type
:%!xxd
and it will switch into hex editing mode
dont worry , type :%!xxd and press enter key
you will see something like this
>:D<
you are in hex editing mode , now edit whatever you want
once you have done with editing
type esc key and then type
%!xdd -r
press enter key, we will back to text editing mode .
now, to save changes type
:w
changes will be saved
this is how you can use vi editor as hex editor :)
Thank you
Greetz to :-
Zero cool ,code breaker ica, Aasim shaikh,Reborn, Raman kumar rana,INX_r0ot,Darkwolf indishell, Chinmay Pandya ,Silent poison India,Magnum sniper,Atul Dwivedi,ethicalnoob Indishell,Local root indishell,Irfninja indishell,Hardeep bhai,Mannu,Viki , AR AR bhai ji, Anju and Deepika kaushik
Gazab... :D :D awesome.. :D
ReplyDelete