Giter Site home page Giter Site logo

Webhooks about reverse_ssh HOT 7 CLOSED

nhas avatar nhas commented on May 15, 2024
Webhooks

from reverse_ssh.

Comments (7)

NHAS avatar NHAS commented on May 15, 2024 1

Sweet as, I have a new implementation on the unstable branch, please play around with it, if it suits your needs then I'll merge it to master

from reverse_ssh.

NHAS avatar NHAS commented on May 15, 2024

Hello!
These are great suggestions, I personally dont use slack or mattermost myself and just use it to feed a small program that I myself wrote.

from reverse_ssh.

neben avatar neben commented on May 15, 2024

Really nice! Works out of the box :)

image

from reverse_ssh.

neben avatar neben commented on May 15, 2024

I'd have one last request for this feature: Could you make the webhook configurable via the startup parameter of the server binary? That would allow me to persistently activate the webhook on startup. Maybe something like this:

./server --webhook https://my.server/my.hook 0.0.0.0:3232

Also, might be nice if more than one webhook could be set, as is currently possible via the CLI.

from reverse_ssh.

NHAS avatar NHAS commented on May 15, 2024

Great! Glad to see that it just works (tm)

I think being able to specify webhooks via the command line is reasonable, so I'll add that

from reverse_ssh.

NHAS avatar NHAS commented on May 15, 2024

Ah! Actually this feature already exists, and is just very poorly documented.

When you activate a webhook, the server will write config.json to its working directory, so that the webhooks will persist across reboot/program restart.

config.json format:

Map of strings to bool. The bool indicates whether the rssh server should check if the TLS certificate is valid or not.

Example:

{"http://localhost:8111/noot/noot":true}

from reverse_ssh.

NHAS avatar NHAS commented on May 15, 2024

Hope this helps! Im going to close this comment as the feature already vaguely exists. If you feel Im missed some nuance of what you were asking feel free to reopen it.

from reverse_ssh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.