sudosammy / knary Goto Github PK
View Code? Open in Web Editor NEWA simple HTTP(S) and DNS Canary bot with Slack/Discord/MS Teams/Lark/Telegram & Pushover support
License: GNU General Public License v3.0
A simple HTTP(S) and DNS Canary bot with Slack/Discord/MS Teams/Lark/Telegram & Pushover support
License: GNU General Public License v3.0
Would be great if we could add custom DNS entries (and wildcard entries).
The would allow full use of the TLD domain, such as adding MX entries to point to external mail servers so that the domain could be use to receive incoming emails.
When a user agent contains a request verb such as "Wget/1.15 (linux-gnu)"
We get an output that duplicates the UA as the query
Query: User-Agent: Wget/1.15 (linux-gnu)
User-Agent: Wget/1.15 (linux-gnu)
https://github.com/sudosammy/knary/blob/master/libknary/http.go#L162
I made a change of all request verbs to be appended with a space as a dirty work around -
+if stringContains(header, "OPTIONS ") ||
stringContains(header, "GET ") ||
stringContains(header, "POST ") ||
stringContains(header, "PUT ") ||
stringContains(header, "PATCH ") ||
stringContains(header, "DELETE ") {
query = header
Hope this helps , thanks for the tool
I dunno why yet, but knary doesn't seem to fire the cronjob as expected meaning there's no notification to users when updates are released. This could probably be done better than a cronjob anyway.
Can anyone confirm if the webhook for discord is working? I can get Pushover to work, so I know they whole thing is working, I've even checked with tcpdump that it actually is sending data to discordapp.com. Am I using the webhook right?
DISCORD_WEBHOOK=https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}
Haven't tried slack though since we ran out of app integration with our free slack account, but if pushover works, surely discord should work as well, right?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.