Projects STRLCPY Osmedeus Commits 261d4c16
🤬
  • ■ ■ ■ ■ ■ ■
    cmd/usage.go
    skipped 33 lines
    34 34   h += color.HiBlueString("\n ## Initiate the scan using a speed option other than the default setting\n")
    35 35   h += " osmedeus scan -f vuln --tactic gently -t sample.com\n"
    36 36   h += " osmedeus scan --threads-hold=10 -t sample.com\n"
     37 + h += " osmedeus scan -B 5 -t sample.com\n"
    37 38   
    38 39   h += color.HiBlueString("\n ## Start a simple scan with other flow\n")
    39 40   h += " osmedeus scan -f vuln -t sample.com\n"
    skipped 30 lines
    70 71   
    71 72   h += color.HiBlueString("\n ## Continuously run the scan on a target right after it finished\n")
    72 73   h += " osmedeus utils cron --for --cmd 'osmedeus scan -t example.com'\n"
     74 + 
     75 + h += color.HiBlueString("\n ## Backing up all workspaces\n")
     76 + h += " ls ~/workspaces-osmedeus | osmedeus report compress\n"
    73 77   
    74 78   h += "\n"
    75 79   return h
    skipped 212 lines
  • ■ ■ ■ ■
    core/step.go
    skipped 77 lines
    78 78   files = append(files, module.Report.Diff...)
    79 79   
    80 80   reports := funk.UniqString(files)
    81  - utils.BannerF("Report", fmt.Sprintf("List of reports generated by the %v module", color.HiGreenString(module.Name)))
     81 + utils.BlockF("Report", color.HiCyanString("List of reports generated by the %v module", color.HiGreenString(module.Name)))
    82 82   for _, report := range reports {
    83 83   if !utils.FileExists(report) && utils.EmptyFile(report, 0) {
    84 84   if !utils.FolderExists(report) && utils.EmptyDir(report) {
    skipped 84 lines
  • ■ ■ ■ ■ ■ ■
    utils/helper.go
    skipped 635 lines
    636 636   
    637 637   if strings.Count(base, "/") > 2 {
    638 638   base = base[strings.LastIndex(base, "/")+1:]
     639 + if strings.TrimSpace(base) == "" {
     640 + domain, err := GetDomain(raw)
     641 + if err == nil {
     642 + base = domain
     643 + } else {
     644 + base = RandomString(8)
     645 + }
     646 + }
    639 647   }
    640 648   
    641 649   out = strings.ReplaceAll(base, "/", "_")
    skipped 260 lines
Please wait...
Page is in error, reload to recover