MCPcopy Create free account
hub / github.com/Tylous/SourcePoint / main

Function main

SourcePoint.go:235–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233}
234
235func main() {
236 fmt.Println(`
237 _____ ____ _ __
238 / ___/____ __ _______________ / __ \____ (_)___ / /_
239 \__ \/ __ \/ / / / ___/ ___/ _ \/ /_/ / __ \/ / __ \/ __/
240 ___/ / /_/ / /_/ / / / /__/ __/ ____/ /_/ / / / / / /_
241 /____/\____/\__,_/_/ \___/\___/_/ \____/_/_/ /_/\__/
242 (@Tyl0us)
243 `)
244
245 opt := options()
246 var c conf
247 if opt.Yaml != "" {
248 c.getConf(opt.Yaml)
249 opt.stage = c.Stage
250 opt.Post_EX_Process_Name = c.Post_EX_Process_Name
251 opt.Host = c.Host
252 opt.custom_cert = c.Keystore
253 opt.cert_password = c.Password
254 opt.metadata = c.Metadata
255 opt.outFile = c.Outfile
256 opt.beacon_PE = c.PE_Clone
257 opt.Profile = c.Profile
258 opt.processinject_min_alloc = c.Allocation
259 opt.jitter = c.Jitter
260 opt.sleeptime = c.Sleep
261 opt.uri = c.Uri
262 opt.customuri = c.Customuri
263 opt.customuriGET = c.CustomuriGET
264 opt.customuriPOST = c.CustomuriPOST
265 opt.CDN = c.CDN
266 opt.useragent = c.Useragent
267 opt.ProfilePath = c.ProfilePath
268 opt.injector = c.Injector
269 opt.Datajitter = c.Datajitter
270 opt.Keylogger = c.Keylogger
271 opt.Forwarder = c.Forwarder
272 opt.tasks_max_size = c.TasksMaxSize
273 opt.tasks_proxy_max_size = c.TasksProxyMaxSize
274 opt.tasks_dns_proxy_max_size = c.TasksDnsProxyMaxSize
275 opt.syscall_method = c.Syscall_method
276 opt.httplib = c.Httplib
277 opt.threadspoof = c.Threadspoof
278 opt.beacongate = c.BeaconGate
279 opt.eaf_bypass = c.EafBypass
280 opt.rdll_use_syscalls = c.RdllUseSyscalls
281 opt.copy_pe_header = c.Copy_PE_Header
282 opt.rdll_loader = c.RdllLoader
283 opt.transform_obfuscate = c.TransformObfuscate
284 opt.smartinject = c.SmartInject
285 opt.sleep_mask = c.SleepMask
286 }
287
288 if opt.outFile == "" {
289 log.Fatal("Error: Please provide a file name to save the profile into")
290 }
291 if opt.Host == "" {
292 log.Fatal("Error: Please provide the hostname or IP")

Callers

nothing calls this directly

Calls 3

getConfMethod · 0.95
GenerateOptionsFunction · 0.92
optionsFunction · 0.85

Tested by

no test coverage detected