diff --git a/Cargo.toml b/Cargo.toml index 946f101..dcf6bb4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "Rust_Scan" version = "0.1.0" -authors = ["Brandon "] +authors = ["Bee "] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..f30e62c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Ciphey +pkgname=Ciphey +pkgver='5.0.0rc2' +pkgrel=1 +pkgdesc="Automated Description Tool" +arch=('any') +url="https://github.com/ciphey/ciphey" +license=('MIT') +depends=('python>=3.7') +makedepends=('python>=3.7') +install= +changelog= +#source=("$pkgname-$pkgver.tar.gz" + #"$pkgname-$pkgver.patch") +noextract=() +md5sums=() +validpgpkeys=() + +prepare() { + python3 -m pip install --upgrade pip +} +package() { + python3 -m pip install ciphey +} diff --git a/src/main.rs b/src/main.rs index 25e4224..a63ce98 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,23 +1,28 @@ use colored::*; -use clap::{App, crate_authors}; +use clap::{App, crate_authors, Arg}; fn main() { let _matches = App::new("RustScan") .author(crate_authors!()) .about("Fast Port Scanner built in Rust") .version("0.01") - + .arg(Arg::with_name("i") + .help("The IP address to scan")) + .arg(Arg::with_name("p") + .help("The port range you want to scan")) .get_matches(); print_opening() - } + + // let _nmap: &str = "nmap -A -sV -vvv -p $ports $ipaddr" +} fn print_opening(){ let s = " - _____ _ _____ - | __ \\ | | / ____| - | |__) _ _ ___| |_| (___ ___ __ _ _ __ _ __ ___ _ __ - | _ | | | / __| __|\\___ \\ / __/ _` | '_ \\| '_ \\ / _ | '__| - | | \\ | |_| \\__ | |_ ____) | (_| (_| | | | | | | | __| | - |_| \\_\\__,_|___/\\__|_____/ \\___\\__,_|_| |_|_| |_|\\___|_| "; + _____ _ _____ + | __ \\ | | / ____| + | |__) | _ ___| |_| (___ ___ __ _ _ __ + | _ / | | / __| __|\\___ \\ / __/ _` | '_ \\ + | | \\ \\ |_| \\__ \\ |_ ____) | (_| (_| | | | | + |_| \\_\\__,_|___/\\__|_____/ \\___\\__,_|_| |_|"; println!("{} \n {} \n {}", s.green(), "Automated Decryption Tool - https://github.com/ciphey/ciphey".red(),"Creator https://github.com/brandonskerritt".green()); }