Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xjiayu/DDGBotnetTracker
/ functions
Functions
27 in github.com/0xjiayu/DDGBotnetTracker
⨍
Functions
27
◇
Types & classes
24
↓ 4 callers
Function
DownLoadSample
Download file to workdir
v1/tracker.go:558
↓ 3 callers
Method
AddFile
Add new file path to sampleInfo.FileList
v1/lib/common.go:57
↓ 3 callers
Method
AddMD5
Add new md5 to sampleInfo.Md5List
v1/lib/common.go:42
↓ 2 callers
Method
Append
Add new cc Host to ccHostList
v1/lib/common.go:27
↓ 2 callers
Function
epilogue
()
v1/tracker.go:90
↓ 1 callers
Method
IsNew
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 callers
Function
extractMembersFromLog
Insert latest member host info to DB from log file
v1/tracker.go:385
↓ 1 callers
Function
extractSampleInfo
Read curr sample filenames and md5s to Fullfil sampleInfoList
v1/tracker.go:633
↓ 1 callers
Function
getHostList
Get member host list from DB latest 1000 ip:port
v1/tracker.go:358
↓ 1 callers
Function
getLatestVersion
Get latest ddg version Get the latest version number from DB, OR return the const DEFAULTVER
v1/tracker.go:348
↓ 1 callers
Function
getVal
(elemRaw []byte)
v2/tools/bolt_db_parse.go:44
↓ 1 callers
Function
initWorkDir
Initialize work directories
v1/tracker.go:327
↓ 1 callers
Function
processCCHost
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 callers
Function
processShellUrl
Process the url of i.sh
v1/tracker.go:487
Function
GetUID
Get uniq Uid Uid is generated from Host info and Net.Interfaces info
v1/lib/util.go:40
Function
GetWanIP
Get WANIP Get WANIP from HTTP Request to public service
v1/lib/util.go:76
Function
MD5Calc
Calculate file's MD5 Value
v1/lib/util.go:97
Function
SendMsg2Slack
Send message to slack channel
v1/lib/util.go:111
Function
init
()
v2/tools/dec_seeds.go:24
Function
init
()
v2/tools/bolt_db_parse.go:28
Function
init
()
v1/tracker.go:95
Function
main
()
v2/tools/dec_seeds.go:28
Function
main
()
v2/tools/gen_workdir_name.go:9
Function
main
()
v2/tools/xsig_verify.go:27
Function
main
()
v2/tools/bolt_db_parse.go:77
Function
main
()
v2/tools/slave_dec.go:110
Function
main
()
v1/tracker.go:162