This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.
JavaScript algorithmsartificial-intelligencebugbountycryptographycyber-threat-intelligencecybersecurity-projectsethical-hackinghacking-toolsmalwarenessusnetwork-monitoringnetwork-securitynmapportscannerpythonpythonprojectsthreat-intelligencevirus-scanning
use thiserror::Error;
#[derive(Error, Debug, Clone)]
pub enum Error {
#[error("Usage: tricoder <kerkour.com>")]
CliUsage,
#[error("Reqwest: {0}")]
Reqwest(String),
#[error("tokio join error: {0}")]
TokioJoinError(String),
#[error("{0}: Invalid HTTP response")]
InvalidHttpResponse(String),
}
impl std::convert::From<reqwest::Error> for Error {
fn from(err: reqwest::Error) -> Self {
Error::Reqwest(err.to_string())
}
}
impl std::convert::From<tokio::task::JoinError> for Error {
fn from(err: tokio::task::JoinError) -> Self {
Error::TokioJoinError(err.to_string())
}
}