Panoptes 1.0.0
Endpoint Detection and Response
Loading...
Searching...
No Matches
scan_cli.cpp File Reference
#include <Windows.h>
#include <cstdio>
#include <chrono>
#include <iostream>
#include <string>
#include "scanner_ipc.hpp"
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include <nlohmann/json.hpp>

Go to the source code of this file.

Functions

 ABSL_FLAG (std::string, file, "", "File for Panoptes To Scan")
 ABSL_FLAG (int, timeout, 120, "Seconds to wait for every extension's result (YARA, ML)")
int main ()

Function Documentation

◆ ABSL_FLAG() [1/2]

ABSL_FLAG ( int ,
timeout ,
120 ,
"Seconds to wait for every extension's result (YARA, ML)"  )

◆ ABSL_FLAG() [2/2]

ABSL_FLAG ( std::string ,
file ,
"" ,
"File for Panoptes To Scan"  )

◆ main()

int main ( )

Definition at line 30 of file scan_cli.cpp.

30 {
31 int result = Run();
32 std::cout.flush();
33 fflush(stdout);
34 fflush(stderr);
35 _exit(result);
36}