Skip to content

Instantly share code, notes, and snippets.

View yuxiaokui's full-sized avatar
😀
Show me the code

小葵 yuxiaokui

😀
Show me the code
View GitHub Profile
http://wolvez.club/2019/10/12/keylogger/
docker run --rm -it -v ${PWD}:/go golang:stretch env GO111MODULE=on GOPROXY=https://goproxy.io GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags -s -a -installsuffix cgo ms2.go 编译单文件的话这样编译
@yuxiaokui
yuxiaokui / runtest.go
Created January 13, 2020 01:16
测试运行
package main
import "fmt"
func main(){
fmt.Println("test")
}
import unittest
from ddt import ddt, data,unpack
from BeautifulReport import BeautifulReport
def add(a,b):
return a + b
@ddt
class TestMathFunc(unittest.TestCase):
import hashlib
import random
md5 = lambda x:hashlib.md5(x.encode(encoding='UTF-8')).hexdigest()
payload = list('1234567890abcdef')
len = 128
password = ''
for i in range(len):
password += random.choice(payload)
print("开始:")
package main
import (
"fmt"
"io"
"net"
"sync"
)
var lock sync.Mutex
package main
import (
"fmt"
"net/http"
"gopkg.in/mgo.v2"
)
type Headers struct {
package main
import (
"bytes"
"errors"
"fmt"
"log"
"net/http"
"os/exec"
"strings"
package main
import (
"bufio"
"fmt"
"io"
"net"
"os"
"strings"
)
{"sig":"36dd930e8e3307e418cfd5d5bfb741e6af87aeb8b0ddc9210048b05d7f3533e7e6cd1c08d0bc2e68f3b9237fd9385c6bf5af05e31fee4f5fec73fe7f8edd984d1","msghash":"a261075a83ee987d7daa832f0c9c0d15932fb2e8b722093887eea4de85c95fe9"}