This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#./get-deps.sh | |
buildpath=`pwd`/_build | |
installpath=/opt/subversion | |
subapp=(apr apr-util serf zlib) | |
makeapp() | |
{ | |
cd $1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!env python | |
# pip install scapy | |
# send() 用于发送三层数据 sendp()发送二层数据 | |
# 源码https://github.com/secdev/scapy/blob/master/scapy/sendrecv.py#L239 | |
# 参数 inter发送数据后sleep时间,当count不为None 时loop无效,count为执行 | |
# 次数。count为None,loop大于0无限循环,小于0相当于count,等于0,发送一次。 | |
# p.show() p.show2() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
//export PATH="/cygdrive/e/soft/MinGW/bin:$PATH" | |
//go build -ldflags "-H windowsgui" onetab.go | |
//go build -ldflags '-w -s' onetab.go | |
import ( | |
"fmt" | |
"log" | |
"os" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"syscall" | |
"unsafe" | |
) | |
func main() { | |
fmt.Print("Input password:") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"fmt" | |
"os" | |
"syscall" | |
"unsafe" | |
"encoding/base64" | |
"path/filepath" |