
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
github.com/pirox07/slack-message-json-convert-csv
Slack のデータのエクスポート機能により出力した各チャンネルのメッセージデータ( JSON 形式)を、 CSV 形式に変換するツールです。
以下の情報を CSV ファイルに出力します。
thread_ts
... スレッド ID (スレッド形式ではないメッセージの場合は空白)ts
... タイムスタンプ ( JST )user_name
... ユーザ名( real_name + display_name )text
... 投稿メッセージ動作確認は以下の環境で行っています。
Go のインストール後、 tz
パッケージを追加でインストールします。
go get 4d63.com/tz
Makefile
が配置されているディレクトリで make
コマンドを実行し、 macOS 、 Windows 用の実行ファイルを生成します。
make
rm -rf ./bin/darwin64/slack-message-json-convert-csv
rm -rf ./bin/windows64/slack-message-json-convert-csv.exe
GOOS=darwin GOARCH=amd64 go build -o ./bin/darwin64/slack-message-json-convert-csv ./main.go
GOOS=windows GOARCH=amd64 go build -o ./bin/windows64/slack-message-json-convert-csv.exe ./main.go
Slack の標準機能を使ってワークスペースのデータをエクスポートしてください。
エクスポートしたデータの構造は以下のとおりです。( 2019/03/29 現在)
<Workspace Name> Slack export <term>
├ user.josn
├ channels.json
├ integration_logs.json
├ channel-01
│ ├ yyyy-mm-dd.json
│ └ yyyy-mm-dd.json
└ channel-02
└ yyyy-mm-dd.json
※ フリー / スタンダードプランの場合
各ファイルの詳細については以下を参照してください。
任意のチャンネルのディレクトリ直下( yyyy-mm-dd.json
と同一の階層)に実行ファイルを保存・実行すると、カレントディレクトリに SlackMessages.csv
を作成します。
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.