Add virus total lookup script
This commit is contained in:
		
							parent
							
								
									b6c688292a
								
							
						
					
					
						commit
						33048592a6
					
				
							
								
								
									
										13
									
								
								Win/Scripts/virustotal_lookup.bat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								Win/Scripts/virustotal_lookup.bat
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					@echo off
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:: Check if an argument is provided
 | 
				
			||||||
 | 
					if "%~1"=="" (
 | 
				
			||||||
 | 
					    echo Usage: %0 FILE_PATH
 | 
				
			||||||
 | 
					    exit /b
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:: Calculate SHA256 hash using PowerShell and store it in a variable
 | 
				
			||||||
 | 
					for /f "delims=" %%a in ('powershell -Command "(Get-FileHash \"%~1\" -Algorithm SHA256).Hash"') do set HASH=%%a
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:: Open browser with VirusTotal URL
 | 
				
			||||||
 | 
					start https://www.virustotal.com/gui/file/%HASH%
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user