mirror of
				https://github.com/Djeeberjr/fw-anwesenheit.git
				synced 2025-11-03 23:24:10 +00:00 
			
		
		
		
	pm3_mock.sh output special ID on SIGUSR1
for testing the hotspot
This commit is contained in:
		
							parent
							
								
									9ca3d8384f
								
							
						
					
					
						commit
						31f65261df
					
				@ -4,6 +4,12 @@ generate_random_hex() {
 | 
			
		||||
  openssl rand -hex 4 | tr '[:lower:]' '[:upper:]'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
output_hotspot_id() {
 | 
			
		||||
  echo "[+] UID.... C1532B57"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
trap 'output_hotspot_id' SIGUSR1
 | 
			
		||||
 | 
			
		||||
echo "Proxmark 3 mock script"
 | 
			
		||||
echo "Outputs a random ID every 1 to 5 seconds"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user