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

Heroku-takeover.yaml #201

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions subdomain-takeover/Heroku-takeover.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

id: Heroku-takeover

info:
name: Subdomain takeover using Heroku
author: Manas_Harsh
severity: high

requests:
- method: GET
path:
- '{{BaseURL}}/'
redirects: false
matchers-condition: and
matchers:
- type: status
status:
- 307
- type: word
words:
- There's nothing here, yet.
Copy link
Member

Choose a reason for hiding this comment

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

Refer to EdOverflow/can-i-take-over-xyz#38, it is part of the iframe HTML tag, which means it won't match if it doesn't use the redirects key.
See this part https://github.com/projectdiscovery/nuclei-templates/blob/master/GUIDE.md#redirects.

- 'Location: https://*.herokudns.com/
Copy link
Member

Choose a reason for hiding this comment

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

Hi, but here you use words type instead of regex.

part: header