Fixed a couple of typos and added cyberchef shortcut
This commit is contained in:
		
							parent
							
								
									8ce217fe1b
								
							
						
					
					
						commit
						475313b949
					
				| @ -68,9 +68,9 @@ function httpdump() { | ||||
| function mfsconsole-start(){ | ||||
| if [ -d "/opt/sophos-av" ];then | ||||
|     	    sudo service sav-protect stop >> /dev/null | ||||
|     	    sudo msfconsole | ||||
|     	    msfconsole | ||||
|     	else  | ||||
|     	   sudo msfconsole | ||||
|     	   msfconsole | ||||
|    fi | ||||
| } | ||||
| 
 | ||||
| @ -198,10 +198,12 @@ else | ||||
|     echo "No apt or pacman found. I guess you're out of luck" | ||||
|   fi | ||||
| } | ||||
| 
 | ||||
| # Decrypt pfSence backup configs # pfdecrypt 'File-in'  'File-out'  'Password' | ||||
| pfdecrypt() { | ||||
| cat "$1" | sed -e '1d' -e '$d' | base64 -d | openssl enc -d -aes-256-cbc -md md5 -out "$2" -k "$3" | ||||
| } | ||||
| 
 | ||||
| # Extract Function | ||||
| extract() { | ||||
|   if [ ! -f "$1" ]; | ||||
| @ -228,4 +230,5 @@ extract() { | ||||
|    esac | ||||
|  } | ||||
| 
 | ||||
| 
 | ||||
| # Start CyberChef | ||||
| alias cyberchef="open /opt/cyberchef/cyberchef" | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user