This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use anyhow::Result; | |
| use clap::Parser; | |
| use std::{ | |
| io::Write, | |
| path::{Path, PathBuf}, | |
| }; | |
| #[derive(Parser)] | |
| #[command(version, about, long_about = None)] | |
| struct Cli { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ColorEffects:Disabled] | |
| Color=56,56,56 | |
| ColorAmount=0 | |
| ColorEffect=0 | |
| ContrastAmount=0.65 | |
| ContrastEffect=1 | |
| IntensityAmount=0.1 | |
| IntensityEffect=2 | |
| [ColorEffects:Inactive] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import sys | |
| import os | |
| import platform | |
| import subprocess | |
| from progress.bar import IncrementalBar | |
| def is_tool(name): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $Mac = $null | |
| if ($args.count -eq 1 ) { | |
| $Mac = $args[0] | |
| $Mac | out-file -filepath .\mac.txt -width 200 | |
| Write-Output "The next time you won't have to re-enter the MAC address because it has been saved on a file in this directory." | |
| } | |
| else{ | |
| $file_data = Get-Content .\mac.txt | |
| if ( $file_data -eq $null ) { |