Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/integration_tests/protocols/code/py-interactsh.yaml
2070 views
1
id: testcode
2
3
info:
4
name: testcode
5
author: testcode
6
severity: info
7
tags: code
8
description: |
9
testcode
10
11
variables:
12
i: "{{interactsh-url}}"
13
14
code:
15
- engine:
16
- py
17
- python3
18
# Simulate interactsh interaction
19
source: |
20
import os
21
from urllib.request import urlopen
22
urlopen("http://" + os.getenv('i'))
23
24
matchers:
25
- type: word
26
part: interactsh_protocol
27
words:
28
- "http"
29
# digest: 4a0a0047304502201a5dd0eddfab4f02588a5a8ac1947a5fa41fed80b59d698ad5cc00456296efb6022100fe6e608e38c060964800f5f863a7cdc93f686f2d0f4b52854f73948b808b4511:4a3eb6b4988d95847d4203be25ed1d46
30