Skip to content

Instantly share code, notes, and snippets.

✌️
Do the right thing

mour mylamour

✌️
Do the right thing
Block or report user

Report or block mylamour

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 视图和表的联系与区别.md

视图和表的区别和联系

  • 区别 1、视图是已经编译好的sql语句。而表不是
    2、视图没有实际的物理记录。而表有。 3、表是内容,视图是窗口 4、表只用物理空间而视图不占用物理空间,视图只是逻辑概念的存在,表可以及时对它进行修改,但视图只能有创建的语句来修改 5、表是内模式,视图是外模式 6、视图是查看数据表的一种方法,可以查询数据表中某些字段构成的数据,只是一些SQL语句的集合。从安全的角度说,视图可以不给用户接触数据表,从而不知道表结构。 7、表属于全局模式中的表,是实表;视图属于局部模式的表,是虚表。
View 浅谈反入侵.md
layout title categories kerywords tags
post
浅谈反入侵
HowTo
安全思考 反思 安全 安全架构 安全创新 总结 反入侵 安全运营 混沌安全 企业安全建设
知识回顾

前言

View sendmailWithTLS.py
# +TLS
SESSION = smtplib.SMTP_SSL()
SESSION.connect(SMTPADDR, 465)
SESSION.login(SENDER, password)
MAILMSG = MIMEMultipart()
MAILMSG['Subject'] = SUBJECT
MAILMSG['From'] = SENDER
MAILMSG['To'] = toaddrs
@mylamour
mylamour / osquery_windows.md
Created May 22, 2019
#Windows Osquery Compile#
View osquery_windows.md
@mylamour
mylamour / tcp_flags.txt
Created Apr 23, 2019 — forked from tuxfight3r/tcp_flags.txt
tcpdump - reading tcp flags
View tcp_flags.txt
##TCP FLAGS##
Unskilled Attackers Pester Real Security Folks
==============================================
TCPDUMP FLAGS
Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere)
Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere)
Pester = PSH = [P] (Push Data)
Real = RST = [R] (Reset Connection)
Security = SYN = [S] (Start Connection)
@mylamour
mylamour / System Design.md
Last active Jun 23, 2019 — forked from vasanthk/System Design.md
System Design Cheatsheet
View System Design.md

系统设计备忘录

挑选正确的架构约等于选择正确的战斗并做好权衡

基本步骤

  1. 明确系统边界
  • 用户案列 (描述哪些业务,事件,组合在一起会产生什么样的效果)
    • 谁使用这个系统?
    • 他们怎么使用这个系统?
View hmm.py
import numpy as np
from hmmlearn import hmm
from sklearn.datasets import load_iris,load_diabetes
from sklearn.metrics import accuracy_score
from sklearn.model_selection import train_test_split
CLASSES = 4
ITERATIONS = 100000
iris = load_iris()
View guessLan.py
import os
import fire
from colorama import Fore
from collections import Counter
# SUPPORT_SUFFIX = ['lua','c','cpp','py','java','scala','php','js']
# 如果给个最低均值就好了,或者比率
PROJECTLAN = {
@mylamour
mylamour / download.py
Created Oct 29, 2018
[threatfeeds download] #python #threat feeds.io
View download.py
import re, os, sys
import json
import logging
import hashlib
import requests
from functools import partial
from bs4 import BeautifulSoup
from concurrent.futures import ProcessPoolExecutor
from multiprocessing import Pool, TimeoutError
from urllib.parse import urlparse
@mylamour
mylamour / raspberry-HIFI.md
Last active Sep 30, 2018
#Raspberry# #HIFI Berry#
View raspberry-HIFI.md

我的是板子是Raspberry Zero W

sudo vim /boot/config.txt

dtoverlay=hifiberry-dac

然后aplay -l检测 声卡是否加载了,你要加载你自己的型号。我的是hifiberry-dac的。可以看到card-1已经加载了hifiberry

You can’t perform that action at this time.