
Telegram バグ報奨金ボット
TelegramバグバウンティBot
https://telegram.me/bug_bounty_channel
https://github.com/maddevsio/bbcrawlerを使用しています。https://github.com/heroku/go-getting-startedを使用しました。heroku.comとfirebase.comの無料アカウントを使用しました。GINを使用
github.com/gin-gonic/gintelegram-bot-api.v4を使用
gopkg.in/telegram-bot-api.v4TELEGRAM_BBBOT_TOKEN - @BotFatherから受け取ったTelegram APIトークンTELEGRAM_BBBOT_URL - ボットの公開WebアドレスへのWebhook URLPORT - ポート番号の標準Heroku環境変数TELEGRAM_BBBOT_FIREBASE_TOKEN - FirebaseデータベーストークンTELEGRAM_BBBOT_FIREBASE_URL - FirebaseプロジェクトのURLTELEGRAM_BBBOT_HO_SEARCH_URL - HackerOne検索URL(クローラー)TELEGRAM_BBBOT_CHANNEL - 公開チャンネル識別子、例: @some_channel_nameTELEGRAM_BBBOT_HOST - ping用の公開ボットホストURL(30分間の非アクティブ後のスリープ機能を無効にするため)TELEGRAM_BBBOT_H1_HACK_SEARCH_URL - HackerOneのhacktivity URL(クローラー)TELEGRAM_BBBOT_BUGCROWD_NEW_PROG_URL - 新規プログラムをクロールするためのBugCrowd URL(クローラー)ボット起動
firebaseからデータを取得 (同期)
hackerone.comからプログラムをクロール (並列)
hackerone.comからhacktivityをクロール (並列)
bugcrowd.comからプログラムをクロール (並列)
クロールした全情報から新しいデータを特定 (並列)
ENV変数からtelegramチャンネルにデータを公開
注意: heroku.comでボットのインスタンスが再起動された場合、すべてのデータはfirebaseストレージから復元されます。
Copyright (c) 2016 Maddevs
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.