Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

feat: add a demo server that triggers a vuln method #10

Merged
merged 3 commits into from
Oct 3, 2018
Merged

Conversation

adrukh
Copy link
Contributor

@adrukh adrukh commented Oct 3, 2018

  • Ready for review
  • Follows CONTRIBUTING rules
  • Reviewed by Snyk internal team

What does this PR do?

Adds a demo http server that uses a vulnerable version of st and triggers a vulnerable method whenever it is being hit with a request.

Will serve as a manual demo as well as a base for a full end-to-end test.

@adrukh adrukh self-assigned this Oct 3, 2018
@adrukh adrukh requested a review from FauxFaux October 3, 2018 08:54
demo/index.js Outdated
// load the agent from the local project and start it
require('../lib')({
url: 'http://localhost:8000/api/v1/beacon',
projectId: 12345,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we use a real uuid from the start, so we can fix validation in homebase without changing this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! :) Will amend.

@adrukh adrukh merged commit 523a198 into master Oct 3, 2018
@adrukh adrukh deleted the feat/demo branch October 3, 2018 10:17
@snyksec
Copy link

snyksec commented Oct 3, 2018

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@adrukh adrukh mentioned this pull request Oct 5, 2018
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants