You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+12-8Lines changed: 12 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ func main() {
28
28
29
29
// create mutex to avoid program running multiple instances
30
30
if_, err=CreateMutex("irmaBinMutex"); err!=nil {
31
+
log.Println("Only one instance or irma can be launched")
31
32
os.Exit(1)
32
33
}
33
34
@@ -37,9 +38,12 @@ func main() {
37
38
pQuarantine:=parser.String("q", "quarantine", &argparse.Options{Required: false, Help: "Specify path to store matching artefacts in quarantine (Base64/RC4 with key: irma"})
38
39
pKill:=parser.Flag("k", "kill", &argparse.Options{Required: false, Help: "Kill suspicious process ID (without removing process binary)"})
39
40
pFaker:=parser.Flag("f", "faker", &argparse.Options{Required: false, Help: "Spawn fake processes such as wireshark / procmon / procdump / x64dbg"})
pNotifications:=parser.Flag("n", "notifications", &argparse.Options{Required: false, Help: "Use Windows notifications when a file or memory stream match your YARA rules"})
42
-
pVerbose:=parser.Flag("v", "verbose", &argparse.Options{Required: false, Help: "Display every error"})
42
+
pVerbose:=parser.Flag("v", "verbose", &argparse.Options{Required: false, Help: "Display every error and information messages"})
43
+
44
+
// TODO : working on aggressive mode - it will remove suscpicious process executable / track and remove suspicious PPID / remove schedule task & regkey persistence
0 commit comments