Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac037a15a9 | ||
|
|
345124baf1 | ||
|
|
a9a451a8cf | ||
|
|
7081280247 | ||
|
|
2d97e81920 |
@@ -75,7 +75,8 @@ Once the project is done and I'm ready to clean up the distrobox I use option 7
|
|||||||
1. clone this repository `git clone https://github.com/Pyro57000/pentest_tool.git`
|
1. clone this repository `git clone https://github.com/Pyro57000/pentest_tool.git`
|
||||||
2. cd into the nested "pentest_tool" folder `cd pentest_tool/pentest_tool`
|
2. cd into the nested "pentest_tool" folder `cd pentest_tool/pentest_tool`
|
||||||
3. use cargo to build the release binary `cargo build --release`
|
3. use cargo to build the release binary `cargo build --release`
|
||||||
4. follow the same installation instructions, skipping the step where you download the release binary.
|
4. copy the compiled binary to a folder on your path `sudo cp ./target/release/pentest_tool /usr/bin/`
|
||||||
|
5. follow the same installation instructions, skipping the step where you download the release binary.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
25
ToDo.md
Normal file
25
ToDo.md
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# planned features
|
||||||
|
1.) finish hash cracking with a dedictated cracking rig code.
|
||||||
|
|
||||||
|
2.) cracte hash cracking with current computer code.
|
||||||
|
|
||||||
|
3.) adapt new project code to searh the upcomming folder before prompting for a path.
|
||||||
|
|
||||||
|
4.) create code that moves projects to a "writing" state and folder.
|
||||||
|
|
||||||
|
5.) create code that tracks "current, upcomming, and writing" states, maybe automatic zipping of folders after writing is done?
|
||||||
|
|
||||||
|
# Unplanned, but would be cool
|
||||||
|
1.) create a "server" and "Client" infrastructure that can help manage the distrobox clients and the main server
|
||||||
|
|
||||||
|
2.) maybe expand this server client model to interact with cracking rigs and what not.
|
||||||
|
|
||||||
|
3.) implment a function to searchsploit and copy wanted exploits to the project folder.
|
||||||
|
|
||||||
|
4.) implement a function to execute those copied exploits.
|
||||||
|
|
||||||
|
|
||||||
|
# NOTE
|
||||||
|
if you wish to contribute, please do! just fix a bug or implement any of the above features and make a pull request!!
|
||||||
|
|
||||||
|
I'll keep plugging away as I have time throughout my days as well.
|
||||||
@@ -1,14 +1,10 @@
|
|||||||
use core::hash;
|
|
||||||
use std::fs;
|
use std::fs;
|
||||||
use std::fs::read_to_string;
|
use std::fs::read_to_string;
|
||||||
use std::io::BufReader;
|
use std::io::BufReader;
|
||||||
use std::io::Read;
|
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
use std::process;
|
use std::process;
|
||||||
use std::result;
|
|
||||||
use std::thread;
|
use std::thread;
|
||||||
use std::thread::spawn;
|
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
use std::io::stdin;
|
use std::io::stdin;
|
||||||
use walkdir::WalkDir;
|
use walkdir::WalkDir;
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ fn main() {
|
|||||||
"box_template" => box_template = setting_vec[1].trim_end().to_owned(),
|
"box_template" => box_template = setting_vec[1].trim_end().to_owned(),
|
||||||
"terminal" => terminal_command = setting_vec[1].trim_end().to_owned(),
|
"terminal" => terminal_command = setting_vec[1].trim_end().to_owned(),
|
||||||
"cracking_rig" => cracking_rig = setting_vec[1].trim_end().to_owned(),
|
"cracking_rig" => cracking_rig = setting_vec[1].trim_end().to_owned(),
|
||||||
"rockyou_location" => rockyou = setting_vec[1].trim_ascii_end().to_owned(),
|
"rockyou_location" => rockyou = setting_vec[1].trim_end().to_owned(),
|
||||||
"rule_location" => rule = setting_vec[1].trim_end().to_owned(),
|
"rule_location" => rule = setting_vec[1].trim_end().to_owned(),
|
||||||
_ => println!("error unknown setting: {}", setting_vec[0])
|
_ => println!("error unknown setting: {}", setting_vec[0])
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -247,6 +247,7 @@ pub fn start_pentest(config_path: &PathBuf) {
|
|||||||
let mut company_name = String::new();
|
let mut company_name = String::new();
|
||||||
let mut project_name = String::new();
|
let mut project_name = String::new();
|
||||||
let mut config_file_path_buf = config_path.clone();
|
let mut config_file_path_buf = config_path.clone();
|
||||||
|
config_file_path_buf.pop();
|
||||||
let mut passpray_path = config_file_path_buf.clone();
|
let mut passpray_path = config_file_path_buf.clone();
|
||||||
passpray_path.push("passwordspray.md");
|
passpray_path.push("passwordspray.md");
|
||||||
config_file_path_buf.push("new_projects.conf");
|
config_file_path_buf.push("new_projects.conf");
|
||||||
|
|||||||
Reference in New Issue
Block a user