Skip to content

Instantly share code, notes, and snippets.

View reilee's full-sized avatar
😫
I may be slow to respond.

Reilee reilee

😫
I may be slow to respond.
  • Rakuten
  • Tokyo
View GitHub Profile
@byt3bl33d3r
byt3bl33d3r / log4j_rce_check.py
Created December 10, 2021 06:02
Python script to detect if an HTTP server is potentially vulnerable to the log4j 0day RCE (https://www.lunasec.io/docs/blog/log4j-zero-day/)
#! /usr/bin/env python3
'''
Needs Requests (pip3 install requests)
Author: Marcello Salvati, Twitter: @byt3bl33d3r
License: DWTFUWANTWTL (Do What Ever the Fuck You Want With This License)
This should allow you to detect if something is potentially exploitable to the log4j 0day dropped on December 9th 2021.
@rambolee
rambolee / xiaomi-tv-3-root-youtube-note.md
Last active November 22, 2021 02:48
[小米盒子3 增强版 : Root + Youtube 配置笔记]小米盒子3 增强版 : Root + Youtube 配置笔记 #小米盒子3增强版 #小米盒子3 #root #youtube #kingroot #Google

小米盒子3 增强版 : Root + Youtube 配置笔记

前提

  • 路由器已经「移民」,参考 这篇 Gist

  • 别人家的效果图(新的 MIUI -- 应用部分展示略有不同)

  • 当前成功(有效)方案实现日期:2017年10月08日

kafka 集群安全认证配置

本文主要介绍下 kafka 0.10.0 版如何实现sasl/plain认证机制及权限控制

kafka安全机制

kakfa 的安全机制主要分为两部分:

  • 身份认证(Authentication): 对客户端的身份进行认证
  • 权限控制(Authorization): 对topic级别的权限进行控制

kafka 身份认证

kafka 目前支持 SSL,SASL(Kerberos),SASL(PLAIN) 三种认证机制。

@steve-jansen
steve-jansen / README.md
Last active May 21, 2024 04:59
Stop and start Symantec Endpoint Protection on OS X

This script enables you stop and start Symantec Endpoint Protection on OS X

Installation

sudo curl https://gist.githubusercontent.com/steve-jansen/61a189b6ab961a517f68/raw/sep -o /usr/local/bin/sep
sudo chmod 755 /usr/local/bin/sep
sudo chown root:staff /usr/local/bin/sep