__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
use clap::Parser;
use prompting_client::{cli_actions::run_echo_loop, snapd_client::SnapdSocketClient, Result};
/// A simple echo prompting client for apparmor prompting that echos all prompts seen on the system
/// for the user running it.
#[derive(Debug, Parser)]
#[clap(about, long_about = None)]
struct Args {
/// Optionally record events to a specified file on Ctrl-C
#[clap(short, long, value_name = "FILE")]
record: Option<String>,
}
#[tokio::main]
async fn main() -> Result<()> {
let Args { record } = Args::parse();
let mut c = SnapdSocketClient::new().await;
c.exit_if_prompting_not_enabled().await?;
run_echo_loop(&mut c, record).await
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| daemon.rs | File | 1.37 KB | 0644 |
|
| echo.rs | File | 679 B | 0644 |
|
| scripted.rs | File | 2.93 KB | 0644 |
|
| set_log_level.rs | File | 1.62 KB | 0644 |
|