Logo
Explore Help
Register Sign In
External/nuclei
1
0
Fork 0
You've already forked nuclei
mirror of https://github.com/projectdiscovery/nuclei.git synced 2025-12-17 18:35:25 +00:00
Code Issues Packages Projects Releases Wiki Activity
nuclei/integration_tests/protocols/javascript/net-https.yaml

25 lines
510 B
YAML
Raw Normal View History

bug fixes in js , network protocol and flow (#4313) * 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>
2023-11-02 13:33:40 +05:30
id: net-https
info:
name: net-https
author: pdteam
severity: info
description: send and receive https data using net module
javascript:
- code: |
let m = require('nuclei/net');
let name=Host+':'+Port;
let conn = m.OpenTLS('tcp', name);
conn.Send('GET / HTTP/1.1\r\nHost:'+name+'\r\nConnection: close\r\n\r\n');
resp = conn.RecvString();
args:
Host: "{{Host}}"
Port: "443"
matchers:
- type: word
words:
- "HTTP/1.1 200 OK"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.6 Page: 201ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API