nuclei/pkg/js/devtools/bindgen
Valerio Casalino ec5687e2ef
Make the SSH client used in javascript templates able to execute custom commands (#4407)
* make ssh module store the connection

* make ssh module able to execute commands using the client

* add bingen + update docs

---------

Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
2023-11-24 00:07:45 +05:30
..
cmd/bindgen Make the SSH client used in javascript templates able to execute custom commands (#4407) 2023-11-24 00:07:45 +05:30
templates Make the SSH client used in javascript templates able to execute custom commands (#4407) 2023-11-24 00:07:45 +05:30
INSTALL.md nuclei v3 : misc updates (#4247) 2023-10-17 17:44:13 +05:30
README.md nuclei v3 : misc updates (#4247) 2023-10-17 17:44:13 +05:30
generator.go nuclei v3 : misc updates (#4247) 2023-10-17 17:44:13 +05:30
output.go nuclei v3 : misc updates (#4247) 2023-10-17 17:44:13 +05:30

README.md

bindgen (aka bindings generator)

bindgen is a tool that automatically generated bindings for native go packages with 'goja'

Native Go packages are available here

Generated Output is available here

bindgen generates 3 different types of outputs

  • go => this directory contains corresponding goja bindings (actual bindings code) ex: kerberos.go
  • js => this is more of a javascript representation of all exposed functions and types etc in javascript ex: kerberos.js and does not server any functional purpose other than reference
  • markdown => autogenerated markdown documentation for each library / package ex: kerberos.md