Posts: 1
	Threads: 1
	Joined: Jun 2017
	
	
 
	
	
		hi! 
I have an truecrypt container with unknown hash algorithm and unknown encryption algorithm. is there a command line parameter to start truecrypt so it will try all combinations automatically? e.g. -m 62XY?
plz help, thx
	
 
	
	
	
	
 
 
	
	
	
		
	Posts: 929
	Threads: 4
	Joined: Jan 2015
	
	
 
	
		
		
		06-06-2017, 02:43 PM 
(This post was last modified: 06-06-2017, 02:49 PM by royce.)
		
	 
	
		There isn't an option to try all methods, because -- by design -- it is difficult to confirm which algorithms were used (other than by successfully mounting it or cracking it).
The best you'll be able to do is to try a given attack (a given wordlist, etc.) for each combination:
Code:
#!/bin/bash
for tens in 1 2 3 4; do
   for ones in 1 2 3; do
       MYMODE="62${tens}${ones}"
       echo "Trying ${MYMODE}"
       hashcat -m ${MYMODE} [... options ...]
    done
done
 
	 
	
	
~
	
	
 
 
	
	
	
		
	Posts: 5,232
	Threads: 233
	Joined: Apr 2010
	
	
 
	
	
		Wait, that's not useful. If you do for example 6213, there's no need to do 6211, otherwise the entire system would make no sense.