1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
use self::error::GenerationError; | |
use std::{ | |
collections::HashMap, | |
ops::{Deref, DerefMut}, | |
}; | |
pub type Result<T, E = Box<dyn std::error::Error>> = std::result::Result<T, E>; | |
pub mod error { | |
use super::*; |
[package] | |
name = "app" | |
version = "0.1.0" | |
edition = "2021" | |
[dependencies] | |
egui = "0.27.2" | |
egui-wgpu = { version = "0.27.2", features = ["winit"] } | |
egui-winit = "0.27.2" | |
pollster = "0.3.0" |
//#![no_std] | |
use serde::{Deserialize, Serialize}; | |
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize, Clone, Copy)] | |
pub enum State { | |
State1, | |
State2, | |
State3, | |
} |
use std::{ | |
collections::{HashMap, VecDeque}, | |
sync::{Arc, RwLock, Weak}, | |
}; | |
use uuid::Uuid; | |
#[derive(Default)] | |
pub struct Broker<T: Clone> { | |
subscribers: Arc<RwLock<HashMap<String, Vec<Weak<RwLock<Client<T>>>>>>>, | |
} |
const SDL_MessageBoxButtonData buttons[] = { | |
{ /* .flags, .buttonid, .text */ 0, 0, "no" }, | |
{ SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT, 1, "ok" }, | |
}; | |
const SDL_MessageBoxColorScheme colorScheme = { | |
{ /* .colors (.r, .g, .b) */ | |
/* [SDL_MESSAGEBOX_COLOR_BACKGROUND] */ | |
{ 255, 0, 0 }, | |
/* [SDL_MESSAGEBOX_COLOR_TEXT] */ | |
{ 0, 255, 0 }, |
// [dependencies] | |
// bincode = "1.3.3" | |
// serde = { version = "1.0.197", features = ["derive"] } | |
// snap = "1.1.1" | |
use bincode::{deserialize, serialize}; | |
use serde::{de::DeserializeOwned, Serialize}; | |
use snap::{read::FrameDecoder, write::FrameEncoder}; | |
use std::{ | |
fs::{File, OpenOptions}, |
[package] | |
name = "snapper" | |
version = "0.1.0" | |
edition = "2021" | |
[dependencies] | |
fake = "2.5" | |
snap = "1.0" |
From: http://redteams.net/bookshelf/ | |
Techie | |
Unauthorised Access: Physical Penetration Testing For IT Security Teams by Wil Allsopp. | |
Social Engineering: The Art of Human Hacking by Christopher Hadnagy | |
Practical Lock Picking: A Physical Penetration Tester's Training Guide by Deviant Ollam | |
The Art of Deception: Controlling the Human Element of Security by Kevin Mitnick | |
Hacking: The Art of Exploitation by Jon Erickson and Hacking Exposed by Stuart McClure and others. | |
Nmap Network Scanning: The Official Nmap Project Guide to Network Discovery and Security Scanning by Fyodor | |
The Shellcoder's Handbook: Discovering and Exploiting Security Holes by several authors |
Create the app and download the necessary dependencies.