Adversarial C2 Protocol Implemented in Zig
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at dev 30 lines 1.4 kB view raw
1// Copyright 2026 Robby Zambito 2// 3// This file is part of zaprus. 4// 5// Zaprus is free software: you can redistribute it and/or modify it under the 6// terms of the GNU General Public License as published by the Free Software 7// Foundation, either version 3 of the License, or (at your option) any later 8// version. 9// 10// Zaprus is distributed in the hope that it will be useful, but WITHOUT ANY 11// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 12// A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13// 14// You should have received a copy of the GNU General Public License along with 15// Zaprus. If not, see <https://www.gnu.org/licenses/>. 16 17//! The Zaprus library is useful for implementing clients that interact with the [Saprus Protocol](https://gitlab.com/c2-games/red-team/saprus). 18//! 19//! The main entrypoint into this library is the `Client` type. 20//! It can be used to send fire and forget messages, and establish persistent connections. 21//! It is up to the consumer of this library to handle non-management message payloads. 22//! The library handles management messages automatically (right now, just ping). 23 24pub const Client = @import("Client.zig"); 25pub const Connection = @import("Connection.zig"); 26pub const Message = @import("message.zig").Message; 27 28test { 29 @import("std").testing.refAllDecls(@This()); 30}