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

add interact-url variable support for multiple placeholders #1698 #1760

Merged
merged 7 commits into from
Apr 7, 2022

Conversation

parrasajad
Copy link
Contributor

@parrasajad parrasajad commented Mar 24, 2022

Example template for single:

id: test-interactsh

info:
  name: interactsh test
  author: pdteam
  severity: info

requests:
  - raw:
      - |
        GET /api/geoping/{{interactsh-url}} HTTP/1.1
        Host: {{Hostname}}

    extractors:
      - type: kval
        kval:
          - interactsh-id

Example template for multiple:

id: test-interactsh

info:
  name: interactsh test
  author: pdteam
  severity: info

requests:
  - raw:
      - |
        GET /api/geoping/{{interactsh-url_1}} HTTP/1.1
        Host: {{Hostname}}
        Test: {{interactsh-url_2}}


    extractors:
      - type: kval
        kval:
          - interactsh-url_1

@Ice3man543
Copy link
Member

@parrasajad could you add mechanism of clearing the cache after the processing, since there is no delete statement, the cache will keep getting filled. Also, how is the correlation being performed for different templates since I see you used the map key as the interact URL so that will be common for all templates. Won't that lead to the mechanism not working?

@Mzack9999 Mzack9999 self-requested a review April 7, 2022 06:33
@ehsandeep ehsandeep merged commit 7c84590 into dev Apr 7, 2022
@ehsandeep ehsandeep deleted the multi-interact-url branch April 7, 2022 07:24
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

Successfully merging this pull request may close these issues.

interactsh variable use to work with multiple placeholders
4 participants