Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGoat // Lesson Plan and Solution are note available #242

Closed
ysalimi opened this issue Jun 3, 2016 · 8 comments
Closed

WebGoat // Lesson Plan and Solution are note available #242

ysalimi opened this issue Jun 3, 2016 · 8 comments
Milestone

Comments

@ysalimi
Copy link

ysalimi commented Jun 3, 2016

Hello Team,

I'm requesting you because I encounter some issues with WebGoat installed on my local machine.
The machine is KaliLinux2
I've installed the last version from : http://webgoat-war.s3-website-us-east-1.amazonaws.com/

On the java launched on my machines I'm able to connect to the WebGoat but the problem is that i have the message bellow when I click on "Lesson Plan" and "Solution" on each exercise.

Have you already encountered this problem?

Thank's
Yasser

@nbaars
Copy link
Collaborator

nbaars commented Jun 7, 2016

@ysalimi can you please paste the message? Are you logging in as adminstrator or as guest?

Thanks
--Nanne

@ysalimi
Copy link
Author

ysalimi commented Jun 13, 2016

Hello @nbaars ,

Thank's for your quick reply.
The message is : Solution is not available. Contact webgoat@owasp.org

Best regards,
Yasser

@mayhew64
Copy link
Contributor

@ysalimi are you getting this for every lesson or just some of them?

@ysalimi
Copy link
Author

ysalimi commented Jun 20, 2016

Hi @mayhew64

I'm getting this error for every lesson.

Kind regards,
Yasser

@nbaars
Copy link
Collaborator

nbaars commented Jun 29, 2016

@ysalimi which version did you download from http://webgoat-war.s3-website-us-east-1.amazonaws.com/ ?

@ysalimi
Copy link
Author

ysalimi commented Jul 6, 2016

Hello @nbaars,

I've tested :

  • webgoat-container-7.1-SNAPSHOT-war-exec.jar
  • webgoat-container-7.1-SNAPSHOT.jar

Best regards,
Yasser

@misfir3
Copy link
Contributor

misfir3 commented Jul 28, 2016

This appears to be related to 'stages' and it also appears to be happening at load time.
@nbaars - I think when we looked before, we spot-clicked and didn't hit any lab stages in the process.

So, I tinkered with some debug statements in Course.java#loadLessonFromPlugin around
if (plugin.getLessonSolution("en").isPresent()) { lesson.setLessonSolutionFileName(plugin.getLessonSolution("en").get().toString()); }
It seems that the lesson solution is not present. Still looking some at it, but you might be quicker on it at this point.

... and this was testing against the self-executing jar in the develop branch

@misfir3 misfir3 added this to the 7.1 milestone Jul 29, 2016
@nbaars
Copy link
Collaborator

nbaars commented Sep 12, 2016

Tested this with the SQL injection lesson which has stages, but in my opinion it works. Only the lesson plan is available for this lesson so there is no lesson solution to show. The messages is indeed correct.
Btw all the GoatHills derived lesson do not have a solution.

Closing this one, we can always reopen this issue.

@nbaars nbaars closed this as completed Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants