[HowTo] Replace ip address using sed

Following one-liner will search for a ip address pattern in the specified file and replace it with the one provided :

 sed 's/[0-9]\{1,3\}.[0-9]\{1,3\}.[0-9]\{1,3\}.[0-9]\{1,3\}/IPADDRESS-COMES-HERE/g' /SourceFilename > /DestinationFilename
Advertisements

College Website – My first project !

I had mentioned earlier on twitter that I will be uploading some recovered data from my broken hard drive. So here is the first one.

Following is the link to a self extracting archive of the first project I ever did. The college website! …with help of the Subhash Dasyam.

https://github.com/shafiqissani/ASTRA-College-Website

This is a very very very old project. The structure of the website and code is horrible and outdated.

Make sure you scan this for virus. Most systems in our college were compromised. Also there should be a php shell in there somewhere … we used it for administrative purposes only.  :)

A thank you shout out to Mrs. Aruna Ranganath (CSE Head of Department) for getting me involved.

Ahhh… I feel nostalgic.  :)