mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 03:55:23 +00:00
* fix net read * only return N bytes if extra available * use ConnReadN from readerutil * add integration test * print unsigned warning in stderr * fix js protocol in flow #4318 * fix integration test: url encoding issue * fix network protocol issue + integration tests * multiple improvements to integration test * replace all conn.Read() from tests * disable network-basic.yaml in windows * disable code protocol in win CI * fix bitwise login ps1-snippet.yaml * hide previous matcher events in flow * remove dead code+ update integration tests --------- Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
29 lines
644 B
YAML
29 lines
644 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"
|
|
# digest: 490a004630440220400892730a62fa1bbb1064e4d88eea760dbf8f01c6b630ff0f5b126fd1952839022025a6d52e730c1f1cfcbd440e6269f93489db3a77cb2a27d0f47522c0819dc8d3:4a3eb6b4988d95847d4203be25ed1d46 |