MCPcopy Create free account

hub / github.com/0xjiayu/DDGBotnetTracker / functions

Functions27 in github.com/0xjiayu/DDGBotnetTracker

↓ 4 callersFunctionDownLoadSample
Download file to workdir
v1/tracker.go:558
↓ 3 callersMethodAddFile
Add new file path to sampleInfo.FileList
v1/lib/common.go:57
↓ 3 callersMethodAddMD5
Add new md5 to sampleInfo.Md5List
v1/lib/common.go:42
↓ 2 callersMethodAppend
Add new cc Host to ccHostList
v1/lib/common.go:27
↓ 2 callersFunctionepilogue
()
v1/tracker.go:90
↓ 1 callersMethodIsNew
Check if new md5 or new file(sample download URL) returns: - 0: Both new - 1: Only New md5 - 2: Only New file - 3: Nothing new
v1/lib/common.go:77
↓ 1 callersFunctionextractMembersFromLog
Insert latest member host info to DB from log file
v1/tracker.go:385
↓ 1 callersFunctionextractSampleInfo
Read curr sample filenames and md5s to Fullfil sampleInfoList
v1/tracker.go:633
↓ 1 callersFunctiongetHostList
Get member host list from DB latest 1000 ip:port
v1/tracker.go:358
↓ 1 callersFunctiongetLatestVersion
Get latest ddg version Get the latest version number from DB, OR return the const DEFAULTVER
v1/tracker.go:348
↓ 1 callersFunctiongetVal
(elemRaw []byte)
v2/tools/bolt_db_parse.go:44
↓ 1 callersFunctioninitWorkDir
Initialize work directories
v1/tracker.go:327
↓ 1 callersFunctionprocessCCHost
Process a host ip to test if it's a CC Server If true, then download latest config data and latest malwr samples A CC Server serves as a config and sa
v1/tracker.go:420
↓ 1 callersFunctionprocessShellUrl
Process the url of i.sh
v1/tracker.go:487
FunctionGetUID
Get uniq Uid Uid is generated from Host info and Net.Interfaces info
v1/lib/util.go:40
FunctionGetWanIP
Get WANIP Get WANIP from HTTP Request to public service
v1/lib/util.go:76
FunctionMD5Calc
Calculate file's MD5 Value
v1/lib/util.go:97
FunctionSendMsg2Slack
Send message to slack channel
v1/lib/util.go:111
Functioninit
()
v2/tools/dec_seeds.go:24
Functioninit
()
v2/tools/bolt_db_parse.go:28
Functioninit
()
v1/tracker.go:95
Functionmain
()
v2/tools/dec_seeds.go:28
Functionmain
()
v2/tools/gen_workdir_name.go:9
Functionmain
()
v2/tools/xsig_verify.go:27
Functionmain
()
v2/tools/bolt_db_parse.go:77
Functionmain
()
v2/tools/slave_dec.go:110
Functionmain
()
v1/tracker.go:162