1 | | - | // https://github.com/alpkeskin/ |
| 1 | + | // mosint v2.1 |
| 2 | + | // Author: Alp Keskin |
| 3 | + | // Github: github.com/alpkeskin |
| 4 | + | // Website: https://imalp.co |
2 | 5 | | package main |
3 | 6 | | |
4 | 7 | | import ( |
| 8 | + | "bufio" |
5 | 9 | | "flag" |
6 | 10 | | "fmt" |
7 | | - | "time" |
| 11 | + | "log" |
| 12 | + | "main/modules" |
| 13 | + | "strconv" |
8 | 14 | | |
9 | | - | "main/modules" |
10 | 15 | | "os" |
11 | 16 | | |
12 | 17 | | "github.com/dimiro1/banner" |
13 | 18 | | "github.com/fatih/color" |
14 | 19 | | "github.com/mattn/go-colorable" |
15 | 20 | | "github.com/olekukonko/tablewriter" |
| 21 | + | "github.com/schollz/progressbar/v3" |
16 | 22 | | ) |
17 | 23 | | |
18 | 24 | | func init() { |
19 | 25 | | templ := `{{ .Title "mosint" "" 2 }} |
20 | | - | {{ .AnsiColor.BrightWhite }}v2.0{{ .AnsiColor.Default }} |
| 26 | + | {{ .AnsiColor.BrightWhite }}v2.1{{ .AnsiColor.Default }} |
21 | 27 | | {{ .AnsiColor.BrightCyan }}https://github.com/alpkeskin/{{ .AnsiColor.Default }} |
22 | 28 | | Now: {{ .Now "Monday, 2 Jan 2006" }}` |
23 | 29 | | |
| skipped 4 lines |
28 | 34 | | func help_menu() { |
29 | 35 | | data := [][]string{ |
30 | 36 | | {"-e", "Set target email", "Yes"}, |
31 | | - | {"-v", "Verify the target email", "No"}, |
32 | | - | {"-ss", "Social scan for target email", "No"}, |
33 | | - | {"-re", "Find related emails with target email", "No"}, |
34 | | - | {"-rd", "Find related domains with target email", "No"}, |
35 | | - | {"-l", "Find password leaks for target email", "No"}, |
36 | | - | {"-pd", "Search pastebin dumps for target email", "No"}, |
37 | | - | {"-er", "EmailRep.io API", "No"}, |
38 | | - | {"-d", "More information about target email's domain", "No"}, |
| 37 | + | {"-verify", "Verify the target email", "No"}, |
| 38 | + | {"-social", "Social scan for target email", "No"}, |
| 39 | + | {"-relateds", "Find related emails and domains with target email", "No"}, |
| 40 | + | {"-leaks", "Find password leaks for target email", "No"}, |
| 41 | + | {"-dumps", "Search pastebin dumps for target email", "No"}, |
| 42 | + | {"-domain", "More information about target email's domain", "No"}, |
| 43 | + | {"-v", "Version of mosint", "No"}, |
| 44 | + | {"-h", "Help Menu", "No"}, |
39 | 45 | | {"-all", "All features!", "No"}, |
40 | 46 | | } |
41 | 47 | | table := tablewriter.NewWriter(os.Stdout) |
| skipped 5 lines |
47 | 53 | | color.Yellow("Example: go run main.go -e [email protected] -all") |
48 | 54 | | } |
49 | 55 | | |
| 56 | + | func verifyPrint(verifyData modules.VerifyStruct, emailRepData modules.EmailRepStruct, email string) { |
| 57 | + | if verifyData.IsVerified { |
| 58 | + | fmt.Println(email+" =>", color.GreenString("Verified \u2714")) |
| 59 | + | outputText += email + " => Verified \n" |
| 60 | + | } else { |
| 61 | + | fmt.Println(email+" =>", color.RedString("Not Verified \u2718")) |
| 62 | + | outputText += email + " => Not Verified \n" |
| 63 | + | } |
| 64 | + | if verifyData.IsDisposable { |
| 65 | + | fmt.Println(email+" =>", color.RedString("Disposable \u2718")) |
| 66 | + | outputText += email + " => Disposable \n" |
| 67 | + | } else { |
| 68 | + | fmt.Println(email+" =>", color.GreenString("Not Disposable \u2714")) |
| 69 | + | outputText += email + " => Not Disposable \n" |
| 70 | + | } |
| 71 | + | |
| 72 | + | if modules.GetAPIKey("EmailRep.io API Key") != "" { |
| 73 | + | fmt.Println("\nEmailRep Data for", color.WhiteString(email)) |
| 74 | + | outputText += "\nEmailRep Data for " + email + "\n" |
| 75 | + | fmt.Println("|- Reputation:", color.YellowString(emailRepData.Reputation)) |
| 76 | + | outputText += "|- Reputation: " + emailRepData.Reputation + "\n" |
| 77 | + | fmt.Println("|- Blacklisted:", color.WhiteString(strconv.FormatBool(emailRepData.Details.Blacklisted))) |
| 78 | + | outputText += "|- Blacklisted: " + strconv.FormatBool(emailRepData.Details.Blacklisted) + "\n" |
| 79 | + | fmt.Println("|- Malicious Activity:", color.WhiteString(strconv.FormatBool(emailRepData.Details.MaliciousActivity))) |
| 80 | + | outputText += "|- Malicious Activity: " + strconv.FormatBool(emailRepData.Details.MaliciousActivity) + "\n" |
| 81 | + | fmt.Println("|- Credential Leaked:", color.WhiteString(strconv.FormatBool(emailRepData.Details.CredentialsLeaked))) |
| 82 | + | outputText += "|- Credential Leaked: " + strconv.FormatBool(emailRepData.Details.CredentialsLeaked) + "\n" |
| 83 | + | fmt.Println("|- First Seen:", color.YellowString(emailRepData.Details.FirstSeen)) |
| 84 | + | outputText += "|- First Seen: " + emailRepData.Details.FirstSeen + "\n" |
| 85 | + | fmt.Println("|- Last Seen:", color.YellowString(emailRepData.Details.LastSeen)) |
| 86 | + | outputText += "|- Last Seen: " + emailRepData.Details.LastSeen + "\n" |
| 87 | + | fmt.Println("|- Day Since Domain Creation:", color.WhiteString(strconv.Itoa(emailRepData.Details.DaysSinceDomainCreation))) |
| 88 | + | outputText += "|- Day Since Domain Creation: " + strconv.Itoa(emailRepData.Details.DaysSinceDomainCreation) + "\n" |
| 89 | + | fmt.Println("|- Spam:", color.WhiteString(strconv.FormatBool(emailRepData.Details.Spam))) |
| 90 | + | outputText += "|- Spam: " + strconv.FormatBool(emailRepData.Details.Spam) + "\n" |
| 91 | + | fmt.Println("|- Free Provider:", color.WhiteString(strconv.FormatBool(emailRepData.Details.FreeProvider))) |
| 92 | + | outputText += "|- Free Provider: " + strconv.FormatBool(emailRepData.Details.FreeProvider) + "\n" |
| 93 | + | fmt.Println("|- Deliverable:", color.WhiteString(strconv.FormatBool(emailRepData.Details.Deliverable))) |
| 94 | + | outputText += "|- Deliverable: " + strconv.FormatBool(emailRepData.Details.Deliverable) + "\n" |
| 95 | + | fmt.Println("|- Valid MX:", color.WhiteString(strconv.FormatBool(emailRepData.Details.ValidMx))) |
| 96 | + | outputText += "|- Valid MX: " + strconv.FormatBool(emailRepData.Details.ValidMx) + "\n" |
| 97 | + | } else { |
| 98 | + | color.Red("EmailRep.io API Key is not set!") |
| 99 | + | outputText += "EmailRep.io API Key is not set!\n" |
| 100 | + | } |
| 101 | + | } |
| 102 | + | |
| 103 | + | func socialPrint(filename string) { |
| 104 | + | |
| 105 | + | f, err := os.Open(filename) |
| 106 | + | if err != nil { |
| 107 | + | log.Fatal(err) |
| 108 | + | } |
| 109 | + | outputText += "Social Media Search Results: \n" |
| 110 | + | defer f.Close() |
| 111 | + | scanner := bufio.NewScanner(f) |
| 112 | + | for scanner.Scan() { |
| 113 | + | fmt.Println("|- "+scanner.Text(), color.GreenString("\u2714")) |
| 114 | + | outputText += "|- " + scanner.Text() + "\n" |
| 115 | + | |
| 116 | + | } |
| 117 | + | if err := scanner.Err(); err != nil { |
| 118 | + | log.Fatal(err) |
| 119 | + | } |
| 120 | + | e := os.Remove(filename) |
| 121 | + | if e != nil { |
| 122 | + | log.Fatal(e) |
| 123 | + | } |
| 124 | + | } |
| 125 | + | |
| 126 | + | func relatedPrint(relEmails []string, relDomains []string, fromGoogle []string, hunterData modules.HunterStruct) { |
| 127 | + | |
| 128 | + | fmt.Println("Related Emails:") |
| 129 | + | outputText += "Related Emails: \n" |
| 130 | + | for _, v := range relEmails { |
| 131 | + | fmt.Println("|- "+v, color.GreenString("\u2714")) |
| 132 | + | outputText += "|- " + v + "\n" |
| 133 | + | } |
| 134 | + | if modules.GetAPIKey("Hunter.io API Key") != "" { |
| 135 | + | for _, v := range hunterData.Data.Emails { |
| 136 | + | fmt.Println("|- "+v.Value, color.GreenString("\u2714")) |
| 137 | + | outputText += "|- " + v.Value + "\n" |
| 138 | + | } |
| 139 | + | } |
| 140 | + | println("") |
| 141 | + | fmt.Println("Related Domains:") |
| 142 | + | outputText += "Related Domains: \n" |
| 143 | + | for _, v := range relDomains { |
| 144 | + | fmt.Println("|- "+v, color.GreenString("\u2714")) |
| 145 | + | outputText += "|- " + v + "\n" |
| 146 | + | } |
| 147 | + | for _, v := range fromGoogle { |
| 148 | + | fmt.Println("|- "+v, color.GreenString("\u2714")) |
| 149 | + | outputText += "|- " + v + "\n" |
| 150 | + | } |
| 151 | + | } |
| 152 | + | |
| 153 | + | func leakPrint(breachData modules.BreachDirectoryStruct, intelxData []string) { |
| 154 | + | fmt.Println("Password Leaks:") |
| 155 | + | outputText += "Password Leaks: \n" |
| 156 | + | if breachData.Success { |
| 157 | + | for _, v := range breachData.Result { |
| 158 | + | for _, w := range v.Sources { |
| 159 | + | fmt.Println("|- " + w) |
| 160 | + | outputText += "|- " + w + "\n" |
| 161 | + | } |
| 162 | + | if v.HasPassword { |
| 163 | + | fmt.Println("|-- "+v.Password, color.GreenString("\u2714")) |
| 164 | + | outputText += "|-- " + v.Password + "\n" |
| 165 | + | } |
| 166 | + | } |
| 167 | + | } else { |
| 168 | + | fmt.Println("|- No Password Leaks from Breach Directory") |
| 169 | + | outputText += "|- No Password Leaks from Breach Directory \n" |
| 170 | + | } |
| 171 | + | println("\nPassword Leaks from Intelx:") |
| 172 | + | if len(intelxData) > 0 { |
| 173 | + | for _, v := range intelxData { |
| 174 | + | fmt.Println("|- "+v, color.GreenString("\u2714")) |
| 175 | + | outputText += "|- " + v + "\n" |
| 176 | + | } |
| 177 | + | } else { |
| 178 | + | color.Red("No intelx file!") |
| 179 | + | outputText += "No intelx file! \n" |
| 180 | + | } |
| 181 | + | } |
| 182 | + | |
| 183 | + | func dumpPrint(binData []string) { |
| 184 | + | fmt.Println("Pastebin and Throwbin Search Results:") |
| 185 | + | outputText += "Pastebin and Throwbin Search Results: \n" |
| 186 | + | for _, v := range binData { |
| 187 | + | fmt.Println("|- "+v, color.GreenString("\u2714")) |
| 188 | + | outputText += "|- " + v + "\n" |
| 189 | + | } |
| 190 | + | } |
| 191 | + | |
| 192 | + | func domainPrint(table *tablewriter.Table, ipapi modules.IPAPIStruct) { |
| 193 | + | println("\nDomain Information:") |
| 194 | + | outputText += "Domain Information: \n" |
| 195 | + | fmt.Println("|- IP: "+ipapi.IP, color.GreenString("\u2714")) |
| 196 | + | outputText += "|- IP: " + ipapi.IP + "\n" |
| 197 | + | fmt.Println("|- City: "+ipapi.City, color.GreenString("\u2714")) |
| 198 | + | outputText += "|- City: " + ipapi.City + "\n" |
| 199 | + | fmt.Println("|- Region: "+ipapi.Region, color.GreenString("\u2714")) |
| 200 | + | outputText += "|- Region: " + ipapi.Region + "\n" |
| 201 | + | fmt.Println("|- Region Code: "+ipapi.RegionCode, color.GreenString("\u2714")) |
| 202 | + | outputText += "|- Region Code: " + ipapi.RegionCode + "\n" |
| 203 | + | fmt.Println("|- Country: "+ipapi.Country, color.GreenString("\u2714")) |
| 204 | + | outputText += "|- Country: " + ipapi.Country + "\n" |
| 205 | + | fmt.Println("|- Country Code: "+ipapi.CountryCode, color.GreenString("\u2714")) |
| 206 | + | outputText += "|- Country Code: " + ipapi.CountryCode + "\n" |
| 207 | + | fmt.Println("|- Country Name: "+ipapi.CountryName, color.GreenString("\u2714")) |
| 208 | + | outputText += "|- Country Name: " + ipapi.CountryName + "\n" |
| 209 | + | fmt.Println("|- Postal: "+ipapi.Postal, color.GreenString("\u2714")) |
| 210 | + | outputText += "|- Postal: " + ipapi.Postal + "\n" |
| 211 | + | fmt.Println("|- TimeZone: "+ipapi.Timezone, color.GreenString("\u2714")) |
| 212 | + | outputText += "|- TimeZone: " + ipapi.Timezone + "\n" |
| 213 | + | fmt.Println("|- Country Calling Code: "+ipapi.CountryCallingCode, color.GreenString("\u2714")) |
| 214 | + | outputText += "|- Country Calling Code: " + ipapi.CountryCallingCode + "\n" |
| 215 | + | fmt.Println("|- Currency: "+ipapi.Currency, color.GreenString("\u2714")) |
| 216 | + | outputText += "|- Currency: " + ipapi.Currency + "\n" |
| 217 | + | fmt.Println("|- Organization: "+ipapi.Org, color.GreenString("\u2714")) |
| 218 | + | outputText += "|- Organization: " + ipapi.Org + "\n" |
| 219 | + | |
| 220 | + | println("\nDNS Records:") |
| 221 | + | table.Render() |
| 222 | + | } |
| 223 | + | |
| 224 | + | var outputText string = "" |
| 225 | + | |
50 | 226 | | func main() { |
51 | 227 | | var email *string = flag.String("e", "", "Set email") |
52 | | - | var verify *bool = flag.Bool("v", false, "Verify method") |
53 | | - | var social_scan *bool = flag.Bool("ss", false, "Social scan method") |
54 | | - | var related_emails *bool = flag.Bool("re", false, "Related emails method") |
55 | | - | var related_domains *bool = flag.Bool("rd", false, "Related domains method") |
56 | | - | var leaks *bool = flag.Bool("l", false, "Find password leaks method") |
57 | | - | var pastebin_dumps *bool = flag.Bool("pd", false, "Pastebin dumps searching method") |
58 | | - | var emailrep *bool = flag.Bool("er", false, "EmailRep.io API") |
59 | | - | var domain *bool = flag.Bool("d", false, "More information about domain method") |
| 228 | + | var verify *bool = flag.Bool("verify", false, "Verify method") |
| 229 | + | var social_accounts *bool = flag.Bool("social", false, "Finding registered accounts from email") |
| 230 | + | var relateds *bool = flag.Bool("relateds", false, "Finding related emails and domains from domain") |
| 231 | + | var leaks *bool = flag.Bool("leaks", false, "Finding password leaks from email") |
| 232 | + | var dumps *bool = flag.Bool("dumps", false, "Finding Pastebin dumps from email") |
| 233 | + | var domain *bool = flag.Bool("domain", false, "More information about domain") |
| 234 | + | var output *bool = flag.Bool("o", false, "Output to text file") |
| 235 | + | var version *bool = flag.Bool("v", false, "Version of mosint") |
60 | 236 | | var help *bool = flag.Bool("h", false, "Help Menu") |
61 | 237 | | var all *bool = flag.Bool("all", false, "All features!") |
62 | 238 | | flag.Parse() |
63 | | - | if *email == "" { |
| 239 | + | println("") |
| 240 | + | if len(*email) == 0 { |
64 | 241 | | help_menu() |
| 242 | + | os.Exit(0) |
65 | 243 | | } else if *help { |
66 | 244 | | help_menu() |
| 245 | + | os.Exit(0) |
| 246 | + | } else if *version { |
| 247 | + | color.White("version: 2.1") |
| 248 | + | os.Exit(0) |
| 249 | + | } else if *all { |
| 250 | + | |
| 251 | + | var bar = progressbar.Default(100, "mosinting") |
| 252 | + | bar.Add(5) |
| 253 | + | var verifyData = modules.VerifyEmail(*email) |
| 254 | + | bar.Add(7) |
| 255 | + | var emailRepData = modules.EmailRep(*email) |
| 256 | + | bar.Add(8) |
| 257 | + | modules.Runner(*email, "SocialScan") |
| 258 | + | bar.Add(8) |
| 259 | + | modules.Runner(*email, "Holehe") |
| 260 | + | var relEmails = modules.RelatedEmails(*email) |
| 261 | + | bar.Add(8) |
| 262 | + | var relDomains = modules.RelatedDomains(*email) |
| 263 | + | bar.Add(8) |
| 264 | + | var fromGoogle = modules.Related_domains_from_google(*email) |
| 265 | + | bar.Add(8) |
| 266 | + | var hunterData = modules.Hunter(*email) |
| 267 | + | bar.Add(8) |
| 268 | + | var breachData = modules.BreachDirectory(*email) |
| 269 | + | bar.Add(8) |
| 270 | + | var binData = modules.BinSearch(*email) |
| 271 | + | bar.Add(8) |
| 272 | + | var ipapi = modules.IPAPI(*email) |
| 273 | + | bar.Add(8) |
| 274 | + | var table = modules.DNS_lookup(*email) |
| 275 | + | bar.Add(8) |
| 276 | + | var intelxData = modules.Intelx(*email) |
| 277 | + | bar.Finish() |
| 278 | + | verifyPrint(verifyData, emailRepData, *email) |
| 279 | + | socialPrint("socialscantempresult.txt") |
| 280 | + | socialPrint("holehetempresult.txt") |
| 281 | + | relatedPrint(relEmails, relDomains, fromGoogle, hunterData) |
| 282 | + | leakPrint(breachData, intelxData) |
| 283 | + | dumpPrint(binData) |
| 284 | + | domainPrint(table, ipapi) |
| 285 | + | if *output { |
| 286 | + | var filename = modules.FileWriter(*email, outputText) |
| 287 | + | color.Green("\nOutput file: " + filename) |
| 288 | + | } |
| 289 | + | os.Exit(0) |
67 | 290 | | } else { |
68 | | - | whilte := color.New(color.FgWhite) |
69 | | - | boldWhite := whilte.Add(color.Bold) |
70 | | - | fmt.Print("\nEmail > ") |
71 | | - | boldWhite.Print(*email + "\n") |
72 | | - | |
73 | | - | if *all { |
74 | | - | start := time.Now().Unix() |
75 | | - | modules.Verify_email(*email) |
76 | | - | color.Magenta("Which Social Media Does " + *email + " Use?") |
77 | | - | modules.Runner(*email, "socialscan") |
78 | | - | color.Magenta("Related Emails:") |
79 | | - | modules.Related_emails(*email) |
80 | | - | modules.Runner(*email, "hunter") |
81 | | - | color.Magenta("Related Domains:") |
82 | | - | modules.Related_domains(*email) |
83 | | - | modules.Related_domains_google(*email) |
84 | | - | color.Magenta("Password Leaks:") |
85 | | - | modules.Runner(*email, "breachdirectory") |
86 | | - | color.Magenta("Pastebin Dumps Searching:") |
87 | | - | modules.Pastebin_search(*email) |
88 | | - | color.Magenta("EmailRep.io API Results:") |
89 | | - | modules.Runner(*email, "emailrep") |
90 | | - | color.Magenta("Domain Investigation:") |
91 | | - | modules.DNS_lookup(*email) |
92 | | - | modules.IPapi(*email) |
93 | | - | modules.Subdomains(*email) |
94 | | - | end := time.Now().Unix() |
95 | | - | println("---------------------------------------") |
96 | | - | print("Scan duration: ") |
97 | | - | boldWhite.Print(fmt.Sprint(end - start)) |
98 | | - | print(" seconds.") |
99 | | - | } else { |
100 | | - | if *verify { |
101 | | - | modules.Verify_email(*email) |
| 291 | + | if *verify { |
| 292 | + | verifyPrint(modules.VerifyEmail(*email), modules.EmailRep(*email), *email) |
| 293 | + | if *output { |
| 294 | + | var filename = modules.FileWriter(*email, outputText) |
| 295 | + | color.Green("\nOutput file: " + filename) |
102 | 296 | | } |
103 | | - | if *social_scan { |
104 | | - | color.Magenta("Which Social Media Does " + *email + " Use?") |
105 | | - | modules.Runner(*email, "socialscan") |
106 | | - | } |
107 | | - | if *related_emails { |
108 | | - | color.Magenta("Related Emails:") |
109 | | - | modules.Related_emails(*email) |
110 | | - | modules.Runner(*email, "hunter") |
111 | | - | } |
112 | | - | if *related_domains { |
113 | | - | color.Magenta("Related Domains:") |
114 | | - | modules.Related_domains(*email) |
115 | | - | modules.Related_domains_google(*email) |
| 297 | + | os.Exit(0) |
| 298 | + | } |
| 299 | + | if *social_accounts { |
| 300 | + | fmt.Println("Social media accounts opened with", color.WhiteString(*email)) |
| 301 | + | modules.Runner(*email, "SocialScan") |
| 302 | + | modules.Runner(*email, "Holehe") |
| 303 | + | socialPrint("socialscantempresult.txt") |
| 304 | + | socialPrint("holehetempresult.txt") |
| 305 | + | if *output { |
| 306 | + | var filename = modules.FileWriter(*email, outputText) |
| 307 | + | color.Green("\nOutput file: " + filename) |
116 | 308 | | } |
117 | | - | if *leaks { |
118 | | - | color.Magenta("Password Leaks:") |
119 | | - | modules.Runner(*email, "breachdirectory") |
| 309 | + | os.Exit(0) |
| 310 | + | } |
| 311 | + | if *relateds { |
| 312 | + | relatedPrint(modules.RelatedEmails(*email), modules.RelatedDomains(*email), modules.Related_domains_from_google(*email), modules.Hunter(*email)) |
| 313 | + | if *output { |
| 314 | + | var filename = modules.FileWriter(*email, outputText) |
| 315 | + | color.Green("\nOutput file: " + filename) |
120 | 316 | | } |
121 | | - | if *pastebin_dumps { |
122 | | - | color.Magenta("Pastebin Dumps Searching:") |
123 | | - | modules.Pastebin_search(*email) |
| 317 | + | os.Exit(0) |
| 318 | + | } |
| 319 | + | if *leaks { |
| 320 | + | leakPrint(modules.BreachDirectory(*email), modules.Intelx(*email)) |
| 321 | + | if *output { |
| 322 | + | var filename = modules.FileWriter(*email, outputText) |
| 323 | + | color.Green("\nOutput file: " + filename) |
124 | 324 | | } |
125 | | - | if *emailrep { |
126 | | - | color.Magenta("EmailRep.io API Results:") |
127 | | - | modules.Runner(*email, "emailrep") |
| 325 | + | os.Exit(0) |
| 326 | + | } |
| 327 | + | if *dumps { |
| 328 | + | dumpPrint(modules.BinSearch(*email)) |
| 329 | + | if *output { |
| 330 | + | var filename = modules.FileWriter(*email, outputText) |
| 331 | + | color.Green("\nOutput file: " + filename) |
128 | 332 | | } |
129 | | - | if *domain { |
130 | | - | color.Magenta("Domain Investigation:") |
131 | | - | modules.DNS_lookup(*email) |
132 | | - | modules.IPapi(*email) |
133 | | - | modules.Subdomains(*email) |
| 333 | + | } |
| 334 | + | if *domain { |
| 335 | + | domainPrint(modules.DNS_lookup(*email), modules.IPAPI(*email)) |
| 336 | + | if *output { |
| 337 | + | var filename = modules.FileWriter(*email, outputText) |
| 338 | + | color.Green("\nOutput file: " + filename) |
134 | 339 | | } |
| 340 | + | os.Exit(0) |
135 | 341 | | } |
136 | 342 | | } |
| 343 | + | |
137 | 344 | | } |
138 | 345 | | |