The new acadamic year starts again. After 4 years enjoying and not thinking about anything to KG school where some teachers becoming your worst nightmare. Then 12 years of schoolling where we met the most wonderful people you have ever come accross in your life, your friends. The great teachers who taught and guided you throughout two by third of your life. Then after a rat race “ENGINEERING ENTRANCE EXAMINATION” comming to NIT, Calicut. Now when I see my juniors comming here and taking admissions, those nostalgic thoughts come to my mind again. In the first year, not thinking about acadamics, trying to hide from seniors, going for a tour around the campus and what not….
My life here really has affected me – on a positive sense, and has gone beyond what I thought 3 years ago when I first came to this college. Now its just less than a year to graduation; The old anxiousness returns: “What is going to happen after this????”
The entropy change when a person shifts from a system a newer or different system is what this is all about. I am aware that these feeling are only relative. May be only a very few people will be or is going to think in this manner. May be many more people wanted to get out of this system ASAP. Some people may get trapped in this system and get stuck, some never escape.
When we joined here togather we thought that we all will leave togather, but we all know that it is not going to happen.
Some who were not even remotely connected became our best of friends. Some who were so close are are getting separated.
All people who has spent time here at NITC will never be forgetting any of those days….anything that this college life has taught them. I will anyway be there at the top of the list. There is everything that you find outside, in here. You name it we have it.
There is only limited time left now…. The clock is ticking very fast… Now will be a good time to look back at what I have done and gained and lost….
Today as a part of my Computer Scurity course I had to install WebGoat, which is platform for learning how to exploit vulnarabilities in web applications. It could be of great help in learning secure programming practices. It work on top of Java and Tomcat server. As I started the installation I had to face many problems associated with it. Mainly with the versions of JDK and JRE used. I had lost almost half a to solve this problem. So I thought I could share my experience if it could help someone to install WebGoat.
I downloaded WebGoat v5.2 from Sourceforge. Along with the WebGoat-OWASP_Standard-5.2.zip, we also require WebGoat-5.2.war file also. Unzip the WebGoat zip file to your curent directory.Change into the new unzipped directory. Then remove all the files name webgoat in ./tomcat/webapp/ and place the downloaded war file in this directory.
Find out the versions of jre and jdk installed in your system using: java -version
Also find the vakue for the environmental value JAVA_HOME: echo $JAVA_HOME
Open the webgoat.sh file from the root folder. In the function is_java_1dot6 change all the 1.6 to the your current version.
eg: $ java -version
java version “1.7.0_21”
OpenJDK Runtime Environment (IcedTea 2.3.9) (ArchLinux build 7.u21_2.3.9-4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
$ echo $JAVA_HOME
Here java version is shown as 1.7.0_21. Therefore you can replace the older version number given in the shell script to the new version number “1.7“.You have to add below given two lines to the shell script:
Now start the tomcat server.
$ sh webgoat.sh start80 # works on default port of 80
$ sh webgoat.sh start8080 # works on port 8080
Go to http://127.0.0.1/webgoat/attack OR http://127.0.0.1:8080/webgoat/attack in any browser to start using WebGoat interface. If you get an ERROR 403 while starting on port 80, it may be due to IIS that is using that port.
And if it is ERROR 404, check the url you typped on the browser.
I suppose I have included most of the thing that I have done. If there is any change or additions that anyone has to inform me feel free to contact.
New link can be found at abijith-kp.github.io