MCPcopy Create free account

hub / github.com/corunb/Dirscan / functions

Functions61 in github.com/corunb/Dirscan

↓ 7 callersFunctionWrite
Write 写文件
config/ReadandWrite.go:32
↓ 6 callersFunctionReadFile
ReadFile 读取文件列表返回数组
config/ReadandWrite.go:12
↓ 6 callersFunctionUrll
Urll url后面加去除/
config/config.go:114
↓ 5 callersFunctionCodel
Codel code 输入范围转换为数组
config/config.go:24
↓ 4 callersFunctionFindUrl
FindUrl 识别http/https,并探存活
config/judgment.go:11
↓ 4 callersFunctionLenbody
(body int)
config/judgment.go:122
↓ 3 callersMethodAdd
Add 设置进度
config/bar.go:83
↓ 3 callersFunctionRandomget
Randomget 随机获取数组中的一个值
config/config.go:317
↓ 3 callersFunctionRequest
Request 封装请求
config/Request.go:14
↓ 3 callersFunctionScans
Scans 单个扫描
config/scan.go:18
↓ 3 callersFunctionTypeselection
Typeselection 针对类型进行处理字典
config/config.go:337
↓ 2 callersFunctionProxyset
(tr *http.Transport,proxy string )
config/Request.go:135
↓ 2 callersFunctionRecursionchoose
Recursionchoose 递归扫描的数据存储
config/config.go:258
↓ 2 callersFunctionRedirect
Redirect 判断识别302页面内容
config/judgment.go:60
↓ 2 callersFunctionSocks5Dailer
Socks5Dailer 代理设置
config/Request.go:108
↓ 2 callersFunctiondifference
求差集 slice1-并集
config/config.go:220
↓ 2 callersFunctionfilterCode
转换strng为int
config/config.go:57
↓ 2 callersMethodgetPercent
func NewBarWithGraph(start, total int, graph string) *Bar { bar := NewBar(start, total) bar.graph = graph return bar } 计算当前百分比
config/bar.go:43
↓ 2 callersMethodload
加载进度条
config/bar.go:64
↓ 1 callersFunctionAll
(httpBody io.Reader)
crawler/crawler.go:51
↓ 1 callersFunctionAntiScans
AntiScans 反递归扫描
config/scan.go:107
↓ 1 callersFunctionCodeIstrue
CodeIstrue codeIstrue 状态码输入检测
config/config.go:153
↓ 1 callersFunctionCrawler
(Url string)
crawler/crawler.go:14
↓ 1 callersFunctionDefaultfile
Defaultfile 生成默认配置文件
config/config.go:273
↓ 1 callersFunctionFDGtool
FDGtool 反递归url字典生成
config/config.go:365
↓ 1 callersFunctionFhundreds
Fhundreds 判断500的页面
config/judgment.go:88
↓ 1 callersFunctionGETRequest
GETRequest 用于单次结果内容判断
config/Request.go:58
↓ 1 callersFunctionGetPrint
GetPrint 结果显示
config/Prints.go:10
↓ 1 callersFunctionGetScan
GetScan Getscan Get扫描
config/scan.go:160
↓ 1 callersFunctionHeadPrint
HeadPrint 结果显示
config/Prints.go:35
↓ 1 callersFunctionHeadScan
HeadScan Scan Head扫描
config/scan.go:128
↓ 1 callersFunctionInitConfig
InitConfig 读取配置文件
config/config.go:163
↓ 1 callersFunctionIsPath
IsPath 判断字典是目录还是文件
config/config.go:125
↓ 1 callersFunctionJumpUrl
(Turl string)
config/judgment.go:100
↓ 1 callersMethodNewBar
NewBar 初始化
config/bar.go:21
↓ 1 callersFunctionProcesschecks
Processchecks 不进行随机代理时,每5秒检查扫描目标的存活
config/scan.go:200
↓ 1 callersFunctionRemoveRepByLoop
RemoveRepByLoop 通过两重循环过滤重复元素数组去重
config/config.go:240
↓ 1 callersFunctionResCode
(respCode int)
config/judgment.go:112
↓ 1 callersFunctionResbody
(body string)
config/judgment.go:134
↓ 1 callersFunctionResbodya
(body string)
config/judgment.go:145
↓ 1 callersFunctionResbodyb
(body string)
config/judgment.go:156
↓ 1 callersFunctionRun
()
cmd/root.go:10
↓ 1 callersFunctionScanes
Scanes 批量扫描
config/scan.go:87
↓ 1 callersFunctionStorage
Storage 转换大小
config/config.go:88
↓ 1 callersFunctionThundred
Thundred 对200的页面进行识别判断
config/judgment.go:47
↓ 1 callersFunctionThundreds
Thundreds 判断400-500
config/judgment.go:75
↓ 1 callersFunctionTishi
Tishi 提示
config/Prints.go:57
↓ 1 callersFunctionTishis
Tishis 提示
config/Prints.go:68
↓ 1 callersFunctionUrladdress
Urladdress url地址获取
config/config.go:142
↓ 1 callersFunctionarrayUnique
去重
config/config.go:69
↓ 1 callersFunctioncheck
check looks to see if a url exits in the slice.
crawler/crawler.go:89
↓ 1 callersFunctionintersect
求交集
config/config.go:204
↓ 1 callersFunctionresolv
resolv adds links to the link slice and insures that there is no repetition in our collection.
crawler/crawler.go:102
↓ 1 callersFunctiontrimHash
trimHash slices a hash # from the link
crawler/crawler.go:74
↓ 1 callersFunctionurlJoin
(href ,base string)
crawler/crawler.go:34
MethodClear
()
config/bar.go:90
MethodClose
()
config/bar.go:98
MethodReset
(current int)
config/bar.go:74
MethodgetTime
获取当前花费时间
config/bar.go:48
Functioninit
()
config/flag.go:29
Functionmain
()
main.go:11