mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 20:45:25 +00:00
28 lines
452 B
YAML
28 lines
452 B
YAML
|
|
id: testcode
|
||
|
|
|
||
|
|
info:
|
||
|
|
name: testcode
|
||
|
|
author: testcode
|
||
|
|
severity: info
|
||
|
|
tags: code
|
||
|
|
description: |
|
||
|
|
testcode
|
||
|
|
|
||
|
|
variables:
|
||
|
|
i: "{{interactsh-url}}"
|
||
|
|
|
||
|
|
code:
|
||
|
|
- engine:
|
||
|
|
- py
|
||
|
|
- python3
|
||
|
|
# Simulate interactsh interaction
|
||
|
|
source: |
|
||
|
|
import os
|
||
|
|
from urllib.request import urlopen
|
||
|
|
urlopen("http://" + os.getenv('i'))
|
||
|
|
|
||
|
|
matchers:
|
||
|
|
- type: word
|
||
|
|
part: interactsh_protocol
|
||
|
|
words:
|
||
|
|
- "http"
|