added PKGBuild

This commit is contained in:
Brandon committed 2020-07-12 13:13:03 +01:00
1 parent d4d8c77906
commit 8cfa985bc8
3 files changed
+39 -10

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
[package]
name = "Rust_Scan"
version = "0.1.0"
authors = ["Brandon <brandonskerritt[email protected]>"]
authors = ["Bee <brandon@skerritt.blog>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+24
View File
@@ -0,0 +1,24 @@
# Maintainer: Ciphey <[email protected]>
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
}
+14 -9
View File
@@ -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());
}